Home
last modified time | relevance | path

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

/cts/hostsidetests/trustedvoice/src/android/trustedvoice/cts/
DTrustedVoiceHostTest.java107 String testString = ""; in testUnlock() local
113 testString = line.split(":")[1].trim(); in testUnlock()
118 assertNotNull("Test string must not be null", testString); in testUnlock()
119 assertEquals("Test string does not match", TEST_STRING, testString); in testUnlock()
/cts/hostsidetests/abioverride/src/android/abioverride/cts/
DAbiOverrideTest.java94 String testString = ""; in testAbiIs32bit() local
99 testString = line.split(":")[1].trim(); in testAbiIs32bit()
104 assertTrue("No result found in logs", testString.startsWith(TEST_STRING)); in testAbiIs32bit()
106 assertEquals("Incorrect abi", TEST_STRING + "false", testString); in testAbiIs32bit()
/cts/hostsidetests/sample/src/android/sample/cts/
DSampleHostTest.java68 String testString = ""; in testLogcat() local
73 testString = line.split(":")[1].trim(); in testLogcat()
78 assertEquals("Incorrect test string", TEST_STRING, testString); in testLogcat()
/cts/tests/tests/text/src/android/text/cts/
DTextUtilsTest.java1680 String testString = "abccbadecdebz"; in testSplitPattern() local
1681 assertEquals(calculateCharsCount(testString, "c") + 1, in testSplitPattern()
1682 TextUtils.split(testString, Pattern.compile("c")).length); in testSplitPattern()
1683 assertEquals(calculateCharsCount(testString, "a") + 1, in testSplitPattern()
1684 TextUtils.split(testString, Pattern.compile("a")).length); in testSplitPattern()
1685 assertEquals(calculateCharsCount(testString, "z") + 1, in testSplitPattern()
1686 TextUtils.split(testString, Pattern.compile("z")).length); in testSplitPattern()
1687 assertEquals(calculateCharsCount(testString, "de") + 1, in testSplitPattern()
1688 TextUtils.split(testString, Pattern.compile("de")).length); in testSplitPattern()
1689 int totalCount = 1 + calculateCharsCount(testString, "a") in testSplitPattern()
[all …]
DStaticLayoutTest.java611 private List<CharSequence> buildTestCharSequences(String testString, Normalizer.Form[] forms) { in buildTestCharSequences() argument
616 normalizedStrings.add(Normalizer.normalize(testString, form)); in buildTestCharSequences()
656 for (String testString: testStrings) { in testGetOffset_ASCII()
657 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_ASCII()
679 String testString = "ab\r\nde"; in testGetOffset_ASCII() local
680 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_ASCII()
712 for (String testString: testStrings) { in testGetOffset_UNICODE()
713 for (CharSequence seq: buildTestCharSequences(testString, Normalizer.Form.values())) { in testGetOffset_UNICODE()
738 String testString = "\u00C1\u00C2\u00C3\u00C4\u00C5"; in testGetOffset_UNICODE_Normalization() local
740 for (CharSequence seq: buildTestCharSequences(testString, oneUnicodeForms)) { in testGetOffset_UNICODE_Normalization()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DTypefaceTest.java184 final String testString = "abcde"; in testInvalidCmapFont() local
185 float widthDefaultTypeface = p.measureText(testString); in testInvalidCmapFont()
187 float widthCustomTypeface = p.measureText(testString); in testInvalidCmapFont()
195 final String testString = "abcde"; in testInvalidCmapFont2() local
196 float widthDefaultTypeface = p.measureText(testString); in testInvalidCmapFont2()
198 float widthCustomTypeface = p.measureText(testString); in testInvalidCmapFont2()
/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/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java109 String testString = ""; in testInputUpdated() local
118 testString = line.split(":")[1].trim(); in testInputUpdated()
122 if (!testString.isEmpty()) { in testInputUpdated()
128 assertEquals("Incorrect test string", INPUT_UPDATED_STRING, testString); in testInputUpdated()
/cts/tests/tests/content/src/android/content/cts/
DContextTest.java53 String testString = mContext.getString(R.string.context_test_string1); in testGetString() local
54 assertEquals("This is %s string.", testString); in testGetString()
56 testString = mContext.getString(R.string.context_test_string1, "expected"); in testGetString()
57 assertEquals("This is expected string.", testString); in testGetString()
59 testString = mContext.getString(R.string.context_test_string2); in testGetString()
60 assertEquals("This is test string.", testString); in testGetString()
64 testString = mContext.getString(0, "expected"); in testGetString()
71 testString = mContext.getString(0); in testGetString()
/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 …]
DTextViewTest.java4634 String testString = "abcdefghijklmnopqrstuvwxyz"; in testAllCapsLocalization() local
4648 testString.toUpperCase(locale), in testAllCapsLocalization()
4649 tv.getTransformationMethod().getTransformation(testString, tv).toString()); in testAllCapsLocalization()
/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/sustainedperf/src/android/SustainedPerformance/cts/
DSustainedPerformanceHostTest.java176 String testString = ""; in testShader() local
181 testString = line.split(":")[1].trim(); in testShader()
185 if (testString.isEmpty()) { in testShader()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DExactCanvasTests.java129 final String testString = "THIS IS A TEST"; in testBasicText() local
136 canvas.drawText(testString, 30, 50, p); in testBasicText()
/cts/hostsidetests/aadb/src/android/aadb/cts/
DTestDeviceFuncTest.java287 String testString = "blah"; in doTestSyncFiles() local
289 stream.write(testString.getBytes()); in doTestSyncFiles()
306 assertTrue(tmpFileContents.contains(testString)); in doTestSyncFiles()
/cts/tests/tests/icu/
Dtest-list.txt514 android.icu.dev.test.duration.DataReadWriteTest#testString