Searched refs:testString (Results 1 – 11 of 11) sorted by relevance
| /cts/tests/tests/content/src/android/content/cts/ |
| D | ContextTest.java | 47 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/ |
| D | TextUtilsTest.java | 1669 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/tests/tests/widget/src/android/widget/cts/ |
| D | AutoCompleteTextViewTest.java | 145 String testString = "TryToTest"; in testEnoughToFilter() 146 mAutoCompleteTextView.setText(testString); in testEnoughToFilter() 154 String testString = "No"; in testEnoughToFilter() 155 mAutoCompleteTextView.setText(testString); in testEnoughToFilter() 364 String testString = ""; in testOnFilterComplete() local 367 testString = "8337777"; in testOnFilterComplete() 369 testString = "tes"; in testOnFilterComplete() 380 mInstrumentation.sendStringSync(testString); in testOnFilterComplete() 392 testString = "84428"; in testOnFilterComplete() 394 testString = "that"; in testOnFilterComplete() [all …]
|
| /cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super_range/d/ |
| D | TSuper.java | 47 public void testString(String s) { in testString() method in TSuper
|
| 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
|
| /cts/tools/vm-tests-tf/src/dot/junit/opcodes/invoke_super/d/ |
| D | TSuper.java | 47 public void testString(String s) { in testString() method in TSuper
|
| 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/tradefed-host/src/com/android/cts/tradefed/testtype/ |
| D | TestPlan.java | 82 for (String testString : testStrings) { in parseExcludedTests() 83 String[] classMethodPair = testString.split(METHOD_DELIM); in parseExcludedTests() 88 filter.addExcludedClass(testString); in parseExcludedTests()
|
| /cts/hostsidetests/aadb/src/com/android/cts/aadb/ |
| D | TestDeviceFuncTest.java | 282 String testString = "blah"; in doTestSyncFiles() local 284 stream.write(testString.getBytes()); in doTestSyncFiles() 290 assertTrue(tmpFileContents.contains(testString)); in doTestSyncFiles()
|