HomeSort by relevance Sort by last modified time
    Searched defs:expected (Results 251 - 275 of 1611) sorted by null

<<11121314151617181920>>

  /external/grpc-grpc/test/core/tsi/alts/frame_protector/
alts_counter_test.cc 93 unsigned char* expected = local
96 expected[counter_size - 1] = 0x80;
98 /* Do a single iteration to ensure the counter is initialized as expected. */
101 GPR_ASSERT(memcmp(alts_counter_get_counter(ctr), expected, counter_size) ==
126 gpr_free(expected);
130 /* Set the counter manually and make sure it overflows as expected. */
139 unsigned char* expected = local
141 memset(expected, 0xFF, overflow_size);
142 expected[0] = 0xFE;
145 expected[counter_size - 1] = 0x80
    [all...]
  /external/grpc-grpc-java/core/src/test/java/io/grpc/
ForwardingTestUtil.java 83 String expected = local
85 assertEquals("Method toString() was not forwarded properly", expected, actual);
  /external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/
ListAddTester.java 57 } catch (UnsupportedOperationException expected) {
68 List<E> expected = Helpers.copyToList(array); local
69 expected.add(null);
70 expectContents(expected);
  /external/guava/guava-testlib/src/com/google/common/collect/testing/google/
ListMultimapAsMapTester.java 73 Map<K, Collection<V>> expected = Maps.newHashMap(); local
74 expected.put(sampleKeys().e0, Lists.newArrayList(sampleValues().e0, sampleValues().e3));
75 expected.put(sampleKeys().e1, Lists.newArrayList(sampleValues().e0));
77 .addEqualityGroup(expected, multimap().asMap())
87 Set<Entry<K, Collection<V>>> expected = Sets.newHashSet(); local
88 expected.add(Helpers.mapEntry(
91 expected.add(Helpers.mapEntry(
95 .addEqualityGroup(expected, multimap().asMap().entrySet())
MultisetSerializationTester.java 38 Set<Multiset.Entry<E>> expected = getMultiset().entrySet(); local
39 assertEquals(expected, SerializableTester.reserialize(expected));
44 Set<E> expected = getMultiset().elementSet(); local
45 assertEquals(expected, SerializableTester.reserialize(expected));
SetMultimapAsMapTester.java 73 Map<K, Collection<V>> expected = Maps.newHashMap(); local
74 expected.put(sampleKeys().e0, Sets.newHashSet(sampleValues().e0, sampleValues().e3));
75 expected.put(sampleKeys().e1, Sets.newHashSet(sampleValues().e0));
77 .addEqualityGroup(expected, multimap().asMap())
87 Set<Entry<K, Collection<V>>> expected = Sets.newHashSet(); local
88 expected.add(Helpers.mapEntry(
91 expected.add(Helpers.mapEntry(
95 .addEqualityGroup(expected, multimap().asMap().entrySet())
  /external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
AbstractListTester.java 47 * the order of the elements in the list under test matches what is expected.
56 E expected = expectedList.get(i); local
58 if (expected != actual &&
59 (expected == null || !expected.equals(actual))) {
70 private String reportContext(List<E> expected) {
71 return Platform.format("expected collection %s; actual collection %s",
72 expected, this.collection);
CollectionToStringTester.java 64 String expected = Helpers.copyToList(getOrderedElements()).toString(); local
66 expected, collection.toString());
ListAddTester.java 59 } catch (UnsupportedOperationException expected) {
70 List<E> expected = Helpers.copyToList(array); local
71 expected.add(null);
72 expectContents(expected);
  /external/guava/guava-tests/test/com/google/common/reflect/
TypeParameterTest.java 36 TypeVariable<?> expected = TypeParameterTest.class local
39 assertEquals(expected, variable);
46 } catch (IllegalArgumentException expected) {}
  /external/hamcrest/hamcrest-core/src/test/java/org/hamcrest/
MatcherAssertTest.java 13 String expected = "expected"; local
16 String expectedMessage = "identifier\nExpected: \"expected\"\n but: was \"actual\"";
19 assertThat("identifier", actual, equalTo(expected));
31 String expected = "expected"; local
34 String expectedMessage = "\nExpected: \"expected\"\n but: was \"actual\"";
37 assertThat(actual, equalTo(expected));
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/
TestStringPrepProfiles.java 33 * expected result1
35 * expected result2
39 * *Note: For expected failures add FAIL to beginning of the source string and for expected result use "FAIL".
150 String expected = null; local
160 expected = testCases[i][++j];
164 errln("Failed: Expected error for Test[" + i +"] Profile: " + profileName);
165 } else if (!result.equals(expected)) {
166 errln("Failed: Test[" + i + "] Result string does not match expected string for StringPrep test for profile: " + profileName);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/
RegexUtilitiesTest.java 55 String expected = tests[i].length == 1 ? source : tests[i][1]; local
57 assertEquals(source, expected, actual);
85 final String expected = "[" + s + "]";
86 assertEquals("Doubled character works" + hex.transform(s), expected, pattern);
88 // verify that we can create a regex pattern and use as expected
193 errln("Expected exception for " + test);
239 String expected = tests[i][1];
241 assertEquals(source, expected, actual);
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
LocalePriorityListTest.java 31 final String expected = "af, en, fr"; local
34 assertEquals(expected, list.toString());
39 assertEquals(expected, list2.toString());
47 assertEquals(expected, list3.toString());
52 assertEquals(expected, list4.toString());
59 private void assertEquals(Object expected, Object string) {
60 assertEquals("", expected, string);
  /external/icu/icu4c/source/test/intltest/
numbertest_patternstring.cpp 108 DecimalFormatProperties expected = PatternParser::parseToProperties( local
113 assertTrue("Should not consume negative subpattern", expected == actual);
scientificnumberformattertest.cpp 62 const char *expected = "String: 1.23456\\u00d710<sup>-78</sup>"; local
65 UnicodeString(expected).unescape(),
77 expected = "String: 1.23456\\u00d710\\u207b\\u2077\\u2078";
80 UnicodeString(expected).unescape(),
91 expected = "String: 1.23456\\u00d710\\u207b\\u2077\\u2078";
94 UnicodeString(expected).unescape(),
110 const char *expected = "String: \\u06F1\\u066B\\u06F2\\u06F3\\u06F4\\u06F5\\u06F6\\u00d7\\u06F1\\u06F0<sup>\\u200E\\u2212\\u06F7\\u06F8</sup>"; local
113 UnicodeString(expected).unescape(),
137 const char *expected = "6.02\\u00d710<sup>+23</sup>"; local
140 UnicodeString(expected).unescape()
164 const char *expected = "6.02\\\\u00d710\\\\u207a\\\\u00b2\\\\u00b3"; local
186 const char *expected = "123,456"; local
208 const char *expected = "123,456"; local
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
TestStringPrepProfiles.java 30 * expected result1
32 * expected result2
36 * *Note: For expected failures add FAIL to beginning of the source string and for expected result use "FAIL".
147 String expected = null; local
157 expected = testCases[i][++j];
161 errln("Failed: Expected error for Test[" + i +"] Profile: " + profileName);
162 } else if (!result.equals(expected)) {
163 errln("Failed: Test[" + i + "] Result string does not match expected string for StringPrep test for profile: " + profileName);
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
LocalePriorityListTest.java 28 final String expected = "af, en, fr"; local
31 assertEquals(expected, list.toString());
36 assertEquals(expected, list2.toString());
44 assertEquals(expected, list3.toString());
49 assertEquals(expected, list4.toString());
56 private void assertEquals(Object expected, Object string) {
57 assertEquals("", expected, string);
  /external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
RegexUtilitiesTest.java 52 String expected = tests[i].length == 1 ? source : tests[i][1]; local
54 assertEquals(source, expected, actual);
82 final String expected = "[" + s + "]";
83 assertEquals("Doubled character works" + hex.transform(s), expected, pattern);
85 // verify that we can create a regex pattern and use as expected
190 errln("Expected exception for " + test);
236 String expected = tests[i][1];
238 assertEquals(source, expected, actual);
  /external/jacoco/org.jacoco.core.test/src/org/jacoco/core/data/
IncompatibleExecDataVersionExceptionTest.java 33 String expected = "Cannot read execution data version 0x1234. " local
36 assertEquals(expected, exception.getMessage());
  /external/junit/src/main/java/org/junit/internal/
ComparisonCriteria.java 22 * expected values.
41 Object expected = Array.get(expecteds, i); local
44 if (isArray(expected) && isArray(actual)) {
46 arrayEquals(message, expected, actual);
53 assertElementsEqual(expected, actual);
61 private boolean isArray(Object expected) {
62 return expected != null && expected.getClass().isArray();
68 Assert.fail(header + "expected array was null");
76 Assert.fail(header + "array lengths differed, expected.length=
    [all...]
  /external/junit/src/main/java/org/junit/internal/runners/statements/
ExpectException.java 8 private final Class<? extends Throwable> expected; field in class:ExpectException
10 public ExpectException(Statement next, Class<? extends Throwable> expected) {
12 this.expected = expected;
24 if (!expected.isAssignableFrom(e.getClass())) {
25 String message = "Unexpected exception, expected<"
26 + expected.getName() + "> but was<"
32 throw new AssertionError("Expected exception: "
33 + expected.getName());
  /external/libchrome/base/
version_unittest.cc 92 int expected; member in struct:__anon27671::version_compare
111 EXPECT_EQ(lhs.CompareTo(rhs), cases[i].expected) <<
115 EXPECT_EQ(lhs.CompareToWildcardString(cases[i].rhs), cases[i].expected)
117 EXPECT_EQ(rhs.CompareToWildcardString(cases[i].lhs), -cases[i].expected)
121 switch (cases[i].expected) {
154 int expected;
173 EXPECT_EQ(result, cases[i].expected) << cases[i].lhs << "?" << cases[i].rhs;
180 bool expected;
196 cases[i].expected) << cases[i].version << "?" << cases[i].expected;
    [all...]
  /external/libchrome/crypto/
symmetric_key_unittest.cc 60 const char* expected; // ASCII encoded hex bytes member in struct:PBKDF2TestVector
77 EXPECT_EQ(test_data.expected,
  /external/libcxx/test/libcxx/numerics/complex.number/
__sqr.pass.cpp 29 cplx expected; member in struct:test_case
51 assert(std::abs(actual.real() - test.expected.real()) < tolerance);
52 assert(std::abs(actual.imag() - test.expected.imag()) < tolerance);

Completed in 1265 milliseconds

<<11121314151617181920>>