Skip to content

Commit 9b5ce8c

Browse files
committed
Move ApiPolicyMatcher to the test package
1 parent 8eabb85 commit 9b5ce8c

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

google-cloud-storage/pom.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,11 @@
5252
<version>4.12</version>
5353
<scope>test</scope>
5454
</dependency>
55-
<!--
56-
This dependency is not test-only becase we create an EasyMock argument
57-
matcher in the main testing helper package.
58-
-->
5955
<dependency>
6056
<groupId>org.easymock</groupId>
6157
<artifactId>easymock</artifactId>
6258
<version>3.4</version>
59+
<scope>test</scope>
6360
</dependency>
6461
</dependencies>
6562
</project>

google-cloud-storage/src/main/java/com/google/cloud/storage/testing/ApiPolicyMatcher.java renamed to google-cloud-storage/src/test/java/com/google/cloud/storage/testing/ApiPolicyMatcher.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ public boolean matches(Object object) {
6060
return false;
6161
}
6262
}
63-
64-
63+
6564
if (expectedBindings.size() != actualBindings.size()) {
6665
return false;
6766
}

0 commit comments

Comments
 (0)