Home
last modified time | relevance | path

Searched refs:expected1 (Results 1 – 22 of 22) sorted by relevance

/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/
DBasicVerifier.java190 Value expected1; in binaryOperation() local
194 expected1 = newValue(Type.getType("[I")); in binaryOperation()
199 expected1 = newValue(Type.getType("[Z")); in binaryOperation()
201 expected1 = newValue(Type.getType("[B")); in binaryOperation()
206 expected1 = newValue(Type.getType("[C")); in binaryOperation()
210 expected1 = newValue(Type.getType("[S")); in binaryOperation()
214 expected1 = newValue(Type.getType("[J")); in binaryOperation()
218 expected1 = newValue(Type.getType("[F")); in binaryOperation()
222 expected1 = newValue(Type.getType("[D")); in binaryOperation()
226 expected1 = newValue(Type.getType("[Ljava/lang/Object;")); in binaryOperation()
[all …]
/external/libchrome/crypto/
Dopenssl_bio_string_unittest.cc16 const std::string expected1("a one\nb 2\n"); in TEST() local
23 EXPECT_EQ(static_cast<int>(expected1.size()), in TEST()
25 EXPECT_EQ(expected1, s); in TEST()
28 EXPECT_EQ(expected1, s); in TEST()
32 EXPECT_EQ(expected1 + expected2, s); in TEST()
36 EXPECT_EQ(expected1 + expected2 + expected3, s); in TEST()
38 EXPECT_EQ(expected1 + expected2 + expected3, s); in TEST()
43 const std::string expected1("a b c\n"); in TEST() local
49 EXPECT_EQ(static_cast<int>(expected1.size()), in TEST()
50 BIO_write(bio.get(), expected1.data(), expected1.size())); in TEST()
[all …]
Dsha2_unittest.cc15 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, in TEST() local
27 EXPECT_EQ(expected1[i], static_cast<int>(output1[i])); in TEST()
33 EXPECT_EQ(expected1[i], static_cast<int>(output_truncated1[i])); in TEST()
40 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, in TEST() local
52 EXPECT_EQ(expected1[i], static_cast<uint8_t>(output1[i])); in TEST()
/external/libweave/third_party/chromium/crypto/
Dsha2_unittest.cc14 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, in TEST() local
26 EXPECT_EQ(expected1[i], static_cast<int>(output1[i])); in TEST()
32 EXPECT_EQ(expected1[i], static_cast<int>(output_truncated1[i])); in TEST()
39 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, in TEST() local
51 EXPECT_EQ(expected1[i], static_cast<uint8_t>(output1[i])); in TEST()
/external/libweave/src/states/
Dstate_change_queue_unittest.cc80 const std::string expected1 = "{'prop': {'name1': 3, 'name2': 2}}"; in TEST_F() local
83 EXPECT_JSON_EQ(expected1, *changes[0].changed_properties); in TEST_F()
109 const std::string expected1 = in TEST_F() local
112 EXPECT_JSON_EQ(expected1, *changes[0].changed_properties); in TEST_F()
/external/mesa3d/src/gallium/tests/graw/
Docclusion-query.c13 static int expected1 = (int) ((300 * 0.9) * (300 * 0.9)); variable
153 int expected1_min = (int) (expected1 * 0.95); in draw()
154 int expected1_max = (int) (expected1 * 1.05); in draw()
192 printf(" Failure: result1 should be near %d\n", expected1); in draw()
/external/deqp/modules/gles2/functional/
Des2fApiCase.cpp76 void ApiCase::expectError (deUint32 expected0, deUint32 expected1) in expectError() argument
79 if (err != expected0 && err != expected1) in expectError()
81 …expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << tcu::TestLog… in expectError()
/external/deqp/modules/gles3/functional/
Des3fApiCase.cpp78 void ApiCase::expectError (deUint32 expected0, deUint32 expected1) in expectError() argument
81 if (err != expected0 && err != expected1) in expectError()
83 …expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << TestLog::End… in expectError()
Des3fFboStateQueryTests.cpp132 void checkIntEqualsAny (tcu::TestContext& testCtx, GLint got, GLint expected0, GLint expected1) in checkIntEqualsAny() argument
136 if (got != expected0 && got != expected1) in checkIntEqualsAny()
138 …testCtx.getLog() << TestLog::Message << "// ERROR: Expected " << expected0 << " or " << expected1 in checkIntEqualsAny()
/external/icu/icu4c/source/test/cintltst/
Dnccbtst.c913 UChar expected1[] = { 0x0031, 0x4e8c, 0x0061}; in TestSkip() local
917 expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8", in TestSkip()
925 UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061,0xfffe,0xfffe}; in TestSkip() local
929 expected1, sizeof(expected1)/sizeof(expected1[0]),"SCSU", in TestSkip()
1329 static const UChar expected1[] = { 0x0031, 0x4e8c,}; in TestStop() local
1333 expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8", in TestStop()
1340 static const UChar expected1[] = { 0x00ba, 0x008c, 0x00f8, 0x0061}; in TestStop() local
1344 expected1, sizeof(expected1)/sizeof(expected1[0]),"SCSU", in TestStop()
1619 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0x0061}; in TestSub() local
1623 expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8", in TestSub()
[all …]
Dncnvtst.c980 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0x0061}; in TestWithBufferSize() local
984expected1, sizeof(expected1)/sizeof(expected1[0]),"utf8", UCNV_TO_U_CALLBACK_SUBSTITUTE, offsets1,… in TestWithBufferSize()
1547 static const uint8_t expected1[] = {0xa2, 0xae,0xA2,0xB4,0xA1,0xD7,0xA1,0xA7}; in TestResetBehaviour() local
1558 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1570 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1589 static const uint8_t expected1[] = {0x1b, 0x24, 0x42,0x30,0x6c,0x43,0x7a,0x1b,0x28,0x42, in TestResetBehaviour() local
1601 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1680 static const uint8_t expected1[] = {0x1B, 0x24, 0x29, 0x43, in TestResetBehaviour() local
1700 if(!testConvertToU(expected1, sizeof(expected1), in TestResetBehaviour()
1726 static const uint8_t expected1[] = {0x7E, 0x7B, 0x52, 0x3B, in TestResetBehaviour() local
[all …]
/external/guava/guava-tests/test/com/google/common/hash/
DMurmur3Hash128Test.java51 private static void assertHash(int seed, long expected1, long expected2, String stringInput) { in assertHash() argument
52 HashCode expected = toHashCode(expected1, expected2); in assertHash()
DHashTestUtils.java453 HashCode expected1 = randomHash(hashFunction, new Random(1L), numActions); in assertIndependentHashers() local
466 Assert.assertEquals(expected1, hasher1.hash()); in assertIndependentHashers()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DStringTokenizerTest.java68 String expected1[] = {"this", "\t", "is", "\n", "a", "\r", "string", "\f", in TestConstructors() local
73 for (int i = 0; i < expected1.length; i ++) { in TestConstructors()
74 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) in TestConstructors()
75 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { in TestConstructors()
157 String expected1[] = {"bmp string ", in TestSupplementary() local
162 if (!tokenizer.nextElement().equals(expected1[i ++])) { in TestSupplementary()
448 String expected1[] = {"abc", "def1ghi", "jkl3mno", "pqr", "stu1vwx", in TestNextNewDelimiters() local
450 for (int i = 0; i < expected1.length; i ++) { in TestNextNewDelimiters()
452 expected1[i])) { in TestNextNewDelimiters()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DStringTokenizerTest.java72 String expected1[] = {"this", "\t", "is", "\n", "a", "\r", "string", "\f", in TestConstructors() local
77 for (int i = 0; i < expected1.length; i ++) { in TestConstructors()
78 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) in TestConstructors()
79 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { in TestConstructors()
161 String expected1[] = {"bmp string ", in TestSupplementary() local
166 if (!tokenizer.nextElement().equals(expected1[i ++])) { in TestSupplementary()
452 String expected1[] = {"abc", "def1ghi", "jkl3mno", "pqr", "stu1vwx", in TestNextNewDelimiters() local
454 for (int i = 0; i < expected1.length; i ++) { in TestNextNewDelimiters()
456 expected1[i])) { in TestNextNewDelimiters()
/external/skia/tests/
DWArrayTest.cpp18 static const char* expected1 = "0[-1 0 -3 4 5 6 7 0 0 0 8]"; variable
175 TestWData(reporter, data1, SK_ARRAY_COUNT(data1), nullptr, 0, expected1); in DEF_TEST()
DImageTest.cpp723 const SkPMColor expected1 = SkPreMultiplyColor(SK_ColorBLUE); in DEF_GPUTEST_FOR_NATIVE_CONTEXT() local
724 sk_memset32(storage, expected1, w * h); in DEF_GPUTEST_FOR_NATIVE_CONTEXT()
731 check_image_color(reporter, refImg, expected1); in DEF_GPUTEST_FOR_NATIVE_CONTEXT()
/external/chromium-trace/catapult/telemetry/telemetry/internal/image_processing/
Dcv_util_unittest.py81 expected1 = ((0.0, 5.0, 0.0, -5.0))
82 self.assertAlmostEqual(np.sum(np.abs(np.subtract(lines[1], expected1))),
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DDigestOutputStreamTest.java543 byte expected1[] = { -87, 121, -17, 16, -52, 111, 106, 54, -33, in test_onZ()
547 java.util.Arrays.equals(digestResult, expected1)); in test_onZ()
/external/deqp/modules/gles31/functional/
Des31fShaderAtomicOpTests.cpp762 const deUint32 expected1 = randomValue ^ ~0u; in verify() local
772 const deUint32 expected = (numXorZeros%2 == 0) ? expected0 : expected1; in verify()
777 << " or " << tcu::toHex(expected1) << " (compare mask " << tcu::toHex(compareMask) in verify()
789 (outputValue & compareMask) != (expected1&compareMask)) in verify()
/external/v8/test/cctest/compiler/
Dtest-representation-change.cc424 IrOpcode::Value expected1, in CheckTwoChanges() argument
433 CHECK_EQ(expected1, c1->opcode()); in CheckTwoChanges()
/external/google-breakpad/src/common/
Dbyte_cursor_unittest.cc709 uint8_t expected1[3] = { 0x5d, 0x31, 0x09 }; in TEST() local
712 EXPECT_TRUE(memcmp(received1, expected1, 3) == 0); in TEST()