Home
last modified time | relevance | path

Searched refs:testString (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/content/src/android/content/cts/
DContextTest.java47 String testString = mContext.getString(R.string.context_test_string1); in testGetString() local
48 assertEquals("This is %s string.", testString); in testGetString()
50 testString = mContext.getString(R.string.context_test_string1, "expected"); in testGetString()
51 assertEquals("This is expected string.", testString); in testGetString()
53 testString = mContext.getString(R.string.context_test_string2); in testGetString()
54 assertEquals("This is test string.", testString); in testGetString()
58 testString = mContext.getString(0, "expected"); in testGetString()
65 testString = mContext.getString(0); in testGetString()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java1669 String testString = "abccbadecdebz"; in testSplitPattern() local
1670 assertEquals(calculateCharsCount(testString, "c") + 1, in testSplitPattern()
1671 TextUtils.split(testString, Pattern.compile("c")).length); in testSplitPattern()
1672 assertEquals(calculateCharsCount(testString, "a") + 1, in testSplitPattern()
1673 TextUtils.split(testString, Pattern.compile("a")).length); in testSplitPattern()
1674 assertEquals(calculateCharsCount(testString, "z") + 1, in testSplitPattern()
1675 TextUtils.split(testString, Pattern.compile("z")).length); in testSplitPattern()
1676 assertEquals(calculateCharsCount(testString, "de") + 1, in testSplitPattern()
1677 TextUtils.split(testString, Pattern.compile("de")).length); in testSplitPattern()
1678 int totalCount = 1 + calculateCharsCount(testString, "a") in testSplitPattern()
[all …]
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPlan.java98 for (String testString : testStrings) { in parseTestList()
99 String[] classMethodPair = testString.split(METHOD_DELIM); in parseTestList()
104 filter.addExcludedClass(testString); in parseTestList()
110 for (String testString : testStrings) { in parseTestList()
111 String[] classMethodPair = testString.split(METHOD_DELIM); in parseTestList()
116 filter.addIncludedClass(testString); in parseTestList()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostTest.java128 String testString = ""; in testLogcat() local
133 testString = line.split(":")[1].trim(); in testLogcat()
138 assertEquals("Incorrect test string", TEST_STRING, testString); in testLogcat()
/cts/tests/tests/widget/src/android/widget/cts/
DAutoCompleteTextViewTest.java154 String testString = "TryToTest"; in testEnoughToFilter()
155 mAutoCompleteTextView.setText(testString); in testEnoughToFilter()
163 String testString = "No"; in testEnoughToFilter()
164 mAutoCompleteTextView.setText(testString); in testEnoughToFilter()
378 String testString = ""; in testOnFilterComplete() local
381 testString = "8337777"; in testOnFilterComplete()
383 testString = "tes"; in testOnFilterComplete()
394 mInstrumentation.sendStringSync(testString); in testOnFilterComplete()
406 testString = "84428"; in testOnFilterComplete()
408 testString = "that"; in testOnFilterComplete()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/
DTSuper.java47 public void testString(String s) { in testString() method in TSuper
DT_invoke_super_range_12.d31 …4..v5}, dot.junit.opcodes.invoke_super_range.d.T_invoke_super_range_12/testString(Ljava/lang/Strin…
DTSuper.d67 .method public testString(Ljava/lang/String;)V
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/
DTSuper.java47 public void testString(String s) { in testString() method in TSuper
DT_invoke_super_12.d31 …invoke-super {v5, v5}, dot.junit.opcodes.invoke_super.d.T_invoke_super_12/testString(Ljava/lang/St…
DTSuper.d67 .method public testString(Ljava/lang/String;)V
/cts/hostsidetests/aadb/src/com/android/cts/aadb/
DTestDeviceFuncTest.java287 String testString = "blah"; in doTestSyncFiles() local
289 stream.write(testString.getBytes()); in doTestSyncFiles()
295 assertTrue(tmpFileContents.contains(testString)); in doTestSyncFiles()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java159 final String testString = "THIS IS A TEST"; in testBasicText() local
168 canvas.drawText(testString, 30, 50, p); in testBasicText()