Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
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
Prev Previous commit
Next Next commit
feat: fix formatter and fix method name in unit test
  • Loading branch information
athakor committed May 18, 2020
commit 42c932cb5424685789e69d1f86d450ff4e11f98a
Original file line number Diff line number Diff line change
Expand Up @@ -2010,8 +2010,6 @@ Blob create(
* BlobId blobId = BlobId.of(bucketName, blobName);
* Blob blob = storage.get(blobId, BlobGetOption.decryptionKey(blobEncryptionKey));
* }</pre>
*
* @throws StorageException upon failure
*/
Blob get(BlobId blob, BlobGetOption... options);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -706,10 +706,10 @@ public void testDeleteDefaultAcl() throws Exception {
@Test
public void testDisableLifeCycleRule() {
expect(storage.getOptions()).andReturn(mockOptions).times(1);
expect(storage.disableLifeCycleRule(BUCKET_INFO.getName(), "clientEmail")).andReturn(true);
expect(storage.disableLifeCycleRules(BUCKET_INFO.getName(), "clientEmail")).andReturn(true);
replay(storage);
initializeBucket();
assertTrue(bucket.disableLifeCycleRule(BUCKET_INFO.getName(), "clientEmail"));
assertTrue(bucket.disableLifeCycleRules(BUCKET_INFO.getName(), "clientEmail"));
}

@Test
Expand Down