Home
last modified time | relevance | path

Searched refs:doTest (Results 1 – 25 of 117) 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/v8/test/webkit/
Dcomparison-operators.js39 function doTest(lhs, rhs, relationship) { function
63 doTest('"a"', '"b"', -1);
64 doTest('"a"', '"a"', 0);
65 doTest('"b"', '"a"', 1);
66 doTest('letterA', '"b"', -1);
67 doTest('letterA', '"a"', 0);
68 doTest('"b"', '"a"', 1);
69 doTest('letterA', '"b"', -1);
70 doTest('letterA', 'letterA', 0);
71 doTest('"b"', 'letterA', 1);
[all …]
Dcomparison-operators-greater.js39 function doTest(lhs, rhs, relationship) { function
63 doTest('"a"', '"b"', -1);
64 doTest('"a"', '"a"', 0);
65 doTest('"b"', '"a"', 1);
66 doTest('letterA', '"b"', -1);
67 doTest('letterA', '"a"', 0);
68 doTest('"b"', '"a"', 1);
69 doTest('letterA', '"b"', -1);
70 doTest('letterA', 'letterA', 0);
71 doTest('"b"', 'letterA', 1);
[all …]
Dcomparison-operators-less.js39 function doTest(lhs, rhs, relationship) { function
62 doTest('"a"', '"b"', -1);
63 doTest('"a"', '"a"', 0);
64 doTest('"b"', '"a"', 1);
65 doTest('letterA', '"b"', -1);
66 doTest('letterA', '"a"', 0);
67 doTest('"b"', '"a"', 1);
68 doTest('letterA', '"b"', -1);
69 doTest('letterA', 'letterA', 0);
70 doTest('"b"', 'letterA', 1);
[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.java173 doTest(testString, p, q, 20, "This is a word break"); in TestFirstNextFollowing()
176 doTest(testString, p, q, 21, "."); in TestFirstNextFollowing()
179 doTest(testString, p, q, 28, " Isn't "); in TestFirstNextFollowing()
182 doTest(testString, p, q, 31, "it?"); in TestFirstNextFollowing()
184 doTest(testString, 2, q, 4, "is"); in TestFirstNextFollowing()
186 doTest(testString, 22, q, 27, "Isn't"); in TestFirstNextFollowing()
201 doTest(testString, p, q, 1, "W"); in TestFirstNextFollowing()
204 doTest(testString, p, q, 5, "rite"); in TestFirstNextFollowing()
207 doTest(testString, p, q, 17, " hindi here."); in TestFirstNextFollowing()
210 doTest(testString, p, q, 11, " here."); in TestFirstNextFollowing()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIAPITest.java177 doTest(testString, p, q, 20, "This is a word break"); in TestFirstNextFollowing()
180 doTest(testString, p, q, 21, "."); in TestFirstNextFollowing()
183 doTest(testString, p, q, 28, " Isn't "); in TestFirstNextFollowing()
186 doTest(testString, p, q, 31, "it?"); in TestFirstNextFollowing()
188 doTest(testString, 2, q, 4, "is"); in TestFirstNextFollowing()
190 doTest(testString, 22, q, 27, "Isn't"); in TestFirstNextFollowing()
205 doTest(testString, p, q, 1, "W"); in TestFirstNextFollowing()
208 doTest(testString, p, q, 5, "rite"); in TestFirstNextFollowing()
211 doTest(testString, p, q, 17, " hindi here."); in TestFirstNextFollowing()
214 doTest(testString, p, q, 11, " here."); in TestFirstNextFollowing()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRbnfRoundTripTest.java40 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT()
51 doTest(formatter, 0, 12345678); in TestDurationsRT()
62 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT()
73 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT()
84 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT()
95 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT()
106 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT()
117 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT()
128 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT()
139 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT()
[all …]
DRbnfTest.java305 doTest(formatter, testData, true); in TestEnglishSpellout()
334 doTest(formatter, testData, false); in TestOrdinalAbbreviations()
357 doTest(formatter, testData, true); in TestDurations()
391 doTest(formatter, testData, true); in TestSpanishSpellout()
430 doTest(formatter, testData, true); in TestFrenchSpellout()
469 doTest(formatter, testData, true); in TestSwissFrenchSpellout()
501 doTest(formatter, testData, true); in TestItalianSpellout()
531 doTest(formatter, testData, true); in TestGermanSpellout()
555 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.java36 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT()
47 doTest(formatter, 0, 12345678); in TestDurationsRT()
58 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT()
69 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT()
80 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT()
91 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT()
102 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT()
113 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT()
124 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT()
135 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT()
[all …]
DRbnfTest.java301 doTest(formatter, testData, true); in TestEnglishSpellout()
330 doTest(formatter, testData, false); in TestOrdinalAbbreviations()
353 doTest(formatter, testData, true); in TestDurations()
387 doTest(formatter, testData, true); in TestSpanishSpellout()
426 doTest(formatter, testData, true); in TestFrenchSpellout()
465 doTest(formatter, testData, true); in TestSwissFrenchSpellout()
497 doTest(formatter, testData, true); in TestItalianSpellout()
527 doTest(formatter, testData, true); in TestGermanSpellout()
551 doTest(formatter, testData, true); in TestThaiSpellout()
577 doTest(enFormatter, enTestData, true); in TestPluralRules()
[all …]
/external/pdfium/testing/resources/javascript/
Dconsts.in38 function doTest(name, props) {
71 doTest("border", ["s", "b", "d", "i", "u", "nonesuch"]);
72 doTest("display", ["visible", "hidden", "noPrint", "noView", "nonesuch"]);
73 doTest("font", ["Times", "TimesB", "TimesI", "TimesBI", "Helv", "HelvB",
77 doTest("highlight", ["n", "i", "p", "o", "nonesuch"]);
78 doTest("position", ["textOnly", "iconOnly", "iconTextV", "textIconV",
81 doTest("scaleHow", ["proportional", "anamorphic", "nonesuch"]);
82 doTest("scaleWhen", ["always", "never", "tooBig", "tooSmall", "nonesuch"]);
83 doTest("style", ["ch", "cr", "di", "ci", "st", "sq", "nonesuch"]);
84 doTest("zoomtype", ["none", "fitP", "fitW", "fitH", "fitV", "pref", "refW",
/external/icu/icu4c/source/test/intltest/
Ditrbnfrt.cpp70 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT()
88 doTest(formatter, 0, 12345678); in TestDurationsRT()
106 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT()
124 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT()
142 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT()
160 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT()
178 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT()
196 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT()
214 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT()
232 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT()
[all …]
Djacoll.cpp114 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
124 doTest(myCollation, testBaseCases[i], testBaseCases[i + 1], Collator::LESS); in TestBase()
133doTest(myCollation, testPlainDakutenHandakutenCases[i], testPlainDakutenHandakutenCases[i + 1], in TestPlainDakutenHandakuten()
147 doTest(myCollation, testSmallLargeCases[i], testSmallLargeCases[i + 1], Collator::LESS); in TestSmallLarge()
160 doTest(myCollation, testKatakanaHiraganaCases[i], testKatakanaHiraganaCases[i + 1], in TestKatakanaHiragana()
175 doTest(myCollation, testChooonKigooCases[i], testChooonKigooCases[i + 1], Collator::LESS); in TestChooonKigoo()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationDummyTest.java191 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
200 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
209 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
219 doTest(myCollation, testCases[i], testCases[j], -1); in TestExtra()
228 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestIdentical()
304 doTest(enCollation, source[count], target[count], -1); in TestSurrogates()
307 doTest(enCollation, source[count], target[count], 1); in TestSurrogates()
321 doTest(newCollation, source[count], target[count], -1); in TestSurrogates()
444 doTest(myCollator, x, y, 0); in TestJB1401()
445 doTest(myCollator, x, z, 0); in TestJB1401()
[all …]
DCollationEnglishTest.java258 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
267 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
282 doTest(testAcute[i], testAcute[j], expected ); in TestSecondary()
294 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
302 doTest(testBugs[i], testBugs[j], -1); in TestTertiary()
318 doTest(testMore[i], testMore[j], expected ); in TestTertiary()
324 private void doTest(char[] source, char[] target, int result){ in doTest() method in CollationEnglishTest
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationDummyTest.java187 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
196 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
205 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
215 doTest(myCollation, testCases[i], testCases[j], -1); in TestExtra()
224 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestIdentical()
300 doTest(enCollation, source[count], target[count], -1); in TestSurrogates()
303 doTest(enCollation, source[count], target[count], 1); in TestSurrogates()
317 doTest(newCollation, source[count], target[count], -1); in TestSurrogates()
440 doTest(myCollator, x, y, 0); in TestJB1401()
441 doTest(myCollator, x, z, 0); in TestJB1401()
[all …]
DCollationEnglishTest.java254 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
263 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
278 doTest(testAcute[i], testAcute[j], expected ); in TestSecondary()
290 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
298 doTest(testBugs[i], testBugs[j], -1); in TestTertiary()
314 doTest(testMore[i], testMore[j], expected ); in TestTertiary()
320 private void doTest(char[] source, char[] target, int result){ in doTest() method in CollationEnglishTest
DCollationKanaTest.java109 doTest(testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
118 doTest(testBaseCases[i], testBaseCases[i + 1], -1); in TestBase()
127 doTest(testPlainDakutenHandakutenCases[i], testPlainDakutenHandakutenCases[i + 1], -1); in TestPlainDakutenHandakuten()
139 doTest(testSmallLargeCases[i], testSmallLargeCases[i + 1], -1); in TestSmallLarge()
150 doTest(testKatakanaHiraganaCases[i], testKatakanaHiraganaCases[i + 1], -1); in TestKatakanaHiragana()
161 doTest(testChooonKigooCases[i], testChooonKigooCases[i + 1], -1); in TestChooonKigoo()
190 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/icu/icu4c/source/test/cintltst/
Dcjaptst.c130 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
151 doTest(myCollation, testBaseCases[i], testBaseCases[i + 1], UCOL_LESS); in TestBase()
172 doTest(myCollation, testPlainDakutenHandakutenCases[i], in TestPlainDakutenHandakuten()
197 doTest(myCollation, testSmallLargeCases[i], testSmallLargeCases[i + 1], in TestSmallLarge()
222 doTest(myCollation, testKatakanaHiraganaCases[i], in TestKatakanaHiragana()
248 doTest(myCollation, testChooonKigooCases[i], testChooonKigooCases[i + 1], in TestChooonKigoo()

12345