Searched refs:expectation (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | ArrayUtilsTest.java | 185 String[] expectation = {"1", "2", "3", "4", "5", "6"}; in testConcatElements_threeWay() local 188 assertArrayEquals(expectation, concatResult); in testConcatElements_threeWay() 196 String[] expectation = {"1", "2", "5", "6"}; in testConcatElements_threeWayWithNull() local 199 assertArrayEquals(expectation, concatResult); in testConcatElements_threeWayWithNull() 203 String[] expectation = new String[0]; in testConcatElements_zeroElements() local 206 assertArrayEquals(expectation, concatResult); in testConcatElements_zeroElements() 210 String[] expectation = new String[0]; in testConcatElements_oneNullElement() local 213 assertArrayEquals(expectation, concatResult); in testConcatElements_oneNullElement()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | UpstreamNetworkMonitorTest.java | 786 static void assertPrefixSet(Set<IpPrefix> prefixes, boolean expectation, String... expected) { in assertPrefixSet() argument 789 assertPrefixSet(prefixes, expectation, expectedSet); in assertPrefixSet() 792 static void assertPrefixSet(Set<IpPrefix> prefixes, boolean expectation, Set<String> expected) { in assertPrefixSet() argument 794 final String errStr = expectation ? "did not find" : "found"; in assertPrefixSet() 797 expectation, prefixes.contains(new IpPrefix(expectedPrefix))); in assertPrefixSet()
|