/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);
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/text/ |
IsEqualIgnoringCase.java | 43 * the specified expectedString, ignoring case. 47 * @param expectedString 50 public static Matcher<String> equalToIgnoringCase(String expectedString) { 51 return new IsEqualIgnoringCase(expectedString);
|
IsEqualIgnoringWhiteSpace.java | 63 * the specified expectedString, when whitespace differences are (mostly) ignored. To be 66 * <li>all leading and trailing whitespace of both the expectedString and the examined string are ignored</li> 72 * @param expectedString 75 public static Matcher<String> equalToIgnoringWhiteSpace(String expectedString) { 76 return new IsEqualIgnoringWhiteSpace(expectedString);
|
/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));
|
/build/soong/androidmk/parser/ |
make_strings_test.go | 81 expectedString := dumpArray(test.expected) 82 if gotString != expectedString { 83 t.Errorf("expected:\n%s\ngot:\n%s", expectedString, gotString)
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
BaseInputConnectionTest.java | 289 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState); 290 final int expectedSelectionStart = Selection.getSelectionStart(expectedString); 291 final int expectedSelectionEnd = Selection.getSelectionEnd(expectedString); 299 assertEquals(expectedString.subSequence(0, expectedSelectionStart).toString(), 305 assertEquals(expectedString.subSequence(expectedSelectionStart, 308 if (expectedSelectionEnd == expectedString.length()) { 311 assertEquals(expectedString.subSequence(expectedSelectionEnd, 312 expectedString.length()).toString(), 368 final CharSequence expectedString = InputConnectionTestUtils.formatString(expectedState); 369 final int expectedSelectionStart = Selection.getSelectionStart(expectedString); [all...] |
/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/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/icu/icu4c/source/test/cintltst/ |
cintltst.h | 137 * Assert that the actualString equals the expectedString, and return 140 U_CFUNC UBool assertEquals(const char* msg, const char* expectedString,
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dream/ |
WhenToDreamPreferenceControllerTest.java | 64 final String expectedString = 68 verify(mockPref).setSummary(expectedString);
|
/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...] |
/external/icu/icu4c/source/test/intltest/ |
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...] |
/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...] |
/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);
|
/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/guava/guava-tests/test/com/google/common/io/ |
MultiReaderTest.java | 73 String expectedString = testString + testString; 74 assertEquals(expectedString, CharStreams.toString(joinedReader));
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
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...] |
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...] |
/external/icu/icu4c/source/test/iotest/ |
stream.cpp | 223 const UChar* expectedString, 246 if (str != UnicodeString(expectedString)) { 247 log_err("Did not get expected results from \"%s\", expected \"%s\"\n", testString, expectedString);
|
/external/sonic/ |
wave.c | 148 char *expectedString) 151 int length = strlen(expectedString); 159 if(strcmp(expectedString, buf)) {
|
/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());
|