Home
last modified time | relevance | path

Searched refs:expectedValues (Results 1 – 25 of 31) sorted by relevance

12

/external/google-benchmark/test/
Dmultiple_ranges_test.cc11 : expectedValues({{1, 3, 5}, in MultipleRangesFixture()
35 assert(expectedValues.find(ranges) != expectedValues.end()); in SetUp()
43 assert(actualValues.size() == expectedValues.size()); in ~MultipleRangesFixture()
44 if (actualValues.size() != expectedValues.size()) { in ~MultipleRangesFixture()
46 for (auto v : expectedValues) { in ~MultipleRangesFixture()
64 std::set<std::vector<int64_t>> expectedValues; member in MultipleRangesFixture
/external/libcxx/utils/google-benchmark/test/
Dmultiple_ranges_test.cc11 : expectedValues({{1, 3, 5}, in MultipleRangesFixture()
35 assert(expectedValues.find(ranges) != expectedValues.end()); in SetUp()
43 assert(actualValues.size() == expectedValues.size()); in ~MultipleRangesFixture()
44 if (actualValues.size() != expectedValues.size()) { in ~MultipleRangesFixture()
46 for (auto v : expectedValues) { in ~MultipleRangesFixture()
64 std::set<std::vector<int64_t>> expectedValues; member in MultipleRangesFixture
/external/guava/guava-testlib/src/com/google/common/collect/testing/google/
DListMultimapRemoveTester.java65 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromGetPropagates() local
68 expectedValues.remove(i); in testRemoveAtIndexFromGetPropagates()
70 assertGet(k, expectedValues); in testRemoveAtIndexFromGetPropagates()
85 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapPropagates() local
89 expectedValues.remove(i); in testRemoveAtIndexFromAsMapPropagates()
91 assertGet(k, expectedValues); in testRemoveAtIndexFromAsMapPropagates()
106 List<V> expectedValues = copyToList(values); in testRemoveAtIndexFromAsMapEntrySetPropagates() local
111 expectedValues.remove(i); in testRemoveAtIndexFromAsMapEntrySetPropagates()
113 assertGet(k, expectedValues); in testRemoveAtIndexFromAsMapEntrySetPropagates()
DListMultimapPutTester.java46 List<V> expectedValues = Helpers.copyToList(values); in testPutAddsValueAtEnd() local
49 expectedValues.add(value); in testPutAddsValueAtEnd()
51 assertGet(key, expectedValues); in testPutAddsValueAtEnd()
69 List<V> expectedValues = copyToList(values); in testPutDuplicateValue() local
72 expectedValues.add(v); in testPutDuplicateValue()
73 assertGet(k, expectedValues); in testPutDuplicateValue()
DListMultimapPutAllTester.java45 List<V> expectedValues = copyToList(multimap().get(k)); in testPutAllAddsAtEndInOrder() local
48 expectedValues.addAll(values); in testPutAllAddsAtEndInOrder()
50 assertGet(k, expectedValues); in testPutAllAddsAtEndInOrder()
DSetMultimapPutAllTester.java47 Set<V> expectedValues = copyToSet(multimap().get(k)); in testPutAllHandlesDuplicates() local
50 expectedValues.addAll(valuesToPut); in testPutAllHandlesDuplicates()
52 assertGet(k, expectedValues); in testPutAllHandlesDuplicates()
DSetMultimapPutTester.java59 Set<V> expectedValues = copyToSet(values); in testPutDuplicateValue() local
62 assertEquals(expectedValues, values); in testPutDuplicateValue()
63 assertGet(k, expectedValues); in testPutDuplicateValue()
DMultimapAsMapTester.java50 List<V> expectedValues = new ArrayList<V>(); in testAsMapGet() local
53 expectedValues.add(entry.getValue()); in testAsMapGet()
58 if (expectedValues.isEmpty()) { in testAsMapGet()
61 assertThat(collection).has().exactlyAs(expectedValues); in testAsMapGet()
/external/guice/core/test/com/google/inject/
DBinderTestSuite.java82 .expectedValues(new PlainA(1), new PlainA(1), new PlainA(1)) in suite()
98 .expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)) in suite()
220 .expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)) in suite()
287 builder.expectedValues(new PlainA(101), new PlainA(101), new PlainA(101)); in apply()
300 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(201)); in apply()
312 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(201)); in apply()
324 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)); in apply()
336 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)); in apply()
364 private List<Object> expectedValues = field in BinderTestSuite.Builder
407 private <T> Builder expectedValues(T... values) { in expectedValues() method in BinderTestSuite.Builder
[all …]
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp154 …erifyValues (tcu::TestLog& log, const void* memory, const std::vector<OffsetValue>& expectedValues) in verifyValues() argument
159 …for (std::vector<OffsetValue>::const_iterator it = expectedValues.begin(); it < expectedValues.end… in verifyValues()
185 std::vector<OffsetValue> expectedValues; //!< list of values to check inside the ssbo buffer member
446 const std::vector<OffsetValue>& expectedValues);
459 const std::vector<OffsetValue>& expectedValues) in ComputeTestInstance() argument
463 , m_expectedValues (expectedValues) in ComputeTestInstance()
542 const std::vector<OffsetValue>& expectedValues,
557 const std::vector<OffsetValue>& expectedValues, in GraphicsTestInstance() argument
562 , m_expectedValues (expectedValues) in GraphicsTestInstance()
726 …omputeTestInstance(context, m_caseDef.ssboSize, m_caseDef.specConstants, m_caseDef.expectedValues); in createInstance()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMapsTransformValuesTest.java89 Collection<?> expectedValues = expected.values(); in assertMapsEqual() local
91 assertEquals(expectedValues.size(), mapValues.size()); in assertMapsEqual()
92 assertTrue(expectedValues.containsAll(mapValues)); in assertMapsEqual()
93 assertTrue(mapValues.containsAll(expectedValues)); in assertMapsEqual()
DMapsTransformValuesUnmodifiableIteratorTest.java142 Collection<?> expectedValues = expected.values();
144 assertEquals(expectedValues.size(), mapValues.size());
145 assertTrue(expectedValues.containsAll(mapValues));
146 assertTrue(mapValues.containsAll(expectedValues));
/external/protobuf/java/util/src/test/java/com/google/protobuf/util/
DJsonFormatTest.java280 int[] expectedValues = new int[]{1, 100000, 1, 100000}; in testParserAcceptFloatingPointValueForIntegerField() local
286 assertEquals(expectedValues[i], builder.getRepeatedInt32(i)); in testParserAcceptFloatingPointValueForIntegerField()
287 assertEquals(expectedValues[i], builder.getRepeatedUint32(i)); in testParserAcceptFloatingPointValueForIntegerField()
288 assertEquals(expectedValues[i], builder.getRepeatedInt64(i)); in testParserAcceptFloatingPointValueForIntegerField()
289 assertEquals(expectedValues[i], builder.getRepeatedUint64(i)); in testParserAcceptFloatingPointValueForIntegerField()
/external/guava/guava-testlib/test/com/google/common/testing/
DNullPointerTesterTest.java812 final void assertNonNullValues(Object... expectedValues) { in assertNonNullValues() argument
813 assertEquals(expectedValues.length, arguments.size()); in assertNonNullValues()
814 for (int i = 0; i < expectedValues.length; i++) { in assertNonNullValues()
816 expectedValues[i], arguments.get(i)); in assertNonNullValues()
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
DLinkedHashMultimap.java315 ValueSet(K key, int expectedValues) { in ValueSet() argument
320 int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR); in ValueSet()
/external/guice/core/test/com/google/inject/internal/
DMultibinderTest.java1411 Collection<String> expectedValues = ImmutableList.of("A", "B", "C"); in testMultibinderCanInjectCollectionOfProviders() local
1417 assertEquals(expectedValues, collectValues(providers)); in testMultibinderCanInjectCollectionOfProviders()
1421 assertEquals(expectedValues, collectValues(javaxProviders)); in testMultibinderCanInjectCollectionOfProviders()
1437 Collection<String> expectedValues = ImmutableList.of("A", "B", "C"); in testMultibinderCanInjectCollectionOfProvidersWithAnnotation() local
1444 assertEquals(expectedValues, values); in testMultibinderCanInjectCollectionOfProvidersWithAnnotation()
1448 assertEquals(expectedValues, collectValues(javaxProviders)); in testMultibinderCanInjectCollectionOfProvidersWithAnnotation()
/external/guava/guava-tests/test/com/google/common/cache/
DLocalLoadingCacheTest.java283 Set<Object> expectedValues = ImmutableSet.of(one); in testAsMap() local
285 assertEquals(expectedValues, actualValues); in testAsMap()
/external/guava/guava/src/com/google/common/collect/
DLinkedHashMultimap.java319 ValueSet(K key, int expectedValues) { in ValueSet() argument
324 int tableSize = Hashing.closedTableSize(expectedValues, VALUE_SET_LOAD_FACTOR); in ValueSet()
/external/deqp/external/vulkancts/modules/vulkan/memory/
DvktMemoryMappingTests.cpp491 std::ostringstream expectedValues; in compareAndLogBuffer() local
498 expectedValues << ", "; in compareAndLogBuffer()
502 expectedValues << reference[ndx]; in compareAndLogBuffer()
508 expectedValues << "..."; in compareAndLogBuffer()
512 …log << TestLog::Message << "Expected values at offset: " << firstFailed << ", " << expectedValues.… in compareAndLogBuffer()
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DJavaApiConverterTest.java428 String... expectedValues) { in assertHeadersContainsMapping() argument
430 assertEquals(newSet(expectedValues), newSet(headers.get(expectedKey))); in assertHeadersContainsMapping()
/external/deqp/external/openglcts/modules/gl/
Dgl4cGlSpirvTests.cpp1169 GLint expectedValues[4] = {1, 1, 1, 1}; in iterate() local
1185 if (programState[i] != expectedValues[i]) in iterate()
1188 … << "Expected: " << expectedValues[i] <<", Queried: " in iterate()
/external/guice/lib/build/
Dguava-testlib-19.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/junit-params/lib/
Dassertj-core-1.7.1.jarMETA-INF/MANIFEST.MF META-INF/maven/ META-INF/maven/ ...
/external/dagger2/lib/
Dauto-value-1.4.1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...

12