Skip to content

Commit 6cdfb75

Browse files
Praful Makaniolavloite
andcommitted
chore: remove deprecated method (#38)
Co-authored-by: Knut Olav Løite <[email protected]>
1 parent 5957008 commit 6cdfb75

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+64
-49
lines changed

src/test/java/com/google/cloud/spanner/jdbc/AbortedTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import static org.hamcrest.CoreMatchers.equalTo;
2020
import static org.hamcrest.CoreMatchers.is;
21-
import static org.junit.Assert.assertThat;
21+
import static org.hamcrest.MatcherAssert.assertThat;
2222

2323
import com.google.cloud.spanner.MockSpannerServiceImpl;
2424
import com.google.cloud.spanner.MockSpannerServiceImpl.StatementResult;

src/test/java/com/google/cloud/spanner/jdbc/AbstractConnectionImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
import static org.hamcrest.CoreMatchers.is;
2323
import static org.hamcrest.CoreMatchers.notNullValue;
2424
import static org.hamcrest.CoreMatchers.nullValue;
25-
import static org.junit.Assert.assertThat;
25+
import static org.hamcrest.MatcherAssert.assertThat;
2626

2727
import com.google.cloud.Timestamp;
2828
import com.google.cloud.spanner.ErrorCode;

src/test/java/com/google/cloud/spanner/jdbc/AbstractJdbcResultSetTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import static org.hamcrest.CoreMatchers.equalTo;
2020
import static org.hamcrest.CoreMatchers.is;
21-
import static org.junit.Assert.assertThat;
21+
import static org.hamcrest.MatcherAssert.assertThat;
2222
import static org.junit.Assert.fail;
2323
import static org.mockito.Mockito.mock;
2424

src/test/java/com/google/cloud/spanner/jdbc/AbstractSqlScriptVerifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
import static org.hamcrest.CoreMatchers.not;
2222
import static org.hamcrest.CoreMatchers.notNullValue;
2323
import static org.hamcrest.CoreMatchers.nullValue;
24+
import static org.hamcrest.MatcherAssert.assertThat;
2425
import static org.junit.Assert.assertEquals;
25-
import static org.junit.Assert.assertThat;
2626
import static org.junit.Assert.fail;
2727

2828
import com.google.cloud.Timestamp;

src/test/java/com/google/cloud/spanner/jdbc/AutocommitDmlModeConverterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import static org.hamcrest.CoreMatchers.is;
2121
import static org.hamcrest.CoreMatchers.notNullValue;
2222
import static org.hamcrest.CoreMatchers.nullValue;
23-
import static org.junit.Assert.assertThat;
23+
import static org.hamcrest.MatcherAssert.assertThat;
2424

2525
import com.google.cloud.spanner.jdbc.ClientSideStatementImpl.CompileException;
2626
import com.google.cloud.spanner.jdbc.ClientSideStatementValueConverters.AutocommitDmlModeConverter;

src/test/java/com/google/cloud/spanner/jdbc/AutocommitDmlModeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
package com.google.cloud.spanner.jdbc;
1818

1919
import static org.hamcrest.CoreMatchers.is;
20-
import static org.junit.Assert.assertThat;
20+
import static org.hamcrest.MatcherAssert.assertThat;
2121
import static org.mockito.Matchers.any;
2222
import static org.mockito.Mockito.mock;
2323
import static org.mockito.Mockito.never;

src/test/java/com/google/cloud/spanner/jdbc/BooleanConverterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import static org.hamcrest.CoreMatchers.is;
2121
import static org.hamcrest.CoreMatchers.notNullValue;
2222
import static org.hamcrest.CoreMatchers.nullValue;
23-
import static org.junit.Assert.assertThat;
23+
import static org.hamcrest.MatcherAssert.assertThat;
2424

2525
import com.google.cloud.spanner.jdbc.ClientSideStatementImpl.CompileException;
2626
import com.google.cloud.spanner.jdbc.ClientSideStatementValueConverters.BooleanConverter;

src/test/java/com/google/cloud/spanner/jdbc/ConnectionImplTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
import static org.hamcrest.CoreMatchers.equalTo;
2424
import static org.hamcrest.CoreMatchers.is;
2525
import static org.hamcrest.CoreMatchers.notNullValue;
26-
import static org.junit.Assert.assertThat;
26+
import static org.hamcrest.MatcherAssert.assertThat;
2727
import static org.mockito.Matchers.any;
2828
import static org.mockito.Matchers.anyListOf;
2929
import static org.mockito.Matchers.anyString;

src/test/java/com/google/cloud/spanner/jdbc/ConnectionStatementExecutorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import static org.hamcrest.CoreMatchers.equalTo;
2020
import static org.hamcrest.CoreMatchers.is;
21-
import static org.junit.Assert.assertThat;
21+
import static org.hamcrest.MatcherAssert.assertThat;
2222
import static org.mockito.Matchers.any;
2323
import static org.mockito.Mockito.atLeastOnce;
2424
import static org.mockito.Mockito.mock;

src/test/java/com/google/cloud/spanner/jdbc/CredentialsServiceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import static org.hamcrest.CoreMatchers.equalTo;
2020
import static org.hamcrest.CoreMatchers.is;
21-
import static org.junit.Assert.assertThat;
21+
import static org.hamcrest.MatcherAssert.assertThat;
2222
import static org.junit.Assert.fail;
2323

2424
import com.google.auth.oauth2.GoogleCredentials;

0 commit comments

Comments
 (0)