/cts/tests/tests/database/src/android/database/cts/ |
SQLExceptionTest.java | 25 String expected1 = "Expected exception message"; local 36 throw new SQLException(expected1); 38 assertEquals(expected1, e.getMessage());
|
StaleDataExceptionTest.java | 24 String expected1 = "Expected exception message"; local 35 throw new StaleDataException(expected1); 37 assertEquals(expected1, e.getMessage());
|
CursorIndexOutOfBoundsExceptionTest.java | 27 String expected1 = "Expected exception message"; local 37 throw new CursorIndexOutOfBoundsException(expected1); 39 assertEquals(expected1, e.getMessage());
|
/external/libchrome/crypto/ |
openssl_bio_string_unittest.cc | 16 const std::string expected1("a one\nb 2\n"); 23 EXPECT_EQ(static_cast<int>(expected1.size()), 25 EXPECT_EQ(expected1, s); 28 EXPECT_EQ(expected1, s); 32 EXPECT_EQ(expected1 + expected2, s); 36 EXPECT_EQ(expected1 + expected2 + expected3, s); 38 EXPECT_EQ(expected1 + expected2 + expected3, s); 43 const std::string expected1("a b c\n"); 49 EXPECT_EQ(static_cast<int>(expected1.size()), 50 BIO_write(bio.get(), expected1.data(), expected1.size())) [all...] |
sha2_unittest.cc | 15 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, local 27 EXPECT_EQ(expected1[i], static_cast<int>(output1[i])); 33 EXPECT_EQ(expected1[i], static_cast<int>(output_truncated1[i])); 40 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, local 52 EXPECT_EQ(expected1[i], static_cast<uint8_t>(output1[i]));
|
/ndk/tests/device/hard-float/jni/ |
test-float.c | 42 const double expected1 = -0.013999; local 44 fail_count += !(fabs(d1-expected1) < 0.00001);
|
/external/mockito/cglib-and-asm/src/org/mockito/asm/tree/analysis/ |
BasicVerifier.java | 190 Value expected1;
local 194 expected1 = newValue(Type.getType("[I"));
199 expected1 = newValue(Type.getType("[Z"));
201 expected1 = newValue(Type.getType("[B"));
206 expected1 = newValue(Type.getType("[C"));
210 expected1 = newValue(Type.getType("[S"));
214 expected1 = newValue(Type.getType("[J"));
218 expected1 = newValue(Type.getType("[F"));
222 expected1 = newValue(Type.getType("[D"));
226 expected1 = newValue(Type.getType("[Ljava/lang/Object;")); 318 Value expected1; local [all...] |
/libcore/luni/src/test/java/tests/targets/security/ |
MessageDigestTestMD5.java | 27 super.expected1 = singleblock;
|
MessageDigestTestSHA1.java | 27 super.expected1 = singleblock;
|
MessageDigestTestSHA256.java | 27 super.expected1 = singleblock;
|
MessageDigestTestSHA384.java | 27 super.expected1 = singleblock;
|
MessageDigestTestSHA512.java | 27 super.expected1 = singleblock;
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
WifiCertManagerTest.java | 112 final HashSet<String> expected1 = new HashSet<>(); local 114 expected1.add(prefix + "abc"); 115 expected1.add(prefix + "def"); 116 expected1.add(prefix + "ghi"); 122 assertEquals(expected1, 131 assertEquals(expected1, 140 assertEquals(expected1,
|
/cts/tests/tests/os/src/android/os/cts/ |
PatternMatcherTest.java | 65 String expected1 = "test1"; local 67 mPatternMatcher = new PatternMatcher(expected1, PatternMatcher.PATTERN_LITERAL); 68 assertEquals(expected1, mPatternMatcher.getPath()); 80 String expected1 = "PatternMatcher{LITERAL: test}"; local 85 assertEquals(expected1, mPatternMatcher.toString());
|
/external/deqp/modules/gles2/functional/ |
es2fApiCase.cpp | 76 void ApiCase::expectError (deUint32 expected0, deUint32 expected1) 79 if (err != expected0 && err != expected1) 81 m_log << tcu::TestLog::Message << "// ERROR: expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << tcu::TestLog::EndMessage;
|
/external/deqp/modules/gles3/functional/ |
es3fApiCase.cpp | 78 void ApiCase::expectError (deUint32 expected0, deUint32 expected1) 81 if (err != expected0 && err != expected1) 83 m_log << TestLog::Message << "// ERROR: expected " << glu::getErrorStr(expected0) << " or " << glu::getErrorStr(expected1) << TestLog::EndMessage;
|
/external/libweave/third_party/chromium/crypto/ |
sha2_unittest.cc | 14 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, local 26 EXPECT_EQ(expected1[i], static_cast<int>(output1[i])); 32 EXPECT_EQ(expected1[i], static_cast<int>(output_truncated1[i])); 39 int expected1[] = { 0xba, 0x78, 0x16, 0xbf, local 51 EXPECT_EQ(expected1[i], static_cast<uint8_t>(output1[i]));
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
PhoneNumberWatcherTest.java | 85 final String expected1 = "650-123"; local 95 assertEquals(expected1, number.toString()); 114 final String expected1 = "(650) 123 4"; local 124 assertEquals(expected1, number.toString()); 126 assertEquals(expected1.length(), Selection.getSelectionEnd(number)); 158 final String expected1 = "(650) 123 4"; local 168 assertEquals(expected1, number.toString()); 170 assertEquals(expected1.length(), Selection.getSelectionEnd(number)); 210 final String expected1 = ""; local 220 assertEquals(expected1, number.toString()) [all...] |
/external/libweave/src/states/ |
state_change_queue_unittest.cc | 80 const std::string expected1 = "{'prop': {'name1': 3, 'name2': 2}}"; local 83 EXPECT_JSON_EQ(expected1, *changes[0].changed_properties); 109 const std::string expected1 = local 112 EXPECT_JSON_EQ(expected1, *changes[0].changed_properties);
|
/external/mesa3d/src/gallium/tests/graw/ |
occlusion-query.c | 13 static int expected1 = (int) ((300 * 0.9) * (300 * 0.9)); variable 153 int expected1_min = (int) (expected1 * 0.95); 154 int expected1_max = (int) (expected1 * 1.05); 192 printf(" Failure: result1 should be near %d\n", expected1);
|
/external/guava/guava-tests/test/com/google/common/hash/ |
Murmur3Hash128Test.java | 51 private static void assertHash(int seed, long expected1, long expected2, String stringInput) { 52 HashCode expected = toHashCode(expected1, expected2);
|
/bionic/tests/ |
math_data_test.h | 54 RT1 expected1; member in struct:data_2_1_t 61 RT1 expected1; member in struct:data_1_int_1_t 68 RT1 expected1; member in struct:data_1_int_2_t 219 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i; 236 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i; 252 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i; 268 EXPECT_PRED_FORMAT2(predicate1, data[i].expected1, out1) << "Failed on element " << i;
|
/libcore/support/src/test/java/tests/security/ |
MessageDigestTest.java | 59 expected1 = null; 135 protected String expected1; field in class:MessageDigestTest 160 assertEquals("computed and check digest differ", expected1, sb.toString());
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
HelpersTest.java | 51 final File expected1 = new File(getContext().getFilesDir(), "file.txt"); local 59 assertEquals(expected1.getAbsolutePath(), actual1);
|
/cts/tests/tests/util/src/android/util/cts/ |
TypedValueTest.java | 103 final float expected1 = 0.0f; local 109 assertEquals(expected1, TypedValue.complexToFraction(data1, base1, pbase1)); 184 final float expected1 = 0.0f; local 189 assertEquals(expected1, TypedValue.complexToFloat(complex1));
|