Home
last modified time | relevance | path

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

/cts/tests/tests/content/src/android/content/cts/
DContextTest.java66 String testString = mContext.getString(R.string.context_test_string1); in testGetString() local
67 assertEquals("This is %s string.", testString); in testGetString()
69 testString = mContext.getString(R.string.context_test_string1, "expected"); in testGetString()
70 assertEquals("This is expected string.", testString); in testGetString()
72 testString = mContext.getString(R.string.context_test_string2); in testGetString()
73 assertEquals("This is test string.", testString); in testGetString()
77 testString = mContext.getString(0, "expected"); in testGetString()
84 testString = mContext.getString(0); in testGetString()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java1886 String testString = "abccbadecdebz"; in testSplitPattern() local
1887 assertEquals(calculateCharsCount(testString, "c") + 1, in testSplitPattern()
1888 TextUtils.split(testString, Pattern.compile("c")).length); in testSplitPattern()
1889 assertEquals(calculateCharsCount(testString, "a") + 1, in testSplitPattern()
1890 TextUtils.split(testString, Pattern.compile("a")).length); in testSplitPattern()
1891 assertEquals(calculateCharsCount(testString, "z") + 1, in testSplitPattern()
1892 TextUtils.split(testString, Pattern.compile("z")).length); in testSplitPattern()
1893 assertEquals(calculateCharsCount(testString, "de") + 1, in testSplitPattern()
1894 TextUtils.split(testString, Pattern.compile("de")).length); in testSplitPattern()
1895 int totalCount = 1 + calculateCharsCount(testString, "a") in testSplitPattern()
[all …]
/cts/tests/tests/widget/src/android/widget/cts/
DAutoCompleteTextViewTest.java161 String testString = "TryToTest"; in testEnoughToFilter()
162 mAutoCompleteTextView.setText(testString); in testEnoughToFilter()
170 String testString = "No"; in testEnoughToFilter()
171 mAutoCompleteTextView.setText(testString); in testEnoughToFilter()
504 String testString = "tes"; in testOnFilterComplete() local
513 mInstrumentation.sendStringSync(testString); in testOnFilterComplete()
520 testString = "that"; in testOnFilterComplete()
521 mInstrumentation.sendStringSync(testString); in testOnFilterComplete()
/cts/tools/vm-tests/src/dot/junit/opcodes/invoke_super/d/
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/tools/vm-tests/src/dot/junit/opcodes/invoke_super_range/d/
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