| Index: components/policy/android/junit/src/org/chromium/policy/test/annotations/PoliciesTest.java
|
| diff --git a/components/policy/android/junit/src/org/chromium/policy/test/annotations/PoliciesTest.java b/components/policy/android/junit/src/org/chromium/policy/test/annotations/PoliciesTest.java
|
| index 7bc08e44940a52287409e074914c7a8d7b0c5082..9cc56febf2c387adb84ea43237667240d33978ef 100644
|
| --- a/components/policy/android/junit/src/org/chromium/policy/test/annotations/PoliciesTest.java
|
| +++ b/components/policy/android/junit/src/org/chromium/policy/test/annotations/PoliciesTest.java
|
| @@ -4,6 +4,7 @@
|
|
|
| package org.chromium.policy.test.annotations;
|
|
|
| +import static org.hamcrest.CoreMatchers.instanceOf;
|
| import static org.hamcrest.CoreMatchers.is;
|
| import static org.junit.Assert.assertThat;
|
|
|
| @@ -52,7 +53,7 @@ public class PoliciesTest {
|
| method = SomeClass.class.getDeclaredMethod("someMethodThatDuplicates");
|
| Map<String, PolicyData> policies = Policies.getPolicies(method);
|
| assertThat(policies.size(), is(1));
|
| - assertThat(policies.get("Ni"), is(PolicyData.Str.class));
|
| + assertThat(policies.get("Ni"), is(instanceOf(PolicyData.Str.class)));
|
|
|
| // Annotations can be removed
|
| method = SomeClass.class.getDeclaredMethod("someMethodThatTilRecentlyHadNi");
|
|
|