Commit 758756f
committed
test: cleanup ITBlobDescriptorFakeTest to reduce a lot of the boilerplate
* Create AbstractObserver to reduce the number of methods that have to be defined for every response observer
* Create FakeStorage class to provide a simpler method of bootstrapping a Storage server -- provide an ImmutableMap<BidiReadObjectRequest, BidiReadObjectResponse> instead of manually overriding the method
* Extract object metadata, "open" request and response, 64 bytes to static constants shared by all tests1 parent 065d249 commit 758756f
File tree
1 file changed
+167
-387
lines changed- google-cloud-storage/src/test/java/com/google/cloud/storage
1 file changed
+167
-387
lines changed
0 commit comments