/external/smali/util/src/test/java/org/jf/util/ |
D | LinearSearchTest.java | 46 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-core-testing-bdd/src/test/java/com/github/javaparser/visitors/ |
D | PositionTestVisitor.java | 46 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/ |
D | ParserTest.java | 44 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 …]
|
/external/nullaway/nullaway/src/test/java/com/uber/nullaway/ |
D | NullAwayCoreTests.java | 36 defaultCompilationHelper.addSourceFile("NullAwayPositiveCases.java").doTest(); in coreNullabilityPositiveCases() 41 defaultCompilationHelper.addSourceFile("NullAwayAnonymousClass.java").doTest(); in nullabilityAnonymousClass() 51 .doTest(); in coreNullabilityNegativeCases() 56 defaultCompilationHelper.addSourceFile("CheckAssertSupportPositiveCases.java").doTest(); in assertSupportPositiveCases() 68 .doTest(); in assertSupportNegativeCases() 97 .doTest(); in testGenericAnonymousInner() 129 .doTest(); in erasedIterator() 151 .doTest(); in compoundAssignment() 167 .doTest(); in arrayIndexUnbox() 181 .doTest(); in cfNullableArrayField() [all …]
|
D | NullAwayFrameworkTests.java | 8 defaultCompilationHelper.addSourceFile("lombok/LombokBuilderInit.java").doTest(); in lombokSupportTesting() 17 .doTest(); in coreNullabilityNativeModels() 22 defaultCompilationHelper.addSourceFile("NullAwayRxSupportPositiveCases.java").doTest(); in rxSupportPositiveCases() 27 defaultCompilationHelper.addSourceFile("NullAwayRxSupportNegativeCases.java").doTest(); in rxSupportNegativeCases() 32 defaultCompilationHelper.addSourceFile("NullAwayStreamSupportNegativeCases.java").doTest(); in streamSupportNegativeCases() 37 defaultCompilationHelper.addSourceFile("NullAwayStreamSupportPositiveCases.java").doTest(); in streamSupportPositiveCases() 55 .doTest(); in supportObjectsIsNull() 77 .doTest(); in testJDKPathGetParentModel() 96 .doTest(); in defaultLibraryModelsObjectNonNull() 125 .doTest(); in checkForNullSupport() [all …]
|
D | NullAwayAndroidTest.java | 38 .doTest(); in coreFragmentSuccess() 47 .doTest(); in coreFragmentMissingOnAttachError() 56 .doTest(); in coreFragmentMissingOnCreateError() 65 .doTest(); in coreFragmentMissingOnCreateViewError() 75 .doTest(); in androidxFragmentSuccess() 84 .doTest(); in androidxFragmentMissingOnAttachError() 93 .doTest(); in androidxFragmentMissingOnCreateError() 102 .doTest(); in androidxFragmentMissingOnCreateViewError() 113 .doTest(); in supportLibFragmentSuccess() 122 .doTest(); in supportLibFragmentMissingOnAttachError() [all …]
|
D | NullAwayAcknowledgeRestrictiveAnnotationsTests.java | 38 .doTest(); in generatedAsUnannotatedPlusRestrictive() 64 .doTest(); in defaultPermissiveOnUnannotated() 92 .doTest(); in acknowledgeRestrictiveAnnotationsWhenFlagSet() 119 .doTest(); in defaultPermissiveOnRecently() 146 .doTest(); in acknowledgeRecentlyAnnotationsWhenFlagSet() 177 .doTest(); in restrictivelyAnnotatedMethodsWorkWithNullnessFromDataflow() 202 .doTest(); in restrictivelyAnnotatedMethodsWorkWithNullnessFromDataflow2() 242 .doTest(); in overridingRestrictivelyAnnotatedMethod() 268 .doTest(); in lambdaPlusRestrictivePositive() 293 .doTest(); in lambdaPlusRestrictiveNegative() [all …]
|
D | NullAwayOptionalEmptinessTests.java | 80 .doTest(); in optionalEmptinessHandlerTest() 161 .doTest(); in optionalEmptinessHandlerWithSingleCustomPathTest() 240 .doTest(); in optionalEmptinessHandlerWithTwoCustomPathsTest() 274 .doTest(); in optionalEmptinessUncheckedTest() 305 .doTest(); in optionalEmptinessRxPositiveTest() 336 .doTest(); in optionalEmptinessRxNegativeTest() 371 .doTest(); in optionalEmptinessHandleAssertionLibraryTest() 405 .doTest(); in optionalEmptinessAssignmentCheckNegativeTest() 439 .doTest(); in optionalEmptinessAssignmentCheckPositiveTest() 506 .doTest(); in optionalEmptinessContextualSuppressionTest()
|
D | NullAwayAssertionLibsTests.java | 29 .doTest(); in supportTruthAssertThatIsNotNull_Object() 52 .doTest(); in supportTruthAssertThatIsNotNull_String() 77 .doTest(); in doNotSupportTruthAssertThatWhenDisabled() 104 .doTest(); in supportHamcrestAssertThatMatchersIsNotNull() 130 .doTest(); in doNotSupportHamcrestAssertThatWhenDisabled() 157 .doTest(); in supportHamcrestAssertThatCoreMatchersIsNotNull() 185 .doTest(); in supportHamcrestAssertThatCoreIsNotNull() 212 .doTest(); in supportJunitAssertThatIsNotNull_Object() 238 .doTest(); in doNotSupportJunitAssertThatWhenDisabled()
|
D | NullAwayInitializationTests.java | 8 defaultCompilationHelper.addSourceFile("CheckFieldInitPositiveCases.java").doTest(); in initFieldPositiveCases() 13 defaultCompilationHelper.addSourceFile("CheckFieldInitNegativeCases.java").doTest(); in initFieldNegativeCases() 21 .doTest(); in readBeforeInitPositiveCases() 29 .doTest(); in readBeforeInitNegativeCases() 68 .doTest(); in externalInitSupport() 108 .doTest(); in externalInitSupportFields() 128 .doTest(); in testEnumInit()
|
D | NullAwayContractsTests.java | 17 .doTest(); in checkContractPositiveCases() 29 .doTest(); in checkContractNegativeCases() 68 .doTest(); in basicContractAnnotation() 104 .doTest(); in impliesNonNullContractAnnotation() 142 .doTest(); in malformedContractAnnotations() 170 .doTest(); in contractNonVarArg() 209 .doTest(); in contractPureOnlyIgnored() 268 .doTest(); in customContractAnnotation()
|
D | NullAwayUnannotatedTests.java | 15 .doTest(); in coreNullabilitySkipClass() 37 .doTest(); in skipClass() 66 .doTest(); in skipNestedClass() 71 defaultCompilationHelper.addSourceFile("unannotated/UnannotatedClass.java").doTest(); in coreNullabilitySkipPackage() 97 .doTest(); in generatedAsUnannotated() 129 .doTest(); in unannotatedClass() 172 .doTest(); in overrideFailsOnExplicitlyNullableLibraryModelParam()
|
D | NullAwayKeySetIteratorTests.java | 21 .doTest(); in mapKeySetIteratorBasic() 41 .doTest(); in mapKeySetIteratorShadowing() 75 .doTest(); in mapKeySetIteratorDeeperAccessPath() 97 .doTest(); in unhandledCases() 132 .doTest(); in nestedLoops() 161 .doTest(); in declaredTypeSubtypeOfMap()
|
D | NullAwayEnsuresNonNullTests.java | 32 .doTest(); in requiresNonNullInterpretation() 71 .doTest(); in requiresEnsuresNonNullStaticFields() 133 .doTest(); in supportRequiresNonNullOverridingTest() 176 .doTest(); in ensuresNonNullInterpretation() 225 .doTest(); in supportEnsuresNonNullOverridingTest() 306 .doTest(); in supportEnsuresAndRequiresNonNullContract()
|
D | NullAwayAutoSuggestNoCastTest.java | 110 .doTest(BugCheckerRefactoringTestHelper.TestMode.TEXT_MATCH); // Yes we can! in suggestSuppressionWithComment() 132 .doTest(BugCheckerRefactoringTestHelper.TestMode.TEXT_MATCH); in suggestSuppressionWithoutComment() 161 .doTest(BugCheckerRefactoringTestHelper.TestMode.TEXT_MATCH); in suggestSuppressionFieldLambdaDeref() 192 .doTest(BugCheckerRefactoringTestHelper.TestMode.TEXT_MATCH); in suggestSuppressionFieldLambdaUnbox() 223 .doTest(BugCheckerRefactoringTestHelper.TestMode.TEXT_MATCH); in suggestSuppressionFieldLambdaAssignment() 259 .doTest(BugCheckerRefactoringTestHelper.TestMode.TEXT_MATCH); in suggestLambdaAssignInMethod() 294 .doTest(BugCheckerRefactoringTestHelper.TestMode.TEXT_MATCH); in suppressMethodRefOverrideParam() 331 .doTest(BugCheckerRefactoringTestHelper.TestMode.TEXT_MATCH); in suppressMethodRefOverrideReturn()
|
/external/OpenCL-CTS/test_conformance/printf/ |
D | test_printf.cpp | 85 static int doTest(cl_command_queue queue, cl_context context, const unsigned int testId, const unsi… 407 static int doTest(cl_command_queue queue, cl_context context, const unsigned int testId, const unsi… in doTest() function 583 return doTest(gQueue, gContext, TYPE_INT, 0, deviceID); in test_int_0() 587 return doTest(gQueue, gContext, TYPE_INT, 1, deviceID); in test_int_1() 591 return doTest(gQueue, gContext, TYPE_INT, 2, deviceID); in test_int_2() 595 return doTest(gQueue, gContext, TYPE_INT, 3, deviceID); in test_int_3() 599 return doTest(gQueue, gContext, TYPE_INT, 4, deviceID); in test_int_4() 603 return doTest(gQueue, gContext, TYPE_INT, 5, deviceID); in test_int_5() 607 return doTest(gQueue, gContext, TYPE_INT, 6, deviceID); in test_int_6() 611 return doTest(gQueue, gContext, TYPE_INT, 7, deviceID); in test_int_7() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBIAPITest.java | 185 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/rbbi/ |
D | RBBIAPITest.java | 182 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/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RbnfRoundTripTest.java | 31 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 …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | RbnfRoundTripTest.java | 34 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 …]
|
/external/nullaway/jdk17-unit-tests/src/test/java/com/uber/nullaway/jdk17/ |
D | NullAwayRecordTests.java | 43 .doTest(); in testRecordConstructorCalls() 62 .doTest(); in testRecordInstanceMethodCalls() 88 .doTest(); in testRecordInstanceMethods() 114 .doTest(); in testRecordFields() 133 .doTest(); in testRecordConstructor() 161 .doTest(); in testRecordImplementsInterface() 179 .doTest(); in testLocalRecord()
|
D | NullAwaySwitchTests.java | 66 .doTest(); in testSwitchExpressionAssign() 83 .doTest(); in testDirectlyDerefedSwitchExpr() 101 .doTest(); in testPassingSwitchExprAsParam() 135 .doTest(); in testSwitchStmtArrowCase() 157 .doTest(); in testSwitchExprUnbox() 175 .doTest(); in testSwitchExprLambda()
|
/external/icu/icu4c/source/test/intltest/ |
D | itrbnfrt.cpp | 72 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/ |
D | consts.in | 39 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/ |
D | construct_pair_const_lvalue_pair.pass.cpp | 37 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()
|