aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/com/google/devtools/build/lib/rules/android/AndroidBinaryTest.java2
-rw-r--r--src/test/java/com/google/devtools/build/lib/rules/android/ResourceFilterTest.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/google/devtools/build/lib/rules/android/AndroidBinaryTest.java b/src/test/java/com/google/devtools/build/lib/rules/android/AndroidBinaryTest.java
index 2c7bb8d8e6..a271b49446 100644
--- a/src/test/java/com/google/devtools/build/lib/rules/android/AndroidBinaryTest.java
+++ b/src/test/java/com/google/devtools/build/lib/rules/android/AndroidBinaryTest.java
@@ -1471,7 +1471,7 @@ public class AndroidBinaryTest extends AndroidBuildViewTestCase {
.containsExactly(matchingResource, unqualifiedResource);
assertThat(resourceInputPaths(dir, directResources))
- .containsAllOf(matchingResource, unqualifiedResource);
+ .containsExactly(matchingResource, unqualifiedResource);
String[] flagValues =
flagValue("--prefilteredResources", resourceArguments(directResources)).split(",");
diff --git a/src/test/java/com/google/devtools/build/lib/rules/android/ResourceFilterTest.java b/src/test/java/com/google/devtools/build/lib/rules/android/ResourceFilterTest.java
index 2fc4e372db..aff6556fae 100644
--- a/src/test/java/com/google/devtools/build/lib/rules/android/ResourceFilterTest.java
+++ b/src/test/java/com/google/devtools/build/lib/rules/android/ResourceFilterTest.java
@@ -54,7 +54,7 @@ public class ResourceFilterTest extends ResourceTestBase {
assertThat(
makeResourceFilter(
"en", "hdpi", FilterBehavior.FILTER_IN_ANALYSIS_WITH_DYNAMIC_CONFIGURATION)
- .filterDependencies(errorConsumer, resourceContainers))
+ .filterDependencyContainers(errorConsumer, resourceContainers))
.isSameAs(resourceContainers);
}