-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add integration tests for JSON type support #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ner-json # Conflicts: # google-cloud-spanner/src/test/java/com/google/cloud/spanner/AbstractStructReaderTypesTest.java # google-cloud-spanner/src/test/java/com/google/cloud/spanner/ResultSetsTest.java
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks generally good to me, with a couple of nits for adding some additional values to the test cases.
google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITQueryTest.java
Show resolved
Hide resolved
google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITQueryTest.java
Outdated
Show resolved
Hide resolved
google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITWriteTest.java
Show resolved
Hide resolved
google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITWriteTest.java
Show resolved
Hide resolved
} | ||
|
||
@Test | ||
public void bindJsonNull() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: per convention we usually name the tests as testBindJsonNull
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this would make the JSON test names different from the other test names in this test class, is that okay?
google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITQueryTest.java
Outdated
Show resolved
Hide resolved
…ner-json # Conflicts: # google-cloud-spanner/src/test/java/com/google/cloud/spanner/ValueTest.java
…panner-json-test # Conflicts: # google-cloud-spanner/src/main/java/com/google/cloud/spanner/StructReader.java # google-cloud-spanner/src/test/java/com/google/cloud/spanner/GrpcResultSetTest.java # google-cloud-spanner/src/test/java/com/google/cloud/spanner/ResultSetsTest.java # google-cloud-spanner/src/test/java/com/google/cloud/spanner/ValueTest.java # google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITQueryTest.java # google-cloud-spanner/src/test/java/com/google/cloud/spanner/it/ITWriteTest.java # proto-google-cloud-spanner-v1/src/main/java/com/google/spanner/v1/TypeCode.java # proto-google-cloud-spanner-v1/src/main/proto/google/spanner/v1/type.proto
…nto spanner-json-test
Closing as I've added the tests into the implementation PR |
Allow users to read and write to Cloud Spanner databases using the JSON type through the client libraries. Integration tests here: zoercai#1
Integration Tests for the new JSON type, which allows users to read and write to Cloud Spanner databases using the JSON type through the client libraries.