/external/google-benchmark/test/ |
multiple_ranges_test.cc | 9 : expectedValues({{1, 3, 5}, 32 assert(expectedValues.find(ranges) != expectedValues.end()); 38 assert(actualValues.size() == expectedValues.size()); 41 std::set<std::vector<int>> expectedValues;
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/ |
ListMultimapPutAllTester.java | 45 List<V> expectedValues = copyToList(multimap().get(k)); 48 expectedValues.addAll(values); 50 assertGet(k, expectedValues);
|
SetMultimapPutAllTester.java | 47 Set<V> expectedValues = copyToSet(multimap().get(k)); 50 expectedValues.addAll(valuesToPut); 52 assertGet(k, expectedValues);
|
ListMultimapPutTester.java | 46 List<V> expectedValues = Helpers.copyToList(values); 49 expectedValues.add(value); 51 assertGet(key, expectedValues); 69 List<V> expectedValues = copyToList(values); 72 expectedValues.add(v); 73 assertGet(k, expectedValues);
|
ListMultimapRemoveTester.java | 65 List<V> expectedValues = copyToList(values); 68 expectedValues.remove(i); 70 assertGet(k, expectedValues); 85 List<V> expectedValues = copyToList(values); 89 expectedValues.remove(i); 91 assertGet(k, expectedValues); 106 List<V> expectedValues = copyToList(values); 111 expectedValues.remove(i); 113 assertGet(k, expectedValues);
|
SetMultimapPutTester.java | 59 Set<V> expectedValues = copyToSet(values); 62 assertEquals(expectedValues, values); 63 assertGet(k, expectedValues);
|
MultimapAsMapTester.java | 50 List<V> expectedValues = new ArrayList<V>(); 53 expectedValues.add(entry.getValue()); 58 if (expectedValues.isEmpty()) { 61 assertThat(collection).has().exactlyAs(expectedValues);
|
/external/libcxx/utils/google-benchmark/test/ |
multiple_ranges_test.cc | 9 : expectedValues({{1, 3, 5}, 32 assert(expectedValues.find(ranges) != expectedValues.end()); 38 assert(actualValues.size() == expectedValues.size()); 41 std::set<std::vector<int>> expectedValues;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
NetworkManagementInternalTest.java | 133 final ArrayMap<Integer, Boolean> expectedValues = expected.get(chain); 138 expectedValues.get(state), mNmi.isNetworkRestrictedForUid(TEST_UID));
|
/frameworks/minikin/tests/unittest/ |
LayoutTest.cpp | 71 std::vector<float> expectedValues; 90 expectedValues.resize(text.size()); 91 for (size_t i = 0; i < expectedValues.size(); ++i) { 92 expectedValues[i] = 10.0f; 94 expectAdvances(expectedValues, advances, kMaxAdvanceLength); 109 expectedValues.resize(text.size()); 110 for (size_t i = 0; i < expectedValues.size(); ++i) { 111 expectedValues[i] = 10.0f; 113 expectAdvances(expectedValues, advances, kMaxAdvanceLength); 128 expectedValues.resize(text.size()) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
MapsTransformValuesTest.java | 87 // Assert that expectedValues > mapValues and that 88 // mapValues > expectedValues; i.e. that expectedValues == mapValues. 89 Collection<?> expectedValues = expected.values(); 91 assertEquals(expectedValues.size(), mapValues.size()); 92 assertTrue(expectedValues.containsAll(mapValues)); 93 assertTrue(mapValues.containsAll(expectedValues));
|
/external/guice/core/test/com/google/inject/ |
BinderTestSuite.java | 79 .expectedValues(new PlainA(1), new PlainA(1), new PlainA(1)) 95 .expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)) 200 .expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)) 254 builder.expectedValues(new PlainA(101), new PlainA(101), new PlainA(101)); 264 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(201)); 273 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(201)); 282 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)); 291 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)); 313 private List<Object> expectedValues = Lists.<Object>newArrayList( 356 private <T> Builder expectedValues(T... values) [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
TrustAgentInfoTest.java | 158 Set<String> expectedValues = new HashSet<>(); 161 expectedValues.add(BUNDLE_CHILD_VALUE); 164 expectedValues.add(BUNDLE_PARENT_VALUE); 167 expectedValues.add(BUNDLE_PARENT_VALUE); 168 expectedValues.add(BUNDLE_CHILD_VALUE); 176 MoreAsserts.assertEquals(expectedValues, actualValues);
|
/frameworks/support/transition/tests/src/android/support/transition/ |
ChangeImageTransformTest.java | 206 float[] expectedValues = new float[9]; 207 expected.getValues(expectedValues); 213 final float expectedValue = expectedValues[i];
|
/cts/tests/tests/transition/src/android/transition/cts/ |
ChangeImageTransformTest.java | 218 float[] expectedValues = new float[9]; 219 expected.getValues(expectedValues); 225 final float expectedValue = expectedValues[i];
|
/external/guava/guava-tests/test/com/google/common/cache/ |
LocalLoadingCacheTest.java | 283 Set<Object> expectedValues = ImmutableSet.of(one); 285 assertEquals(expectedValues, actualValues);
|
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
JsonFormatTest.java | 280 int[] expectedValues = new int[]{1, 100000, 1, 100000}; 286 assertEquals(expectedValues[i], builder.getRepeatedInt32(i)); 287 assertEquals(expectedValues[i], builder.getRepeatedUint32(i)); 288 assertEquals(expectedValues[i], builder.getRepeatedInt64(i)); 289 assertEquals(expectedValues[i], builder.getRepeatedUint64(i)); [all...] |
/frameworks/base/core/tests/coretests/src/android/content/ |
ContentProviderOperationTest.java | 242 ContentValues expectedValues = new ContentValues(values); 243 expectedValues.put("a1", (long) 103); 244 expectedValues.put("a2", (long) 101); 245 expectedValues.put("a3", (long) 102); 254 assertEquals(expectedValues, v2);
|
/libcore/luni/src/test/java/libcore/java/util/ |
HashMapTest.java | 120 ArrayList<Integer> expectedValues = new ArrayList<>( 124 SpliteratorTester.runBasicIterationTests(values.spliterator(), expectedValues); 125 SpliteratorTester.runBasicSplitTests(values, expectedValues);
|
LinkedHashMapTest.java | 395 ArrayList<Integer> expectedValues = new ArrayList<>( 400 values.spliterator(), expectedValues); 401 SpliteratorTester.runBasicSplitTests(values, expectedValues);
|
SpliteratorsTest.java | 102 ArrayList<String> expectedValues = new ArrayList<>(Arrays.asList(array)); 109 SpliteratorTester.runBasicIterationTests(sp, expectedValues); 115 SpliteratorTester.runBasicSplitTests(sp, expectedValues, String::compareTo); 130 ArrayList<String> expectedValues = new ArrayList<>( 138 SpliteratorTester.runBasicIterationTests(sp, expectedValues); 144 SpliteratorTester.runBasicSplitTests(sp, expectedValues, String::compareTo); 443 ArrayList<String> expectedValues = new ArrayList<>(Arrays.asList(array)); 452 SpliteratorTester.runBasicIterationTests(sp, expectedValues); 458 SpliteratorTester.runBasicSplitTests(sp, expectedValues, String::compareTo); 474 ArrayList<String> expectedValues = new ArrayList<>(asList) [all...] |
/cts/tests/tests/view/src/android/view/animation/cts/ |
AnimationSetTest.java | 346 final float[] expectedValues = new float[9]; 348 expected.getMatrix().getValues(expectedValues); 350 for (int i = 0; i < expectedValues.length; i++) { 351 assertEquals(expectedValues[i], actualValues[i], DELTA);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
WeakHashMapTest.java | 571 ArrayList<String> expectedValues = new ArrayList<>(values); 574 values.spliterator(), expectedValues, String::compareTo); 575 SpliteratorTester.runBasicSplitTests(values, expectedValues); 599 ArrayList<Map.Entry<String, String>> expectedValues = new ArrayList<>(values); 604 SpliteratorTester.runBasicIterationTests_unordered(values.spliterator(), expectedValues, 606 SpliteratorTester.runBasicSplitTests(values, expectedValues, comparator);
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactMetadataProviderTest.java | 135 ContentValues expectedValues = defaultValues; 136 expectedValues.remove(MetadataSyncColumns.ACCOUNT_ID); 138 assertCursorValues(c, expectedValues);
|
/cts/tests/camera/src/android/hardware/camera2/cts/testcases/ |
Camera2SurfaceViewTestCase.java | 328 List<T> expectedValues = new ArrayList<T>(); 329 expectedValues.add(expectedValue); 330 waitForAnyResultValue(listener, resultKey, expectedValues, numResultsWait); 342 * @param expectedValues The list of result value need to be waited for, 351 List<T> expectedValues, int numResultsWait) { 352 if (numResultsWait < 0 || listener == null || expectedValues == null) { 354 "Input must be non-negative number and listener/expectedValues " 363 for ( T expectedValue : expectedValues) { 375 "Unable to get the expected result value " + expectedValues + " for key " + [all...] |