Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/
DBinderTestSuite.java79 .expectedValues(new PlainA(1), new PlainA(1), new PlainA(1)) in suite()
95 .expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)) in suite()
200 .expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)) in suite()
254 builder.expectedValues(new PlainA(101), new PlainA(101), new PlainA(101)); in apply()
264 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(201)); in apply()
273 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(201)); in apply()
282 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)); in apply()
291 builder.expectedValues(new PlainA(201), new PlainA(201), new PlainA(202), new PlainA(202)); in apply()
313 private List<Object> expectedValues = Lists.<Object>newArrayList( field in BinderTestSuite.Builder
356 private <T> Builder expectedValues(T... values) { in expectedValues() method in BinderTestSuite.Builder
[all …]
/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/google-benchmark/test/
Dmultiple_ranges_test.cc9 : expectedValues({{1, 3, 5}, in MultipleRangesFixture()
32 assert(expectedValues.find(ranges) != expectedValues.end()); in SetUp()
38 assert(actualValues.size() == expectedValues.size()); in ~MultipleRangesFixture()
41 std::set<std::vector<int>> expectedValues; member in MultipleRangesFixture
/external/libcxx/utils/google-benchmark/test/
Dmultiple_ranges_test.cc9 : expectedValues({{1, 3, 5}, in MultipleRangesFixture()
32 assert(expectedValues.find(ranges) != expectedValues.end()); in SetUp()
38 assert(actualValues.size() == expectedValues.size()); in ~MultipleRangesFixture()
41 std::set<std::vector<int>> expectedValues; member in MultipleRangesFixture
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp151 …erifyValues (tcu::TestLog& log, const void* memory, const std::vector<OffsetValue>& expectedValues) in verifyValues() argument
156 …for (std::vector<OffsetValue>::const_iterator it = expectedValues.begin(); it < expectedValues.end… in verifyValues()
182 std::vector<OffsetValue> expectedValues; //!< list of values to check inside the ssbo buffer member
443 const std::vector<OffsetValue>& expectedValues);
456 const std::vector<OffsetValue>& expectedValues) in ComputeTestInstance() argument
460 , m_expectedValues (expectedValues) in ComputeTestInstance()
539 const std::vector<OffsetValue>& expectedValues,
554 const std::vector<OffsetValue>& expectedValues, in GraphicsTestInstance() argument
559 , 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/extensions/multibindings/test/com/google/inject/multibindings/
DMultibinderTest.java1149 Collection<String> expectedValues = ImmutableList.of("A", "B", "C"); in testMultibinderCanInjectCollectionOfProviders() local
1155 assertEquals(expectedValues, collectValues(providers)); in testMultibinderCanInjectCollectionOfProviders()
1159 assertEquals(expectedValues, collectValues(javaxProviders)); in testMultibinderCanInjectCollectionOfProviders()
1173 Collection<String> expectedValues = ImmutableList.of("A", "B", "C"); in testMultibinderCanInjectCollectionOfProvidersWithAnnotation() local
1180 assertEquals(expectedValues, values); in testMultibinderCanInjectCollectionOfProvidersWithAnnotation()
1184 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()