Home
last modified time | relevance | path

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

123456

/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()
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/visitors/
DPositionTestVisitor.java46 doTest(n); in visit()
47 doTest(n.getName()); in visit()
53 doTest(n); in visit()
59 doTest(n); in visit()
65 doTest(n); in visit()
71 doTest(n); in visit()
77 doTest(n); in visit()
83 doTest(n); in visit()
89 doTest(n); in visit()
95 doTest(n); in visit()
[all …]
/external/OpenCL-CTS/test_conformance/math_brute_force/
Dmain.cpp119 int doTest( const char* name ) in doTest() function
246 return doTest( "acos" ); in test_acos()
250 return doTest( "acosh" ); in test_acosh()
254 return doTest( "acospi" ); in test_acospi()
258 return doTest( "asin" ); in test_asin()
262 return doTest( "asinh" ); in test_asinh()
266 return doTest( "asinpi" ); in test_asinpi()
270 return doTest( "atan" ); in test_atan()
274 return doTest( "atanh" ); in test_atanh()
278 return doTest( "atanpi" ); in test_atanpi()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DRbnfRoundTripTest.java34 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT()
46 doTest(formatter, 0, 12345678); in TestDurationsRT()
58 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT()
70 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT()
82 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT()
94 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT()
106 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT()
118 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT()
130 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT()
142 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT()
[all …]
DRbnfTest.java301 doTest(formatter, testData, true); in TestEnglishSpellout()
331 doTest(formatter, testData, false); in TestOrdinalAbbreviations()
355 doTest(formatter, testData, true); in TestDurations()
390 doTest(formatter, testData, true); in TestSpanishSpellout()
430 doTest(formatter, testData, true); in TestFrenchSpellout()
470 doTest(formatter, testData, true); in TestSwissFrenchSpellout()
503 doTest(formatter, testData, true); in TestItalianSpellout()
534 doTest(formatter, testData, true); in TestGermanSpellout()
559 doTest(formatter, testData, true); in TestThaiSpellout()
586 doTest(enFormatter, enTestData, true); in TestPluralRules()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DRbnfRoundTripTest.java31 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT()
43 doTest(formatter, 0, 12345678); in TestDurationsRT()
55 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT()
67 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT()
79 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT()
91 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT()
103 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT()
115 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT()
127 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT()
139 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT()
[all …]
DRbnfTest.java298 doTest(formatter, testData, true); in TestEnglishSpellout()
328 doTest(formatter, testData, false); in TestOrdinalAbbreviations()
352 doTest(formatter, testData, true); in TestDurations()
387 doTest(formatter, testData, true); in TestSpanishSpellout()
427 doTest(formatter, testData, true); in TestFrenchSpellout()
467 doTest(formatter, testData, true); in TestSwissFrenchSpellout()
500 doTest(formatter, testData, true); in TestItalianSpellout()
531 doTest(formatter, testData, true); in TestGermanSpellout()
556 doTest(formatter, testData, true); in TestThaiSpellout()
583 doTest(enFormatter, enTestData, true); in TestPluralRules()
[all …]
/external/OpenCL-CTS/test_conformance/printf/
Dtest_printf.cpp85 static int doTest(cl_command_queue queue, cl_context context, const unsigned int testId, const unsi…
401 static int doTest(cl_command_queue queue, cl_context context, const unsigned int testId, const unsi… in doTest() function
572 return doTest(gQueue, gContext, TYPE_INT, 0, deviceID); in test_int_0()
576 return doTest(gQueue, gContext, TYPE_INT, 1, deviceID); in test_int_1()
580 return doTest(gQueue, gContext, TYPE_INT, 2, deviceID); in test_int_2()
584 return doTest(gQueue, gContext, TYPE_INT, 3, deviceID); in test_int_3()
588 return doTest(gQueue, gContext, TYPE_INT, 4, deviceID); in test_int_4()
592 return doTest(gQueue, gContext, TYPE_INT, 5, deviceID); in test_int_5()
596 return doTest(gQueue, gContext, TYPE_INT, 6, deviceID); in test_int_6()
600 return doTest(gQueue, gContext, TYPE_INT, 7, deviceID); in test_int_7()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIAPITest.java182 doTest(testString, p, q, 20, "This is a word break"); in TestFirstNextFollowing()
185 doTest(testString, p, q, 21, "."); in TestFirstNextFollowing()
188 doTest(testString, p, q, 28, " Isn't "); in TestFirstNextFollowing()
191 doTest(testString, p, q, 31, "it?"); in TestFirstNextFollowing()
193 doTest(testString, 2, q, 4, "is"); in TestFirstNextFollowing()
195 doTest(testString, 22, q, 27, "Isn't"); in TestFirstNextFollowing()
210 doTest(testString, p, q, 1, "W"); in TestFirstNextFollowing()
213 doTest(testString, p, q, 5, "rite"); in TestFirstNextFollowing()
216 doTest(testString, p, q, 17, " hindi here."); in TestFirstNextFollowing()
219 doTest(testString, p, q, 11, " here."); in TestFirstNextFollowing()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIAPITest.java185 doTest(testString, p, q, 20, "This is a word break"); in TestFirstNextFollowing()
188 doTest(testString, p, q, 21, "."); in TestFirstNextFollowing()
191 doTest(testString, p, q, 28, " Isn't "); in TestFirstNextFollowing()
194 doTest(testString, p, q, 31, "it?"); in TestFirstNextFollowing()
196 doTest(testString, 2, q, 4, "is"); in TestFirstNextFollowing()
198 doTest(testString, 22, q, 27, "Isn't"); in TestFirstNextFollowing()
213 doTest(testString, p, q, 1, "W"); in TestFirstNextFollowing()
216 doTest(testString, p, q, 5, "rite"); in TestFirstNextFollowing()
219 doTest(testString, p, q, 17, " hindi here."); in TestFirstNextFollowing()
222 doTest(testString, p, q, 11, " here."); in TestFirstNextFollowing()
[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 …]
/external/pdfium/testing/resources/javascript/
Dconsts.in39 function doTest(name, props) {
82 doTest("border", ["s", "b", "d", "i", "u", "nonesuch"]);
83 doTest("display", ["visible", "hidden", "noPrint", "noView", "nonesuch"]);
84 doTest("font", ["Times", "TimesB", "TimesI", "TimesBI", "Helv", "HelvB",
88 doTest("highlight", ["n", "i", "p", "o", "nonesuch"]);
89 doTest("position", ["textOnly", "iconOnly", "iconTextV", "textIconV",
92 doTest("scaleHow", ["proportional", "anamorphic", "nonesuch"]);
93 doTest("scaleWhen", ["always", "never", "tooBig", "tooSmall", "nonesuch"]);
94 doTest("style", ["ch", "cr", "di", "ci", "st", "sq", "nonesuch"]);
95 doTest("zoomtype", ["none", "fitP", "fitW", "fitH", "fitV", "pref", "refW",
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/
Dconstruct_pair_const_lvalue_pair.pass.cpp37 bool doTest(UsesAllocatorType TExpect, UsesAllocatorType UExpect, in doTest() function
75 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_uses_allocator()
80 assert((doTest<T, U>(UA_AllocArg, UA_AllocLast, p))); in test_pmr_uses_allocator()
85 assert((doTest<T, U>(UA_AllocLast, UA_AllocArg, p))); in test_pmr_uses_allocator()
90 assert((doTest<T, U>(UA_AllocArg, UA_None, p))); in test_pmr_uses_allocator()
100 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator()
105 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator()
110 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator()
115 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator()
Dconstruct_pair_rvalue.pass.cpp38 bool doTest(UsesAllocatorType TExpect, UsesAllocatorType UExpect, in doTest() function
74 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_uses_allocator()
79 assert((doTest<T, U>(UA_AllocArg, UA_AllocLast, std::move(p)))); in test_pmr_uses_allocator()
84 assert((doTest<T, U>(UA_AllocLast, UA_AllocArg, std::move(p)))); in test_pmr_uses_allocator()
89 assert((doTest<T, U>(UA_AllocArg, UA_None, std::move(p)))); in test_pmr_uses_allocator()
99 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator()
104 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator()
109 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator()
114 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator()
Dconstruct_pair_values.pass.cpp37 bool doTest(UsesAllocatorType TExpect, UsesAllocatorType UExpect, in doTest() function
73 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_uses_allocator()
79 assert((doTest<T, U>(UA_AllocArg, UA_AllocLast, in test_pmr_uses_allocator()
85 assert((doTest<T, U>(UA_AllocLast, UA_AllocArg, in test_pmr_uses_allocator()
91 assert((doTest<T, U>(UA_AllocArg, UA_None, in test_pmr_uses_allocator()
102 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator()
108 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator()
114 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator()
120 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator()
/external/OpenCL-CTS/test_conformance/select/
Dtest_select.cpp55 static int doTest(cl_command_queue queue, cl_context context,
294 static int doTest(cl_command_queue queue, cl_context context, Type stype, Type cmptype, cl_device_i… in doTest() function
473 return doTest(queue, context, kuchar, kuchar, deviceID); in test_select_uchar_uchar()
477 return doTest(queue, context, kuchar, kchar, deviceID); in test_select_uchar_char()
481 return doTest(queue, context, kchar, kuchar, deviceID); in test_select_char_uchar()
485 return doTest(queue, context, kchar, kchar, deviceID); in test_select_char_char()
489 return doTest(queue, context, kushort, kushort, deviceID); in test_select_ushort_ushort()
493 return doTest(queue, context, kushort, kshort, deviceID); in test_select_ushort_short()
497 return doTest(queue, context, kshort, kushort, deviceID); in test_select_short_ushort()
501 return doTest(queue, context, kshort, kshort, deviceID); in test_select_short_short()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DCollationDummyTest.java196 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
206 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
216 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
227 doTest(myCollation, testCases[i], testCases[j], -1); in TestExtra()
237 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestIdentical()
315 doTest(enCollation, source[count], target[count], -1); in TestSurrogates()
318 doTest(enCollation, source[count], target[count], 1); in TestSurrogates()
332 doTest(newCollation, source[count], target[count], -1); in TestSurrogates()
457 doTest(myCollator, x, y, 0); in TestJB1401()
458 doTest(myCollator, x, z, 0); in TestJB1401()
[all …]
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DCollationDummyTest.java193 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary()
203 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary()
213 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary()
224 doTest(myCollation, testCases[i], testCases[j], -1); in TestExtra()
234 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestIdentical()
312 doTest(enCollation, source[count], target[count], -1); in TestSurrogates()
315 doTest(enCollation, source[count], target[count], 1); in TestSurrogates()
329 doTest(newCollation, source[count], target[count], -1); in TestSurrogates()
454 doTest(myCollator, x, y, 0); in TestJB1401()
455 doTest(myCollator, x, z, 0); in TestJB1401()
[all …]
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/
Dexplicit_bool.pass.cpp23 void doTest(UPtr& p, bool ExpectTrue) { in doTest() function
52 doTest(p, true); in test_basic()
53 doTest(cp, true); in test_basic()
58 doTest(p, false); in test_basic()
59 doTest(cp, false); in test_basic()
/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/dokka/runners/gradle-integration-tests/src/test/kotlin/org/jetbrains/dokka/gradle/
DMultiProjectSingleOutTest.kt21 private fun doTest(gradleVersion: String, kotlinVersion: String) { in doTest() method
43 doTest("3.5", "1.1.2") in test kotlin 1_1_2 and gradle 3_5()
47 doTest("2.14.1", "1.0.7") in test kotlin 1_0_7 and gradle 2_14_1()
51 doTest("4.0", "1.1.2") in test kotlin 1_1_2 and gradle 4_0()
55 doTest("4.5", "1.2.20") in test kotlin 1_2_20 and gradle 4_5()
DBasicTest.kt19 private fun doTest(gradleVersion: String, kotlinVersion: String) { in doTest() method
41 doTest("3.5", "1.1.2") in test kotlin 1_1_2 and gradle 3_5()
45 doTest("2.14.1", "1.0.7") in test kotlin 1_0_7 and gradle 2_14_1()
49 doTest("4.0", "1.1.2") in test kotlin 1_1_2 and gradle 4_0()
53 doTest("4.5", "1.2.20") in test kotlin 1_2_20 and gradle 4_5()

123456