Searched refs:testString (Results 1 – 7 of 7) sorted by relevance
| /cts/tests/tests/content/src/android/content/cts/ |
| D | ContextTest.java | 66 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/ |
| D | TextUtilsTest.java | 1886 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/ |
| D | AutoCompleteTextViewTest.java | 161 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/ |
| D | T_invoke_super_12.d | 31 …invoke-super {v5, v5}, dot.junit.opcodes.invoke_super.d.T_invoke_super_12/testString(Ljava/lang/St…
|
| D | TSuper.d | 67 .method public testString(Ljava/lang/String;)V
|
| /cts/tools/vm-tests/src/dot/junit/opcodes/invoke_super_range/d/ |
| D | T_invoke_super_range_12.d | 31 …4..v5}, dot.junit.opcodes.invoke_super_range.d.T_invoke_super_range_12/testString(Ljava/lang/Strin…
|
| D | TSuper.d | 67 .method public testString(Ljava/lang/String;)V
|