Home
last modified time | relevance | path

Searched refs:actualString (Results 1 – 25 of 25) sorted by relevance

/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/draft/
DStateMachineTest.java117 String actualString = "<no failure>"; in main() local
121 actualString = e.getMessage(); in main()
124 if (!expectedString.equals(actualString)) { in main()
161 private static void showFailure(String testLine, String expectedString, String actualString) { in showFailure() argument
163 + "\tActual: " + actualString + "\n***"); in showFailure()
/external/truth/core/src/main/java/com/google/common/truth/
DSubject.java815 String actualString = actualCustomStringRepresentation(); in failEqualityCheck() local
830 boolean sameToStrings = actualString.equals(expectedString); in failEqualityCheck()
863 nameAsFacts(), difference.factsOrEmpty(), expectedString, actualString); in failEqualityCheck() local
868 fact("but was", actualString)); in failEqualityCheck()
887 String actualString = (String) actual; in tryFailForTrailingWhitespaceOnly() local
889 String actualNoTrailing = whitespace().trimTrailingFrom(actualString); in tryFailForTrailingWhitespaceOnly()
893 String actualTrailing = escapeWhitespace(actualString.substring(actualNoTrailing.length())); in tryFailForTrailingWhitespaceOnly()
899 if (actualString.startsWith(expectedString)) { in tryFailForTrailingWhitespaceOnly()
903 } else if (expectedString.startsWith(actualString)) { in tryFailForTrailingWhitespaceOnly()
951 String actualString = (String) actual; in tryFailForEmptyString() local
[all …]
/external/OpenCL-CTS/test_conformance/basic/
Dtest_vloadstore.cpp169 char expectedString[ 1024 ], actualString[ 1024 ]; in test_vload() local
173 … GetDataVectorString( &(actual[i*typeSize*outVectorSize]), typeSize, vecSize, actualString ), in test_vload()
182 … GetDataVectorString( &(actual[i*typeSize*outVectorSize]), typeSize, vecSize, actualString )); in test_vload()
191 char expectedString[ 1024 ], actualString[ 1024 ]; in test_vload() local
194 … GetDataVectorString( actual, typeSize, vecSize, actualString ), (int)offsets[ i ] ); in test_vload()
675 char expectedString[ 1024 ], actualString[ 1024 ]; in test_vstore() local
680 … GetDataVectorString( &(actual[i*typeSize*vecSize]), typeSize, vecSize, actualString ), in test_vstore()
691 … GetDataVectorString( &(actual[i*typeSize*vecSize]), typeSize, vecSize, actualString )); in test_vstore()
700 char expectedString[ 1024 ], actualString[ 1024 ]; in test_vstore() local
703 GetDataVectorString( actual, typeSize, vecSize, actualString ) ); in test_vstore()
Dtest_astype.cpp200 char expectedString[ 1024 ], actualString[ 1024 ]; in test_astype_set() local
204 GetDataVectorString( actual, typeSize, vecSize, actualString ) ); in test_astype_set()
/external/icu/icu4c/source/test/cintltst/
Dcintltst.h144 const char* actualString);
151 const UChar* actualString);
Duformattedvaluetst.c196 const UChar* actualString = ufmtval_getString(fv, &length, ec); in checkFormattedValueString() local
203 int32_t actualLength = u_strlen(actualString); in checkFormattedValueString()
205 assertUEquals(message, expectedString, actualString); in checkFormattedValueString()
/external/cronet/third_party/icu/source/test/cintltst/
Dcintltst.h144 const char* actualString);
151 const UChar* actualString);
Duformattedvaluetst.c196 const UChar* actualString = ufmtval_getString(fv, &length, ec); in checkFormattedValueString() local
203 int32_t actualLength = u_strlen(actualString); in checkFormattedValueString()
205 assertUEquals(message, expectedString, actualString); in checkFormattedValueString()
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/
DCronetTestRule.java302 public static void assertContains(String expectedSubstring, String actualString) {
303 Assert.assertNotNull(actualString);
304 if (!actualString.contains(expectedSubstring)) {
305 Assert.fail("String [" + actualString + "] doesn't contain substring ["
/external/cronet/base/android/javatests/src/org/chromium/base/test/metrics/
DHistogramWatcherTestBase.java504 protected static void assertContains(String expectedSubstring, String actualString) { in assertContains() argument
505 Assert.assertNotNull(actualString); in assertContains()
506 if (!actualString.contains(expectedSubstring)) { in assertContains()
508 "Substring <%s> not found in string <%s>", expectedSubstring, actualString)); in assertContains()
/external/junit/src/main/java/org/junit/
DAssert.java844 String actualString = String.valueOf(actual); in format() local
845 if (equalsRegardingNull(expectedString, actualString)) { in format()
848 + " but was: " + formatClassAndValue(actual, actualString); in format()
851 + actualString + ">"; in format()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DDecimalQuantityTest.java699 String actualString = fn.toString(); in testScientificAndCompactSuppressedExponent() local
710 actualString); in testScientificAndCompactSuppressedExponent()
750 actualString); in testScientificAndCompactSuppressedExponent()
802 String actualString = fn.toString(); in testCompactNotationFractionPluralOperands() local
839 actualString); in testCompactNotationFractionPluralOperands()
877 String actualString = fnCompact.toString(); in testSuppressedExponentUnchangedByInitialScaling() local
885 actualString); in testSuppressedExponentUnchangedByInitialScaling()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DDecimalQuantityTest.java696 String actualString = fn.toString(); in testScientificAndCompactSuppressedExponent() local
707 actualString); in testScientificAndCompactSuppressedExponent()
747 actualString); in testScientificAndCompactSuppressedExponent()
799 String actualString = fn.toString(); in testCompactNotationFractionPluralOperands() local
836 actualString); in testCompactNotationFractionPluralOperands()
874 String actualString = fnCompact.toString(); in testSuppressedExponentUnchangedByInitialScaling() local
882 actualString); in testSuppressedExponentUnchangedByInitialScaling()
/external/cronet/third_party/icu/source/test/intltest/
Dnumfmtdatadriventest.cpp388 UnicodeString actualString = result.getDecimalQuantity()->toScientificString(); in isParsePass() local
389 if (expectedString != actualString) { in isParsePass()
392 actualString + " (" + ppos.getIndex() + ":" + ppos.getErrorIndex() + ")"); in isParsePass()
Dnumbertest_decimalquantity.cpp595 UnicodeString actualString = fn.toString(status); in testScientificAndCompactSuppressedExponent() local
605 actualString); in testScientificAndCompactSuppressedExponent()
692 UnicodeString actualString = fnCompact.toString(status); in testSuppressedExponentUnchangedByInitialScaling() local
700 actualString); in testSuppressedExponentUnchangedByInitialScaling()
Ditrbnf.cpp2382 UnicodeString actualString; in doTest() local
2384 formatter->format(expectedNumber, actualString/* , pos*/, status); in doTest()
2392 if (actualString != expectedString) { in doTest()
2398 msg.append(actualString); in doTest()
2402 logln(actualString); in doTest()
2405 formatter->parse(actualString, parsedNumber, status); in doTest()
2408 msg.append(actualString); in doTest()
2418 msg.append(actualString); in doTest()
/external/icu/icu4c/source/test/intltest/
Dnumfmtdatadriventest.cpp388 UnicodeString actualString = result.getDecimalQuantity()->toScientificString(); in isParsePass() local
389 if (expectedString != actualString) { in isParsePass()
392 actualString + " (" + ppos.getIndex() + ":" + ppos.getErrorIndex() + ")"); in isParsePass()
Dnumbertest_decimalquantity.cpp595 UnicodeString actualString = fn.toString(status); in testScientificAndCompactSuppressedExponent() local
605 actualString); in testScientificAndCompactSuppressedExponent()
692 UnicodeString actualString = fnCompact.toString(status); in testSuppressedExponentUnchangedByInitialScaling() local
700 actualString); in testSuppressedExponentUnchangedByInitialScaling()
Ditrbnf.cpp2382 UnicodeString actualString; in doTest() local
2384 formatter->format(expectedNumber, actualString/* , pos*/, status); in doTest()
2392 if (actualString != expectedString) { in doTest()
2398 msg.append(actualString); in doTest()
2402 logln(actualString); in doTest()
2405 formatter->parse(actualString, parsedNumber, status); in doTest()
2408 msg.append(actualString); in doTest()
2418 msg.append(actualString); in doTest()
/external/truth/core/src/test/java/com/google/common/truth/
DCorrespondenceTest.java584 public String formatDiff(String actualString, Integer expectedLength) {
585 return Integer.toString(actualString.length() - expectedLength);
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DTestFmwk.java567 String actualString = actual == null ? "null" : Arrays.asList(actual).toString(); in assertEquals() local
568 return assertEquals(message, expectedString, actualString); in assertEquals()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DTestFmwk.java568 String actualString = actual == null ? "null" : Arrays.asList(actual).toString(); in assertEquals() local
569 return assertEquals(message, expectedString, actualString); in assertEquals()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DDateIntervalFormatTest.java2043 String actualString = difmt.format(di, actual, pos).toString(); in TestFPos_SkelWithSeconds() local
2045 if (!actualString.equals(expectPosFmt.format) || in TestFPos_SkelWithSeconds()
2049 … "\"; get " + pos.getBeginIndex() + "-" + pos.getEndIndex() + " \"" + actualString + "\""); in TestFPos_SkelWithSeconds()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateIntervalFormatTest.java2040 String actualString = difmt.format(di, actual, pos).toString(); in TestFPos_SkelWithSeconds() local
2042 if (!actualString.equals(expectPosFmt.format) || in TestFPos_SkelWithSeconds()
2046 … "\"; get " + pos.getBeginIndex() + "-" + pos.getEndIndex() + " \"" + actualString + "\""); in TestFPos_SkelWithSeconds()
/external/cldr/tools/cldr-code/src/main/java/com/ibm/icu/dev/test/
DTestFmwk.java1904 String actualString = actual == null ? "null" : Arrays.asList(actual).toString(); in assertEquals() local
1905 return assertEquals(message, expectedString, actualString); in assertEquals()