diff options
author | Dave Borowitz <dborowitz@google.com> | 2019-01-15 19:26:31 -0800 |
---|---|---|
committer | David Pursehouse <dpursehouse@collab.net> | 2019-04-17 20:53:50 +0900 |
commit | 6a4105d7f3dc09fe2eb7cb15901178eab7723a44 (patch) | |
tree | 9b43c6eed46c8f07809bbc9fe2f40d60e65e9a21 | |
parent | dc67690a5fed2cc339a2e8b4731e0982d3e2ca81 (diff) |
Remove StorageException from throws clausesv3.0.0-rc2v3.0.0-rc1v3.0.0-rc0
Change-Id: I7b7f14c57788fae3e25ae475e2327094bfa8a716
-rw-r--r-- | src/test/java/com/googlesource/gerrit/plugins/replication/GitUpdateProcessingTest.java | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/test/java/com/googlesource/gerrit/plugins/replication/GitUpdateProcessingTest.java b/src/test/java/com/googlesource/gerrit/plugins/replication/GitUpdateProcessingTest.java index 3ced5cc..0f6d629 100644 --- a/src/test/java/com/googlesource/gerrit/plugins/replication/GitUpdateProcessingTest.java +++ b/src/test/java/com/googlesource/gerrit/plugins/replication/GitUpdateProcessingTest.java @@ -20,7 +20,6 @@ import static org.easymock.EasyMock.replay; import static org.easymock.EasyMock.reset; import static org.easymock.EasyMock.verify; -import com.google.gerrit.exceptions.StorageException; import com.google.gerrit.server.events.EventDispatcher; import com.google.gerrit.server.permissions.PermissionBackendException; import com.googlesource.gerrit.plugins.replication.PushResultProcessing.GitUpdateProcessing; @@ -43,8 +42,7 @@ public class GitUpdateProcessingTest { } @Test - public void headRefReplicated() - throws URISyntaxException, StorageException, PermissionBackendException { + public void headRefReplicated() throws URISyntaxException, PermissionBackendException { reset(dispatcherMock); RefReplicatedEvent expectedEvent = new RefReplicatedEvent( @@ -67,8 +65,7 @@ public class GitUpdateProcessingTest { } @Test - public void changeRefReplicated() - throws URISyntaxException, StorageException, PermissionBackendException { + public void changeRefReplicated() throws URISyntaxException, PermissionBackendException { reset(dispatcherMock); RefReplicatedEvent expectedEvent = new RefReplicatedEvent( @@ -91,7 +88,7 @@ public class GitUpdateProcessingTest { } @Test - public void onAllNodesReplicated() throws StorageException, PermissionBackendException { + public void onAllNodesReplicated() throws PermissionBackendException { reset(dispatcherMock); RefReplicationDoneEvent expectedDoneEvent = new RefReplicationDoneEvent("someProject", "refs/heads/master", 5); |