/external/compiler-rt/lib/sanitizer_common/tests/ |
sanitizer_printf_test.cc | 32 std::string expectedString = "a-1b-2c4294967292e5fahbq0x"; 33 expectedString += std::string(SANITIZER_POINTER_FORMAT_LENGTH - 3, '0'); 34 expectedString += "123e_string_r"; 35 EXPECT_STREQ(expectedString.c_str(), buf);
|
/external/ImageMagick/Magick++/tests/ |
color.cpp | 86 string expectedString = "#AABBCC"; 88 string expectedString = "#AAAABBBBCCCC"; 90 string expectedString = "#AAAAAAAABBBBBBBBCCCCCCCC"; 92 string expectedString = "#AAAAAAAAAAAAAAAABBBBBBBBBBBBBBBBCCCCCCCCCCCCCCCC"; 99 if ( string(Color(colorStrings[i])) != expectedString ) 106 << expectedString
|
/frameworks/base/core/tests/coretests/src/android/database/ |
DatabaseLocaleTest.java | 113 String expectedString = new String(new int[] {0xFE000}, 0, 1); 114 mDatabase.execSQL("INSERT INTO test(id, data) VALUES(1, '" + expectedString + "')"); 120 assertEquals(expectedString.length(), actualString.length()); 121 for (int i = 0; i < expectedString.length(); i++) { 122 assertEquals((int)expectedString.charAt(i), (int)actualString.charAt(i)); 124 assertEquals(expectedString, actualString);
|
/cts/tests/tests/content/src/android/content/res/cts/ |
RawResourceTest.java | 43 final String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; 51 + " expected " + expectedString.charAt(curIndex) 53 buffer[i], expectedString.charAt(curIndex));
|
/frameworks/base/core/tests/coretests/src/android/content/ |
AssetTest.java | 36 String expectedString = "OneTwoThreeFourFiveSixSevenEightNineTen"; 44 + " expected " + expectedString.charAt(curIndex) 46 buffer[i], expectedString.charAt(curIndex));
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/ |
WhenToDreamPreferenceControllerTest.java | 64 final String expectedString = 68 verify(mockPref).setSummary(expectedString);
|
/external/guava/guava-tests/test/com/google/common/io/ |
MultiReaderTest.java | 73 String expectedString = testString + testString; 74 assertEquals(expectedString, CharStreams.toString(joinedReader));
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ClassType/ |
NewInstanceStringTest.java | 272 private void runTestNewInstanceString(String constructorSignature, String expectedString, 275 new StringChecker(expectedString)); 282 private final String expectedString; 284 private StringChecker(String expectedString) { 286 this.expectedString = expectedString; 297 expectedString, resultString);
|
/external/junit/src/main/java/org/junit/ |
Assert.java | 842 String expectedString = String.valueOf(expected); 844 if (expectedString.equals(actualString)) { 846 + formatClassAndValue(expected, expectedString) 849 return formatted + "expected:<" + expectedString + "> but was:<" [all...] |
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
ValidateNotificationPeopleTest.java | 156 String expectedString = Arrays.toString(expected); 158 assertEquals(message + ": arrays differ", expectedString, resultString);
|
/cts/tests/tests/database/src/android/database/cts/ |
CursorWindowTest.java | 285 String expectedString = ""; 288 expectedString += baseString; 296 cursorWindow.putString(expectedString, 0, 0); 301 assertEquals(expectedString, 305 expectedString += baseString; 307 cursorWindow.putString(expectedString, 0, 1); 311 assertEquals(expectedString, 313 assertEquals(70, expectedString.length()); 314 assertEquals(expectedString.length(), charArrayBuffer.data.length);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
DoubleTest.java | 186 String expectedString) { 194 assertEquals(expectedString.toLowerCase(Locale.US), convertedString 448 String testString, expectedString; 449 testString = expectedString = "3.4e-" + i; 450 doTestCompareRawBits(testString, rawBitsFor3_4en324ToN1[324 - i], expectedString); 465 String testString, expectedString; 466 testString = expectedString = "1.2e" + i; 467 doTestCompareRawBits(testString, rawBitsFor1_2e0To309[i], expectedString); [all...] |
FloatTest.java | 88 String expectedString) { 492 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); 495 + ">.The expected result should be:<" + expectedString 541 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); 544 + ">.The expected result should be:<" + expectedString 591 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); 594 + ">.The expected result should be:<" + expectedString 641 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)); 644 + ">.The expected result should be:<" + expectedString 691 String expectedString = Integer.toHexString(Float.floatToIntBits(expected)) [all...] |
/external/icu/icu4c/source/test/intltest/ |
bytestrietest.cpp | 778 const char *expectedString=data[i].s; 779 int32_t stringLength=strlen(expectedString); 782 if(!USTRINGTRIE_MATCHES(trie.next(expectedString[j]))) { 805 result=trie.next(expectedString+partialLength, 813 next(expectedString+partialLength, 833 const char *expectedString=data[i].s; 834 int32_t stringLength=strlen(expectedString); 835 if(!trie.next(expectedString, stringLength/2)) { 840 if(trie.next(expectedString+stringLength/2, stringLength+1-stringLength/2)) {
|
ucharstrietest.cpp | 825 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); 826 UChar32 c=expectedString[0]; 827 UChar32 nextCp=expectedString.length()>1 ? expectedString[1] : 0; 839 c=expectedString.char32At(0); 841 nextCp=expectedString.length()>cLength ? expectedString.char32At(cLength) : 0; 861 UnicodeString expectedString=UnicodeString(data[i].s, -1, US_INV).unescape(); 862 int32_t stringLength= (i&1) ? -1 : expectedString.length(); 865 result=trie.next(expectedString.getTerminatedBuffer(), stringLength)) | [all...] |
itrbnf.cpp | [all...] |
/libcore/dom/src/test/java/org/w3c/domts/ |
JUnitTestCaseAdapter.java | 252 String expectedString; 261 expectedString = (String) expectedIter.next(); 262 if(actualString.equalsIgnoreCase(expectedString)) { 264 expectedArray.remove(expectedString); 279 String expectedString; 282 expectedString = (String) expected.get(i); 284 if(!expectedString.equalsIgnoreCase(actualString)) { 285 assertEquals(assertID,expectedString,actualString); 381 String expectedString; 390 expectedString = (String) expectedIter.next() [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
LibcoreIoDerivedBase64Test.java | 299 String expectedString = intsToString(expected, len); 301 assertEquals(expectedString, actualString);
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
UtilsTest.java | 168 final SpannableStringBuilder expectedString = (SpannableStringBuilder) charSequence; 169 final TtsSpan[] ttsSpans = expectedString.getSpans(0, expectedString.length(),
|
/cts/tests/tests/text/src/android/text/format/cts/ |
DateFormatTest.java | 203 String expectedString = "12/18/08"; 206 assertEquals(expectedString, actual.toString()); 209 assertEquals(expectedString, actual.toString()); 211 assertEquals(expectedString, actual.toString());
|
/packages/services/Car/tests/carservice_test/src/com/android/car/test/ |
CarVendorExtensionManagerTest.java | 184 String expectedString = generateRandomString(2 * MILLION, 190 expectedString); 196 assertEquals(expectedString, actualString); 200 final String expectedString = "??????!"; // Test some utf as well. 205 expectedString); 211 assertEquals(expectedString, actualString);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
TestFmwk.java | 535 String expectedString = expected == null ? "null" : Arrays.asList(expected).toString(); 537 return assertEquals(message, expectedString, actualString);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
CharsTrieTest.java | 703 String expectedString=data[i].s; 704 int c=expectedString.charAt(0); 705 int nextCp=expectedString.length()>1 ? expectedString.charAt(1) : 0; 717 c=expectedString.codePointAt(0); 719 nextCp=expectedString.length()>cLength ? expectedString.codePointAt(cLength) : 0; 738 String expectedString=data[i].s; 739 int stringLength=expectedString.length(); 741 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() | [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
CharsTrieTest.java | 702 String expectedString=data[i].s; 703 int c=expectedString.charAt(0); 704 int nextCp=expectedString.length()>1 ? expectedString.charAt(1) : 0; 716 c=expectedString.codePointAt(0); 718 nextCp=expectedString.length()>cLength ? expectedString.codePointAt(cLength) : 0; 737 String expectedString=data[i].s; 738 int stringLength=expectedString.length(); 740 if( !(result=trie.next(expectedString, 0, stringLength)).hasValue() | [all...] |
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
TestFmwk.java | 534 String expectedString = expected == null ? "null" : Arrays.asList(expected).toString(); 536 return assertEquals(message, expectedString, actualString);
|