Home
last modified time | relevance | path

Searched refs:getPassedTests (Results 1 – 25 of 97) sorted by relevance

1234

/external/testng/src/test/java/test/name/
DNameTest.java28 Assert.assertEquals(adapter.getPassedTests().size(), 1); in itestTest()
29 ITestResult result = adapter.getPassedTests().get(0); in itestTest()
45 Assert.assertEquals(adapter.getPassedTests().size(), 1); in itestTestWithXml()
46 ITestResult result = adapter.getPassedTests().get(0); in itestTestWithXml()
62 Assert.assertEquals(adapter.getPassedTests().size(), 1); in testNameTest()
63 ITestResult result = adapter.getPassedTests().get(0); in testNameTest()
79 Assert.assertEquals(adapter.getPassedTests().size(), 1); in testNameTestWithXml()
80 ITestResult result = adapter.getPassedTests().get(0); in testNameTestWithXml()
96 Assert.assertEquals(adapter.getPassedTests().size(), 1); in noNameTest()
97 ITestResult result = adapter.getPassedTests().get(0); in noNameTest()
[all …]
/external/testng/src/test/java/test/
DInvocationAndSuccessPercentageTest.java22 verifyResults(getPassedTests(), 10, "passed tests"); in invocationCount()
30 verifyTests("Passed", passed, getPassedTests()); in invocationCount()
54 verifyTests("Passed", passed, getPassedTests()); in successPercentageThatSucceeds()
58 verifyResults(getPassedTests(), 8, "passed tests"); in successPercentageThatSucceeds()
86 verifyTests("Passed", passed, getPassedTests()); in successPercentageThatFails()
90 verifyResults(getPassedTests(), 8, "passed tests"); in successPercentageThatFails()
DJUnitTest1.java36 verifyTests("Passed", passed, getPassedTests()); in methodsThatStartWithTest()
50 verifyTests("Passed", passed, getPassedTests()); in methodsWithSetup()
65 verifyTests("Passed", passed, getPassedTests()); in testSuite()
79 verifyTests("Passed", passed, getPassedTests()); in testNewInstance()
95 verifyTests("Passed", passed, getPassedTests()); in setUpFailingShouldCauseMethodsToBeSkipped()
112 verifyTests("Passed", passed, getPassedTests()); in setNameShouldBeInvoked()
134 verifyTests("Passed", passed, getPassedTests()); in testAbstract()
DTest1.java30 verifyTests("Passed", passed, getPassedTests()); in includedGroups()
50 verifyTests("Passed", passed, getPassedTests()); in groupsOfGroupsSimple()
73 verifyTests("Passed", passed, getPassedTests()); in groupsOfGroupsWithIndirections()
89 verifyTests("Passed", passed, getPassedTests()); in groupsOfGroupsWithCycle()
106 verifyTests("Passed", passed, getPassedTests()); in excludedGroups()
121 verifyTests("Passed", passed, getPassedTests()); in regexp()
DJUnit4Test.java31 verifyTests("Passed", passed, getPassedTests()); in testTests()
46 verifyTests("Passed", passed, getPassedTests()); in testSuite()
61 verifyTests("Passed", passed, getPassedTests()); in testSuiteInheritance()
77 verifyTests("Passed", passed, getPassedTests()); in testTestInheritance()
92 verifyTests("Passed", passed, getPassedTests()); in testTestParameterized()
DTest2.java42 verifyTests("Passed", passed, getPassedTests()); in noGroups()
63 verifyTests("Passed", passed, getPassedTests()); in partialGroupsClass()
83 verifyTests("Passed", passed, getPassedTests()); in partialGroupsMethod()
DMethodTest.java22 verifyTests("Passed", passed, getPassedTests()); in includeMethodsOnly()
37 verifyTests("Passed", passed, getPassedTests()); in excludeMethodsOnly()
51 verifyTests("Passed", passed, getPassedTests()); in excludePackage()
DCommandLineTest.java34 List<ITestResult> passed = tla.getPassedTests(); in junitParsing()
56 List<ITestResult> passed = tla.getPassedTests(); in junitParsing2()
123 List<ITestResult> passed = tla.getPassedTests(); in testMethodParameter()
/external/testng/src/test/java/test/methodselectors/
DCommandLineTest.java61 verifyTests("Passed", passed, tla.getPassedTests()); in commandLineNegativePriorityAllGroups()
75 verifyTests("Passed", passed, tla.getPassedTests()); in commandLineNegativePriorityGroup2()
90 verifyTests("Passed", passed, tla.getPassedTests()); in commandLineLessThanPriorityTest1Test()
105 verifyTests("Passed", passed, tla.getPassedTests()); in commandLineGreaterThanPriorityTest1Test2()
119 verifyTests("Passed", passed, tla.getPassedTests()); in commandLineLessThanPriorityAllTests()
134 verifyTests("Passed", passed, tla.getPassedTests()); in commandLineMultipleSelectors()
148 verifyTests("Passed", passed, tla.getPassedTests()); in commandLineNoTest1Selector()
163 verifyTests("Passed", passed, tla.getPassedTests()); in commandLineTestWithXmlFile()
DMethodSelectorTest.java19 verifyTests("Passed", passed, getPassedTests()); in negativePriorityAllGroups()
33 verifyTests("Passed", passed, getPassedTests()); in negativePriorityGroup2()
48 verifyTests("Passed", passed, getPassedTests()); in lessThanPriorityTest1Test()
63 verifyTests("Passed", passed, getPassedTests()); in greaterThanPriorityTest1Test2()
78 verifyTests("Passed", passed, getPassedTests()); in lessThanPriorityAllTests()
/external/testng/src/test/java/test/pkg/
DPackageTest.java28 verifyTests("Passed", passed, getPassedTests()); in stringSingle()
48 verifyTests("Passed", passed, getPassedTests()); in packageWithRegExp1()
61 verifyTests("Passed", passed, getPassedTests()); in packageWithRegExp2()
74 verifyTests("Passed", passed, getPassedTests()); in packageWithRegExp3()
87 verifyTests("Passed", passed, getPassedTests()); in packageWithRegExp4()
99 verifyTests("Passed", passed, getPassedTests()); in packageWithRegExp5()
/external/testng/src/test/java/test/jarpackages/
DJarPackagesTest.java31 Assert.assertEquals(tla.getPassedTests().size(), 2); in jarWithTestngXml()
32 String first = tla.getPassedTests().get(0).getName(); in jarWithTestngXml()
33 String second = tla.getPassedTests().get(1).getName(); in jarWithTestngXml()
42 Assert.assertEquals(tla.getPassedTests().size(), 2); in jarWithoutTestngXml()
43 String first = tla.getPassedTests().get(0).getName(); in jarWithoutTestngXml()
44 String second = tla.getPassedTests().get(1).getName(); in jarWithoutTestngXml()
/external/testng/src/test/java/test/dependent/
DImplicitGroupInclusionTest.java23 verifyTests("Passed", passed, getPassedTests()); in verifyImplicitGroupInclusion()
41 verifyTests("Passed", passed, getPassedTests()); in verifyImplicitGroupInclusion2()
59 verifyTests("Passed", passed, getPassedTests()); in verifyImplicitGroupInclusion4()
78 verifyTests("Passed", passed, getPassedTests()); in verifyImplicitGroupInclusion3()
96 verifyTests("Passed", passed, getPassedTests()); in verifyImplicitMethodInclusion()
DDependentTest.java22 verifyTests("Passed", passed, getPassedTests()); in simpleSkip()
34 verifyTests("Passed", passed, getPassedTests()); in dependentMethods()
46 verifyTests("Passed", passed, getPassedTests()); in dependentMethodsWithSkip()
59 verifyTests("Passed", passed, getPassedTests()); in dependentMethodsWithNonExistentMethod()
83 verifyTests("Passed", passed, getPassedTests()); in multipleSkips()
92 verifyInstanceNames("Passed", getPassedTests(), in instanceDependencies()
DDependentAlwaysRunTest.java22 verifyTests("Passed", passed, getPassedTests()); in verifyDependsOnMethodsAlwaysRun()
40 verifyTests("Passed", passed, getPassedTests()); in verifyDependsOnGroups1AlwaysRun()
58 verifyTests("Passed", passed, getPassedTests()); in verifyDependsOnGroups2AlwaysRun()
/external/testng/src/test/java/test/annotationtransformer/
DAnnotationTransformerTest.java45 assertThat(tla.getPassedTests()).extracting(NAME_EXTRACTOR) in verifyAnnotationWithoutTransformer()
74 assertThat(tla.getPassedTests()).extracting(NAME_EXTRACTOR) in verifyAnnotationTransformerMethod()
140 passedName != null ? tla.getPassedTests() : tla.getFailedTests(); in runTest()
187 Assert.assertEquals(tla.getPassedTests().size(), 1); in verifyDataProviderTransformer()
200 Assert.assertEquals(tla.getPassedTests().size(), 1); in verifyFactoryTransformer()
212 Assert.assertEquals(tla.getPassedTests().size(), 3); in verifyInvocationCountTransformer()
222 Assert.assertEquals(tla.getPassedTests().size(), 5); in verifyInvocationCountTransformer()
249 Assert.assertEquals(tla.getPassedTests().size(), 1); in annotationTransformerInXmlShouldBeRun()
/external/testng/src/test/java/test/methodinterceptors/multipleinterceptors/
DMultipleInterceptorsTest.java23 Assert.assertEquals(tla.getPassedTests().size(), 1); in testMultipleInterceptors()
24 Assert.assertEquals(tla.getPassedTests().get(0).getName(), "d"); in testMultipleInterceptors()
35 Assert.assertEquals(tla.getPassedTests().get(0).getMethod().getDescription(), "abc"); in testMultipleInterceptorsWithPreserveOrder()
/external/testng/src/test/java/test/mixed/
DMixedTest.java28 …Assert.assertEquals(tla.getPassedTests().size(), 5); //2 from junit3test1, 2 from junit4test1, 0 f… in mixedWithExcludedGroups()
44 Assert.assertEquals(tla.getPassedTests().size(), 6); in mixedClasses()
59 Assert.assertEquals(tla.getPassedTests().size(), 3); in mixedMethods()
/external/testng/src/test/java/test/hook/
DHookableTest.java45 verifyTests("Passed", new String[] { "verify" }, getPassedTests()); in hookSuccess()
56 verifyTests("Passed", new String[] { "verify" }, getPassedTests()); in issue599()
67 verifyTests("Passed", new String[] { "verify" }, getPassedTests()); in issue862()
75 verifyTests("Passed", new String[] { "verify" }, getPassedTests()); in hookSuccessWithListener()
/external/testng/src/test/java/test/sanitycheck/
DCheckTestNamesTest.java46 Assert.assertEquals(tla.getPassedTests().size(), 0); in runSuite()
63 Assert.assertEquals(tla.getPassedTests().size(), 2); in checkNoError()
77 Assert.assertEquals(tla.getPassedTests().size(), 4); in checkNoErrorWtihChildSuites()
/external/testng/src/test/java/test/methodinterceptors/
DMethodInterceptorTest.java54 Assert.assertEquals(tla.getPassedTests().size(), 0); in testNullInterceptor()
70 Assert.assertEquals(tla.getPassedTests().size(), 3); in testFast()
71 ITestResult first = tla.getPassedTests().get(0); in testFast()
/external/testng/src/test/java/test/superclass/
DMainTest.java18 verifyTests("Passed", passed, getPassedTests()); in baseMethodIsCalledWithMethodTest()
31 verifyTests("Passed", passed, getPassedTests()); in baseMethodIsCalledWithClassTest()
/external/testng/src/test/java/test/parameters/
DParameterTest.java30 verifyTests("Passed", passed, getPassedTests()); in stringSingle()
44 verifyTests("Passed", passed, getPassedTests()); in beforeMethodWithParameters()
/external/testng/src/test/java/test/dataprovider/
DTestNG411Test.java19 Assert.assertEquals(al.getPassedTests().size(), 1); in verify()
20 …Assert.assertEquals(al.getPassedTests().get(0).getMethod().getMethodName(), "checkMinTest_injectio… in verify()
/external/testng/src/test/java/test/testnames/
DTestNamesTest.java22 Assert.assertEquals(tla.getPassedTests().size(), 1); in checkWithoutChildSuites()
23 … Assert.assertEquals(tla.getPassedTests().get(0).getMethod().getMethodName(), "sampleOutputTest2"); in checkWithoutChildSuites()

1234