File tree Expand file tree Collapse file tree
branches/autosynth-spanner
google-cloud-spanner/src/test/java/com/google/cloud/spanner Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ refs/heads/autosynth-language: c3d990dd34d81e7e935041e7147fb9dd27f8a557
138138refs/heads/autosynth-os-login: 092fdbed6d5317948f92b708e9f50dedd89fc666
139139refs/heads/autosynth-redis: 9e1fe503973c7b4a9ba26afb1fcddc2a57ba795a
140140refs/heads/autosynth-scheduler: 93995812e12a2fc009f4fd2e31f169b3d3cbbac8
141- refs/heads/autosynth-spanner: 07e03b54df93dcbf8109cffc9ea179c41ef75560
141+ refs/heads/autosynth-spanner: 80c02ab5b4ecd67096abc6623a93afe19c96780f
142142refs/heads/autosynth-speech: 75d6c62a9d07d3a3642980502a25d07fbde0f232
143143refs/heads/autosynth-tasks: b0cdb991f3f75345151a3f68db1aab273dfc069b
144144refs/heads/autosynth-texttospeech: 2dcc5dc22be0f456caa1b6a8a4bcdace2641239c
Original file line number Diff line number Diff line change 9393 <dependency >
9494 <groupId >javax.annotation</groupId >
9595 <artifactId >javax.annotation-api</artifactId >
96- <version >1.2</version >
96+ <version >1.3. 2</version >
9797 <scope >compile</scope >
9898 </dependency >
9999 </dependencies >
Original file line number Diff line number Diff line change 8181 <artifactId >guava-testlib</artifactId >
8282 <scope >test</scope >
8383 </dependency >
84+ <dependency >
85+ <groupId >org.checkerframework</groupId >
86+ <artifactId >checker-compat-qual</artifactId >
87+ <scope >test</scope >
88+ </dependency >
8489 </dependencies >
8590</project >
Original file line number Diff line number Diff line change @@ -762,7 +762,10 @@ public void getDoubleArray() {
762762 consumer .onCompleted ();
763763
764764 assertThat (resultSet .next ()).isTrue ();
765- assertThat (resultSet .getDoubleArray (0 )).isEqualTo (doubleArray , 0.0 );
765+ assertThat (resultSet .getDoubleArray (0 ))
766+ .usingTolerance (0.0 )
767+ .containsExactly (doubleArray )
768+ .inOrder ();
766769 }
767770
768771 @ Test
Original file line number Diff line number Diff line change @@ -192,8 +192,11 @@ public void resultSetIteration() {
192192 assertThat (rs .getLongArray ("longArray" )).isEqualTo (longArray );
193193 assertThat (rs .getLongList (9 )).isEqualTo (Longs .asList (longArray ));
194194 assertThat (rs .getLongList ("longArray" )).isEqualTo (Longs .asList (longArray ));
195- assertThat (rs .getDoubleArray (10 )).isEqualTo (doubleArray , 0.0 );
196- assertThat (rs .getDoubleArray ("doubleArray" )).isEqualTo (doubleArray , 0.0 );
195+ assertThat (rs .getDoubleArray (10 )).usingTolerance (0.0 ).containsAllOf (doubleArray );
196+ assertThat (rs .getDoubleArray ("doubleArray" ))
197+ .usingTolerance (0.0 )
198+ .containsExactly (doubleArray )
199+ .inOrder ();
197200 assertThat (rs .getDoubleList (10 )).isEqualTo (Doubles .asList (doubleArray ));
198201 assertThat (rs .getDoubleList ("doubleArray" )).isEqualTo (Doubles .asList (doubleArray ));
199202 assertThat (rs .getBytesList (11 )).isEqualTo (Arrays .asList (byteArray ));
Original file line number Diff line number Diff line change 175175 <dependency >
176176 <groupId >javax.annotation</groupId >
177177 <artifactId >javax.annotation-api</artifactId >
178- <version >1.2</version >
178+ <version >1.3. 2</version >
179179 <scope >compile</scope >
180180 </dependency >
181181 </dependencies >
381381 <dependency >
382382 <groupId >com.google.errorprone</groupId >
383383 <artifactId >error_prone_annotations</artifactId >
384- <version >2.2.0 </version >
384+ <version >2.3.2 </version >
385385 </dependency >
386386 <dependency >
387387 <groupId >org.easymock</groupId >
407407 <dependency >
408408 <groupId >com.google.truth</groupId >
409409 <artifactId >truth</artifactId >
410- <version >0.30</version >
410+ <version >0.42</version >
411+ </dependency >
412+ <dependency >
413+ <groupId >org.checkerframework</groupId >
414+ <artifactId >checker-compat-qual</artifactId >
415+ <version >2.5.3</version >
411416 </dependency >
412417 </dependencies >
413418 </dependencyManagement >
You can’t perform that action at this time.
0 commit comments