Home
last modified time | relevance | path

Searched refs:doTest (Results 1 – 25 of 119) sorted by relevance

12345

/external/smali/util/src/test/java/org/jf/util/
DLinearSearchTest.java46 doTest(list, 5, 10); in testLinearSearch()
47 doTest(list, 5, 4); in testLinearSearch()
48 doTest(list, 5, 3); in testLinearSearch()
49 doTest(list, 5, 2); in testLinearSearch()
50 doTest(list, 5, 1); in testLinearSearch()
51 doTest(list, 5, 0); in testLinearSearch()
53 doTest(list, 4, 10); in testLinearSearch()
54 doTest(list, 4, 4); in testLinearSearch()
55 doTest(list, 4, 3); in testLinearSearch()
56 doTest(list, 4, 2); in testLinearSearch()
[all …]
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DParserTest.java44 public void testEmpty() throws Exception { doTest(true); } in testEmpty()
45 public void testFieldAnnotations() throws Exception { doTest(true); } in testFieldAnnotations()
46 public void testInvalidAnnotation() throws Exception { doTest(true); } in testInvalidAnnotation()
47 public void testInvalidClassDirective() throws Exception { doTest(true); } in testInvalidClassDirective()
48 public void testInvalidClassDirective2() throws Exception { doTest(true); } in testInvalidClassDirective2()
49 public void testInvalidClassDirective3() throws Exception { doTest(true); } in testInvalidClassDirective3()
50 public void testInvalidEnumLiteral() throws Exception { doTest(true); } in testInvalidEnumLiteral()
51 public void testInvalidField() throws Exception { doTest(true); } in testInvalidField()
52 public void testInvalidField2() throws Exception { doTest(true); } in testInvalidField2()
53 public void testInvalidField3() throws Exception { doTest(true); } in testInvalidField3()
[all …]
DSmaliLiteralTest.java41 private void doTest(long expectedValue, String literalValue) { in doTest() method in SmaliLiteralTest
61 doTest(123, "123"); in testIntegerValue()
65 doTest(100, "100L"); in testLongValue()
69 doTest(99, "99s"); in testShortValue()
73 doTest(127, "127t"); in testByteValue()
DClassRenameTest.java25 doTest("blah", "blah2"); in testBasicNoPackage()
29 doTest("my.blah", "blah2"); in testBasicWithPackage()
32 private void doTest(@NotNull final String oldQualifiedName, @NotNull final String newName) { in doTest() method in ClassRenameTest
33 doTest(new PerformAction() { in doTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIAPITest.java180 doTest(testString, p, q, 20, "This is a word break"); in TestFirstNextFollowing()
183 doTest(testString, p, q, 21, "."); in TestFirstNextFollowing()
186 doTest(testString, p, q, 28, " Isn't "); in TestFirstNextFollowing()
189 doTest(testString, p, q, 31, "it?"); in TestFirstNextFollowing()
191 doTest(testString, 2, q, 4, "is"); in TestFirstNextFollowing()
193 doTest(testString, 22, q, 27, "Isn't"); in TestFirstNextFollowing()
208 doTest(testString, p, q, 1, "W"); in TestFirstNextFollowing()
211 doTest(testString, p, q, 5, "rite"); in TestFirstNextFollowing()
214 doTest(testString, p, q, 17, " hindi here."); in TestFirstNextFollowing()
217 doTest(testString, p, q, 11, " here."); in TestFirstNextFollowing()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIAPITest.java181 doTest(testString, p, q, 20, "This is a word break"); in TestFirstNextFollowing()
184 doTest(testString, p, q, 21, "."); in TestFirstNextFollowing()
187 doTest(testString, p, q, 28, " Isn't "); in TestFirstNextFollowing()
190 doTest(testString, p, q, 31, "it?"); in TestFirstNextFollowing()
192 doTest(testString, 2, q, 4, "is"); in TestFirstNextFollowing()
194 doTest(testString, 22, q, 27, "Isn't"); in TestFirstNextFollowing()
209 doTest(testString, p, q, 1, "W"); in TestFirstNextFollowing()
212 doTest(testString, p, q, 5, "rite"); in TestFirstNextFollowing()
215 doTest(testString, p, q, 17, " hindi here."); in TestFirstNextFollowing()
218 doTest(testString, p, q, 11, " here."); in TestFirstNextFollowing()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRbnfRoundTripTest.java29 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT()
41 doTest(formatter, 0, 12345678); in TestDurationsRT()
53 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT()
65 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT()
77 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT()
89 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT()
101 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT()
113 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT()
125 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT()
137 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT()
[all …]
DRbnfTest.java296 doTest(formatter, testData, true); in TestEnglishSpellout()
326 doTest(formatter, testData, false); in TestOrdinalAbbreviations()
350 doTest(formatter, testData, true); in TestDurations()
385 doTest(formatter, testData, true); in TestSpanishSpellout()
425 doTest(formatter, testData, true); in TestFrenchSpellout()
465 doTest(formatter, testData, true); in TestSwissFrenchSpellout()
498 doTest(formatter, testData, true); in TestItalianSpellout()
529 doTest(formatter, testData, true); in TestGermanSpellout()
554 doTest(formatter, testData, true); in TestThaiSpellout()
581 doTest(enFormatter, enTestData, true); in TestPluralRules()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRbnfRoundTripTest.java28 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT()
40 doTest(formatter, 0, 12345678); in TestDurationsRT()
52 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT()
64 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT()
76 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT()
88 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT()
100 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT()
112 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT()
124 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT()
136 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT()
[all …]
DRbnfTest.java295 doTest(formatter, testData, true); in TestEnglishSpellout()
325 doTest(formatter, testData, false); in TestOrdinalAbbreviations()
349 doTest(formatter, testData, true); in TestDurations()
384 doTest(formatter, testData, true); in TestSpanishSpellout()
424 doTest(formatter, testData, true); in TestFrenchSpellout()
464 doTest(formatter, testData, true); in TestSwissFrenchSpellout()
497 doTest(formatter, testData, true); in TestItalianSpellout()
528 doTest(formatter, testData, true); in TestGermanSpellout()
553 doTest(formatter, testData, true); in TestThaiSpellout()
580 doTest(enFormatter, enTestData, true); in TestPluralRules()
[all …]
/external/icu/icu4c/source/test/intltest/
Ditrbnfrt.cpp72 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT()
90 doTest(formatter, 0, 12345678); in TestDurationsRT()
108 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT()
126 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT()
144 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT()
162 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT()
180 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT()
198 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT()
216 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT()
234 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT()
[all …]
Djacoll.cpp116 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
126 doTest(myCollation, testBaseCases[i], testBaseCases[i + 1], Collator::LESS); in TestBase()
135doTest(myCollation, testPlainDakutenHandakutenCases[i], testPlainDakutenHandakutenCases[i + 1], in TestPlainDakutenHandakuten()
149 doTest(myCollation, testSmallLargeCases[i], testSmallLargeCases[i + 1], Collator::LESS); in TestSmallLarge()
162 doTest(myCollation, testKatakanaHiraganaCases[i], testKatakanaHiraganaCases[i + 1], in TestKatakanaHiragana()
177 doTest(myCollation, testChooonKigooCases[i], testChooonKigooCases[i + 1], Collator::LESS); in TestChooonKigoo()
/external/pdfium/testing/resources/javascript/
Dconsts.in38 function doTest(name, props) {
81 doTest("border", ["s", "b", "d", "i", "u", "nonesuch"]);
82 doTest("display", ["visible", "hidden", "noPrint", "noView", "nonesuch"]);
83 doTest("font", ["Times", "TimesB", "TimesI", "TimesBI", "Helv", "HelvB",
87 doTest("highlight", ["n", "i", "p", "o", "nonesuch"]);
88 doTest("position", ["textOnly", "iconOnly", "iconTextV", "textIconV",
91 doTest("scaleHow", ["proportional", "anamorphic", "nonesuch"]);
92 doTest("scaleWhen", ["always", "never", "tooBig", "tooSmall", "nonesuch"]);
93 doTest("style", ["ch", "cr", "di", "ci", "st", "sq", "nonesuch"]);
94 doTest("zoomtype", ["none", "fitP", "fitW", "fitH", "fitV", "pref", "refW",
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationDummyTest.java191 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
201 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
211 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
222 doTest(myCollation, testCases[i], testCases[j], -1); in TestExtra()
232 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestIdentical()
310 doTest(enCollation, source[count], target[count], -1); in TestSurrogates()
313 doTest(enCollation, source[count], target[count], 1); in TestSurrogates()
327 doTest(newCollation, source[count], target[count], -1); in TestSurrogates()
452 doTest(myCollator, x, y, 0); in TestJB1401()
453 doTest(myCollator, x, z, 0); in TestJB1401()
[all …]
DCollationEnglishTest.java259 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
269 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
284 doTest(testAcute[i], testAcute[j], expected ); in TestSecondary()
297 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
305 doTest(testBugs[i], testBugs[j], -1); in TestTertiary()
321 doTest(testMore[i], testMore[j], expected ); in TestTertiary()
327 private void doTest(char[] source, char[] target, int result){ in doTest() method in CollationEnglishTest
DCollationKanaTest.java115 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
125 doTest(testBaseCases[i], testBaseCases[i + 1], -1); in TestBase()
135 doTest(testPlainDakutenHandakutenCases[i], testPlainDakutenHandakutenCases[i + 1], -1); in TestPlainDakutenHandakuten()
148 doTest(testSmallLargeCases[i], testSmallLargeCases[i + 1], -1); in TestSmallLarge()
160 doTest(testKatakanaHiraganaCases[i], testKatakanaHiraganaCases[i + 1], -1); in TestKatakanaHiragana()
172 doTest(testChooonKigooCases[i], testChooonKigooCases[i + 1], -1); in TestChooonKigoo()
202 private void doTest(char[] source, char[] target, int result){ in doTest() method in CollationKanaTest
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationDummyTest.java190 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
200 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
210 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
221 doTest(myCollation, testCases[i], testCases[j], -1); in TestExtra()
231 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestIdentical()
309 doTest(enCollation, source[count], target[count], -1); in TestSurrogates()
312 doTest(enCollation, source[count], target[count], 1); in TestSurrogates()
326 doTest(newCollation, source[count], target[count], -1); in TestSurrogates()
451 doTest(myCollator, x, y, 0); in TestJB1401()
452 doTest(myCollator, x, z, 0); in TestJB1401()
[all …]
DCollationEnglishTest.java258 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
268 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
283 doTest(testAcute[i], testAcute[j], expected ); in TestSecondary()
296 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
304 doTest(testBugs[i], testBugs[j], -1); in TestTertiary()
320 doTest(testMore[i], testMore[j], expected ); in TestTertiary()
326 private void doTest(char[] source, char[] target, int result){ in doTest() method in CollationEnglishTest
DCollationKanaTest.java114 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
124 doTest(testBaseCases[i], testBaseCases[i + 1], -1); in TestBase()
134 doTest(testPlainDakutenHandakutenCases[i], testPlainDakutenHandakutenCases[i + 1], -1); in TestPlainDakutenHandakuten()
147 doTest(testSmallLargeCases[i], testSmallLargeCases[i + 1], -1); in TestSmallLarge()
159 doTest(testKatakanaHiraganaCases[i], testKatakanaHiraganaCases[i + 1], -1); in TestKatakanaHiragana()
171 doTest(testChooonKigooCases[i], testChooonKigooCases[i + 1], -1); in TestChooonKigoo()
201 private void doTest(char[] source, char[] target, int result){ in doTest() method in CollationKanaTest
/external/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/
DFindMethodUsagesTest.java47 doTest(); in testSmaliUsageInSmaliFile()
63 doTest(); in testSmaliUsageInJavaFile()
78 doTest(); in testJavaUsageInSmaliFile()
93 doTest(); in testPrimitiveListMethod()
DFindFieldUsagesTest.java46 doTest(); in testSmaliUsageInSmaliFile()
61 doTest(); in testSmaliUsageInJavaFile()
75 doTest(); in testJavaUsageInSmaliFile()
89 doTest(); in testPrimitiveListMethod()
/external/libjpeg-turbo/
Dtjunittest.c547 void doTest(int w, int h, const int *formats, int nformats, int subsamp, in doTest() function
708 doTest(35, 39, _3byteFormats, 2, TJSAMP_444, "test"); in main()
709 doTest(39, 41, _4byteFormats, num4bf, TJSAMP_444, "test"); in main()
710 doTest(41, 35, _3byteFormats, 2, TJSAMP_422, "test"); in main()
711 doTest(35, 39, _4byteFormats, num4bf, TJSAMP_422, "test"); in main()
712 doTest(39, 41, _3byteFormats, 2, TJSAMP_420, "test"); in main()
713 doTest(41, 35, _4byteFormats, num4bf, TJSAMP_420, "test"); in main()
714 doTest(35, 39, _3byteFormats, 2, TJSAMP_440, "test"); in main()
715 doTest(39, 41, _4byteFormats, num4bf, TJSAMP_440, "test"); in main()
716 doTest(41, 35, _3byteFormats, 2, TJSAMP_411, "test"); in main()
[all …]
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ReferenceType/
DSourceDebugExtensionTest.java55 private void doTest(String testName, String classSignature, int expectedErrorCode) { in doTest() method in SourceDebugExtensionTest
118 doTest("testSourceDebugExtension001", in testSourceDebugExtension001()
130 doTest("testSourceDebugExtension001", "I", JDWPConstants.Error.ABSENT_INFORMATION); in testSourceDebugExtension002()
140 doTest("testSourceDebugExtension003", "[I", JDWPConstants.Error.ABSENT_INFORMATION); in testSourceDebugExtension003()
150 doTest("testSourceDebugExtension004", "[Ljava/lang/String;", in testSourceDebugExtension004()
182 doTest("testSourceDebugExtension005", signature, in testSourceDebugExtension005()
/external/icu/icu4c/source/test/cintltst/
Dcjaptst.c132 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
153 doTest(myCollation, testBaseCases[i], testBaseCases[i + 1], UCOL_LESS); in TestBase()
174 doTest(myCollation, testPlainDakutenHandakutenCases[i], in TestPlainDakutenHandakuten()
199 doTest(myCollation, testSmallLargeCases[i], testSmallLargeCases[i + 1], in TestSmallLarge()
224 doTest(myCollation, testKatakanaHiraganaCases[i], in TestKatakanaHiragana()
250 doTest(myCollation, testChooonKigooCases[i], testChooonKigooCases[i + 1], in TestChooonKigoo()
/external/swiftshader/third_party/LLVM/tools/bugpoint/
DListReducer.h44 virtual TestResult doTest(std::vector<ElTy> &Prefix,
55 switch (doTest(TheList, empty, Error)) { in reduceList()
100 if (doTest(ShuffledList, empty, Error) == KeepPrefix) { in reduceList()
119 switch (doTest(Prefix, Suffix, Error)) { in reduceList()
180 if (doTest(EmptyList, TestList, Error) == KeepSuffix) { in reduceList()

12345