Home
last modified time | relevance | path

Searched refs:setOf (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/view/src/android/view/inspector/cts/
DIntFlagMappingTest.java49 assertEquals(setOf("ONE"), mapping.get(1)); in testNonExclusiveFlags()
50 assertEquals(setOf("TWO"), mapping.get(2)); in testNonExclusiveFlags()
51 assertEquals(setOf("ONE", "TWO"), mapping.get(3)); in testNonExclusiveFlags()
62 assertEquals(setOf("ONE"), mapping.get(1)); in testMutuallyExclusiveFlags()
63 assertEquals(setOf("TWO"), mapping.get(2)); in testMutuallyExclusiveFlags()
76 assertEquals(setOf("ONE"), mapping.get(1)); in testMixedFlags()
77 assertEquals(setOf("TWO"), mapping.get(2)); in testMixedFlags()
79 assertEquals(setOf("FOUR"), mapping.get(4)); in testMixedFlags()
80 assertEquals(setOf("ONE", "FOUR"), mapping.get(5)); in testMixedFlags()
81 assertEquals(setOf("TWO", "FOUR"), mapping.get(6)); in testMixedFlags()
[all …]
/cts/tests/tests/tools/processors/view_inspector/src/android/processor/view/inspector/cts/
DPlatformInspectableProcessorTest.java491 assertEquals(setOf("ONE"), mPropertyReader.getIntFlag("value")); in testIntFlag()
495 assertEquals(setOf("TWO"), mPropertyReader.getIntFlag("value")); in testIntFlag()
499 assertEquals(setOf("THREE"), mPropertyReader.getIntFlag("value")); in testIntFlag()
503 assertEquals(setOf("FOUR"), mPropertyReader.getIntFlag("value")); in testIntFlag()
507 assertEquals(setOf("FOUR", "ONE"), mPropertyReader.getIntFlag("value")); in testIntFlag()
779 private static <T> Set<T> setOf(T... items) { in setOf() method in PlatformInspectableProcessorTest