Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

5 changes: 5 additions & 0 deletions google-cloud-clients/google-cloud-firestore/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@
<classifier>testlib</classifier>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.truth</groupId>
<artifactId>truth</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-conformance-tests</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion google-cloud-clients/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@
<dependency>
<groupId>com.google.cloud</groupId>
<artifactId>google-cloud-conformance-tests</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>0.0.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
53 changes: 2 additions & 51 deletions google-cloud-testing/google-cloud-conformance-tests/README.md
Original file line number Diff line number Diff line change
@@ -1,52 +1,3 @@
# Google cloud conformance tests
This maven module is intended to function as a central location for integration with
[googleapis/conformance-tests](https://github.com/googleapis/conformance-tests).
# Google Cloud Java Client Conformance Tests

In this directory `conformance-tests` which is a git-submodule, containing the reference for which
the various conformance test resources are updated to.

## Updating conformance-tests

#### Prerequisites

Part of the process of updating the conformance tests involves running maven a maven build for
this module. Ensure that all parent modules have been installed locally so the build can run.
```bash
pushd cd ../../
mvn -Dmaven.test.skip.exec=true install
popd
```

#### Performing the update

To update the conformance tests run the following commands from this module directory:
```bash
pushd conformance-tests
git pull
popd
./generate-conformance-tests.sh
git add .
```

If an error is encountered while generating the new resources please check the `generate.log`
written to the working directory.


## Test Suites

### Firestore

The conformance test suites for Firestore are located in the `com.google.cloud.conformance.firestore`
package.

#### Files

There are a number of files that together define the format of the tests as well as the tests
themselves.

* `src/main/java/com/google/cloud/conformance/firestore/v1/TestDefinition.java`
* The generated protobuf objects used to read the tests definitions
* `src/main/proto/google/cloud/conformance/firestore/v1/tests.proto`
* The proto definition for the tests. `TestDefinition.java` is generated from this definition.
* `src/main/resources/com/google/cloud/conformance/firestore/v1/*.json`
* Each files is a json serialized `TestFile` definition (defined in tests.proto).
This client has moved to https://github.com/googleapis/java-conformance-tests
Submodule conformance-tests deleted from 613608

This file was deleted.

This file was deleted.

133 changes: 0 additions & 133 deletions google-cloud-testing/google-cloud-conformance-tests/pom.xml

This file was deleted.

Loading