/ndk/tests/device/hard-float/jni/ |
test-float.c | 42 const double expected1 = -0.013999; local 44 fail_count += !(fabs(d1-expected1) < 0.00001);
|
/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/database/src/android/database/cts/ |
CursorIndexOutOfBoundsExceptionTest.java | 27 String expected1 = "Expected exception message"; local 37 throw new CursorIndexOutOfBoundsException(expected1); 39 assertEquals(expected1, e.getMessage());
|
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());
|
/external/libchrome/crypto/ |
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]));
|
/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/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]));
|
/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/google-breakpad/src/common/ |
byte_cursor_unittest.cc | 709 uint8_t expected1[3] = { 0x5d, 0x31, 0x09 }; local 712 EXPECT_TRUE(memcmp(received1, expected1, 3) == 0);
|
/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...] |
/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...] |
/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;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
InterpolatorTest.java | 49 int expected1 = 100; local 53 interpolator.reset(expected1, expected2); 54 assertEquals(expected1, interpolator.getValueCount());
|
PathTest.java | 103 Path.FillType expected1 = Path.FillType.EVEN_ODD; local 112 assertEquals(expected1, path.getFillType());
|
/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);
|
/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/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));
|
/external/skia/tests/ |
WArrayTest.cpp | 18 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);
|
ImageTest.cpp | 723 const SkPMColor expected1 = SkPreMultiplyColor(SK_ColorBLUE); local 724 sk_memset32(storage, expected1, w * h); 731 check_image_color(reporter, refImg, expected1);
|
/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());
|
/external/guava/guava-tests/test/com/google/common/hash/ |
HashTestUtils.java | 453 HashCode expected1 = randomHash(hashFunction, new Random(1L), numActions); local 466 Assert.assertEquals(expected1, hasher1.hash());
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
StringTokenizerTest.java | 72 String expected1[] = {"this", "\t", "is", "\n", "a", "\r", "string", "\f", local 77 for (int i = 0; i < expected1.length; i ++) { 78 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) 79 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { 161 String expected1[] = {"bmp string ", local 166 if (!tokenizer.nextElement().equals(expected1[i ++])) { 452 String expected1[] = {"abc", "def1ghi", "jkl3mno", "pqr", "stu1vwx", local 454 for (int i = 0; i < expected1.length; i ++) { 456 expected1[i])) { [all...] |
/external/icu/icu4c/source/test/cintltst/ |
ncnvtst.c | 980 UChar expected1[] = { 0x0031, 0x4e8c, 0xfffd, 0x0061}; local 1547 static const uint8_t expected1[] = {0xa2, 0xae,0xA2,0xB4,0xA1,0xD7,0xA1,0xA7}; local 1589 static const uint8_t expected1[] = {0x1b, 0x24, 0x42,0x30,0x6c,0x43,0x7a,0x1b,0x28,0x42, local 1680 static const uint8_t expected1[] = {0x1B, 0x24, 0x29, 0x43, local 1726 static const uint8_t expected1[] = {0x7E, 0x7B, 0x52, 0x3B, local [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
StringTokenizerTest.java | 68 String expected1[] = {"this", "\t", "is", "\n", "a", "\r", "string", "\f", local 73 for (int i = 0; i < expected1.length; i ++) { 74 if (!(stdelimiterreturn.nextElement().equals(expected1[i]) 75 && stdelimitersetreturn.nextElement().equals(expected1[i]))) { 157 String expected1[] = {"bmp string ", local 162 if (!tokenizer.nextElement().equals(expected1[i ++])) { 448 String expected1[] = {"abc", "def1ghi", "jkl3mno", "pqr", "stu1vwx", local 450 for (int i = 0; i < expected1.length; i ++) { 452 expected1[i])) { [all...] |