HomeSort by relevance Sort by last modified time
    Searched refs:testString (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /external/chromium_org/third_party/skia/tests/
DiscardableMemoryTest.cpp 13 const char testString[] = "HELLO, WORLD!";
14 const size_t len = sizeof(testString);
22 memcpy(ptr, testString, sizeof(testString));
30 REPORTER_ASSERT(reporter, 0 == memcmp(ptr, testString, len));
  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
EncodeHtmlDataUriTest.java 31 String testString = "><#%\"'";
32 String encodedUri = UrlUtils.encodeHtmlDataUri(testString);
34 assertEquals("Delimiters are not properly encoded", decodedUri, testString);
39 String testString = "{}|\\^[]`";
40 String encodedUri = UrlUtils.encodeHtmlDataUri(testString);
42 assertEquals("Unwise characters are not properly encoded", decodedUri, testString);
47 String testString = " \n\t";
48 String encodedUri = UrlUtils.encodeHtmlDataUri(testString);
50 assertEquals("Whitespace characters are not properly encoded", decodedUri, testString);
56 String testString = "<html><body onload=\"alert('Hello \\\"world\\\"');\"></body></html>"
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/text/
WTFStringTest.cpp 114 String testString = "1224";
115 ASSERT_TRUE(testString.is8Bit());
116 testString.replaceWithLiteral('2', "");
117 ASSERT_STREQ("14", testString.utf8().data());
119 testString = "1224";
120 ASSERT_TRUE(testString.is8Bit());
121 testString.replaceWithLiteral('2', "3");
122 ASSERT_STREQ("1334", testString.utf8().data());
124 testString = "1224";
125 ASSERT_TRUE(testString.is8Bit())
    [all...]
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
TSuper.java 47 public void testString(String s) {
  /cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/
TSuper.java 47 public void testString(String s) {
  /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StringReference/
ValueTest.java 44 protected void checkString(String testString) throws UnsupportedEncodingException {
45 logWriter.println("=> Test string: \"" + testString + "\"");
48 long stringID = createString(testString);
55 testString, returnedTestString);
  /external/chromium_org/third_party/icu/source/test/intltest/
trnserr.cpp 59 UnicodeString testString="A quick fox jumped over the lazy dog.";
73 len = testString.length();
74 stoppedAt = t->transliterate(testString, 0, 100);
77 } else if (testString.length() != len) {
78 testString="A quick fox jumped over the lazy dog.";
81 stoppedAt = t->transliterate(testString, 100, testString.length()-1);
84 else if (testString.length() != len) {
85 testString="A quick fox jumped over the lazy dog.";
89 pos.limit = testString.length()
    [all...]
csdetest.h 36 void checkEncoding(const UnicodeString &testString,
rbbiapts.h 98 void doTest(UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* expected);
  /external/icu/icu4c/source/test/intltest/
trnserr.cpp 59 UnicodeString testString="A quick fox jumped over the lazy dog.";
73 len = testString.length();
74 stoppedAt = t->transliterate(testString, 0, 100);
77 } else if (testString.length() != len) {
78 testString="A quick fox jumped over the lazy dog.";
81 stoppedAt = t->transliterate(testString, 100, testString.length()-1);
84 else if (testString.length() != len) {
85 testString="A quick fox jumped over the lazy dog.";
89 pos.limit = testString.length()
    [all...]
csdetest.h 36 void checkEncoding(const UnicodeString &testString,
rbbiapts.h 99 void doTest(UnicodeString& testString, int32_t start, int32_t gotoffset, int32_t expectedOffset, const char* expected);
  /external/guava/guava-tests/test/com/google/common/io/
MultiReaderTest.java 34 String testString = "abcdefgh";
35 final InputSupplier<Reader> supplier = newReader(testString);
54 assertEquals(testString.length() * 3, result.length());
70 String testString = "abcdefgh";
71 InputSupplier<Reader> supplier = newReader(testString);
75 String expectedString = testString + testString;
  /cts/tests/tests/content/src/android/content/cts/
ContextTest.java 47 String testString = mContext.getString(R.string.context_test_string1);
48 assertEquals("This is %s string.", testString);
50 testString = mContext.getString(R.string.context_test_string1, "expected");
51 assertEquals("This is expected string.", testString);
53 testString = mContext.getString(R.string.context_test_string2);
54 assertEquals("This is test string.", testString);
58 testString = mContext.getString(0, "expected");
65 testString = mContext.getString(0);
  /external/chromium_org/third_party/WebKit/Source/platform/graphics/
ThreadSafeDataTransportTest.cpp 41 const char testString[] = "123456789";
42 RefPtr<SharedBuffer> buffer = SharedBuffer::create(testString, sizeof(testString));
  /external/conscrypt/src/test/java/org/conscrypt/
MacTest.java 32 final byte[] testString = "testing123".getBytes();
58 mac1.update(testString);
64 mac2.update(testString);
  /external/chromium_org/third_party/icu/source/test/iotest/
stream.cpp 80 static const char * const TESTSTRING = "\x20\x74\x48\x69\x73\xCE\xBC\xE2\x80\x82\x20\x6D\x75\x20\x77\x6F\x72\x6C\x64";
83 istringstream inTestStream(TESTSTRING);
87 istrstream inTestStream(TESTSTRING, 0);
217 testString(
219 const char* testString,
229 sstrm << testString;
231 /*log_verbose("iostream before operator::>>() call \"%s\" ", testString);
236 log_verbose("iostream after operator::>>() call \"%s\" ", testString);
244 log_err("Did not get expected results from \"%s\", expected \"%s\"\n", testString, expectedString);
308 testString(UStr, u_austrcpy(testcase, testCase1), expectedResultA, IOSTREAM_EOF|IOSTREAM_FAIL)
    [all...]
  /external/icu/icu4c/source/test/iotest/
stream.cpp 80 static const char * const TESTSTRING = "\x20\x74\x48\x69\x73\xCE\xBC\xE2\x80\x82\x20\x6D\x75\x20\x77\x6F\x72\x6C\x64";
83 istringstream inTestStream(TESTSTRING);
87 istrstream inTestStream(TESTSTRING, 0);
217 testString(
219 const char* testString,
229 sstrm << testString;
231 /*log_verbose("iostream before operator::>>() call \"%s\" ", testString);
236 log_verbose("iostream after operator::>>() call \"%s\" ", testString);
244 log_err("Did not get expected results from \"%s\", expected \"%s\"\n", testString, expectedString);
308 testString(UStr, u_austrcpy(testcase, testCase1), expectedResultA, IOSTREAM_EOF|IOSTREAM_FAIL)
    [all...]
  /external/chromium_org/v8/test/webkit/
string-trim.js 31 var testString = 'foo bar';
69 trimString = wsString + testString + wsString;
70 leftTrimString = testString + wsString; //trimmed from the left
71 rightTrimString = wsString + testString; //trimmed from the right
77 shouldBe("trimString.trim()", "testString");
81 shouldBe("leftTrimString.trim()", "testString");
83 shouldBe("leftTrimString.trimRight()", "testString");
85 shouldBe("rightTrimString.trim()", "testString");
86 shouldBe("rightTrimString.trimLeft()", "testString");
  /cts/hostsidetests/sample/src/android/sample/cts/
SampleHostTest.java 128 String testString = "";
133 testString = line.split(":")[1].trim();
138 assertEquals("Incorrect test string", TEST_STRING, testString);
  /external/chromium_org/third_party/icu/source/samples/citer/
citer.cpp 47 UnicodeString testString(testChars,"");
48 const UChar *testText = testString.getTerminatedBuffer();
114 UnicodeString testString(testChars,"");
115 const UChar *testText = testString.getTerminatedBuffer();
  /external/chromium_org/tools/telemetry/telemetry/core/
camel_case_unittest.py 11 def testString(self):
  /external/icu/icu4c/source/samples/citer/
citer.cpp 47 UnicodeString testString(testChars,"");
48 const UChar *testText = testString.getTerminatedBuffer();
114 UnicodeString testString(testChars,"");
115 const UChar *testText = testString.getTerminatedBuffer();
  /external/chromium_org/third_party/WebKit/Source/platform/text/
BidiTestHarness.h 166 std::basic_string<UChar> testString;
198 testString.push_back(charClassExamples.find(charClasses[i])->second);
200 return testString;
223 std::basic_string<UChar> testString;
255 testString = parseTestString(line.substr(0, seperatorIndex));
262 m_runner.runTest(testString, reorder, levels, DirectionAutoLTR, originalLine, lineNumber);
264 m_runner.runTest(testString, reorder, levels, DirectionLTR, originalLine, lineNumber);
266 m_runner.runTest(testString, reorder, levels, DirectionRTL, originalLine, lineNumber);
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
TestPlan.java 98 for (String testString : testStrings) {
99 String[] classMethodPair = testString.split(METHOD_DELIM);
104 filter.addExcludedClass(testString);
110 for (String testString : testStrings) {
111 String[] classMethodPair = testString.split(METHOD_DELIM);
116 filter.addIncludedClass(testString);

Completed in 1458 milliseconds

1 2 3 4