Home
last modified time | relevance | path

Searched refs:doTest (Results 1 – 25 of 132) 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/javaparser/javaparser-testing/src/test/java/com/github/javaparser/bdd/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/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/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/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/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/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.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/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()
Dconstruct_piecewise_pair.pass.cpp37 bool doTest(UsesAllocatorType TExpect, UsesAllocatorType UExpect, in doTest() function
63 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_uses_allocator()
69 assert((doTest<T, U>(UA_AllocArg, UA_AllocLast, in test_pmr_uses_allocator()
75 assert((doTest<T, U>(UA_AllocLast, UA_AllocArg, in test_pmr_uses_allocator()
81 assert((doTest<T, U>(UA_AllocArg, UA_None, in test_pmr_uses_allocator()
92 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator()
98 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator()
104 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator()
110 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator()
/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/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/tensorflow/tensorflow/contrib/opt/python/training/
Dweight_decay_optimizers_test.py58 def doTest(self, optimizer, update_fn, optimizer_name, slot_name, member in WeightDecayOptimizerTest
128 self.doTest(self.get_optimizer, adamw_update_numpy, "AdamW", "m",
132 self.doTest(self.get_optimizer, adamw_update_numpy, "AdamW", "m",
136 self.doTest(self.get_optimizer, adamw_update_numpy, "AdamW", "m",
141 self.doTest(self.get_optimizer, adamw_update_numpy, "AdamW", "m",
152 self.doTest(self.get_optimizer, momentumw_update_numpy, "MomentumW",
156 self.doTest(self.get_optimizer, momentumw_update_numpy, "MomentumW",
160 self.doTest(self.get_optimizer, momentumw_update_numpy, "MomentumW",
165 self.doTest(self.get_optimizer, momentumw_update_numpy, "MomentumW",
178 self.doTest(self.get_optimizer, adamw_update_numpy, "Adam", "m",
[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/python/cpython2/Lib/test/
Dtest_zipimport.py69 def doTest(self, expected_ext, files, *modules, **kw): member in UncompressedZipImportTestCase
131 self.doTest(".py", files, "zlib")
141 self.doTest(".py", files, TESTMOD)
145 self.doTest(pyc_ext, files, TESTMOD)
150 self.doTest(pyc_ext, files, TESTMOD)
154 self.doTest(None, files, TESTMOD)
163 self.doTest(".py", files, TESTMOD)
172 self.doTest(".py", files, TESTMOD)
185 self.doTest(".py", files, TESTMOD)
191 self.doTest(pyc_ext, files, TESTPACK, TESTMOD)
[all …]
/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/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()

123456