/external/testng/src/test/java/test/mixed/ |
MixedTest.java | 25 TestListenerAdapter tla = new TestListenerAdapter(); local 26 TestNG.privateMain(argv, tla); 28 Assert.assertEquals(tla.getPassedTests().size(), 5); //2 from junit3test1, 2 from junit4test1, 0 from testngtest1 (no groups), 1 from testnggroups (1 is included, 1 is excluded) 29 Assert.assertEquals(tla.getFailedTests().size(), 0); 41 TestListenerAdapter tla = new TestListenerAdapter(); local 42 TestNG.privateMain(argv, tla); 44 Assert.assertEquals(tla.getPassedTests().size(), 6); 45 Assert.assertEquals(tla.getFailedTests().size(), 0); 56 TestListenerAdapter tla = new TestListenerAdapter(); local 57 TestNG.privateMain(argv, tla); [all...] |
/external/testng/src/test/java/test/inheritance/testng234/ |
PolymorphicFailureTest.java | 17 TestListenerAdapter tla = new TestListenerAdapter(); local 18 tng.addListener(tla); 21 assertTestResultsEqual(tla.getSkippedTests(), Arrays.asList( 25 Assert.assertEquals(0, tla.getPassedTests().size()); 26 Assert.assertEquals(0, tla.getFailedTests().size());
|
/external/testng/src/test/java/test/skipex/ |
SkipAndExpectedTest.java | 15 TestListenerAdapter tla = new TestListenerAdapter(); local 16 tng.addListener(tla); 19 Assert.assertEquals(tla.getPassedTests().size(), 0); 20 Assert.assertEquals(tla.getSkippedTests().size(), 1); 21 Assert.assertEquals(tla.getFailedTests().size(), 0);
|
/external/testng/src/test/java/test/configurationfailurepolicy/ |
FailurePolicyTest.java | 45 TestListenerAdapter tla = new TestListenerAdapter(); local 49 testng.addListener(tla); 54 verify(tla, configurationFailures, configurationSkips, skippedTests); 62 TestListenerAdapter tla = new TestListenerAdapter(); local 63 TestNG.privateMain(argv, tla); 65 verify(tla, 1, 1, 2); 73 TestListenerAdapter tla = new TestListenerAdapter(); local 74 TestNG.privateMain(argv, tla); 76 verify(tla, 2, 0, 2); 83 TestListenerAdapter tla = new TestListenerAdapter() local 93 TestListenerAdapter tla = new TestListenerAdapter(); local [all...] |
/external/testng/src/test/java/test/methodselectors/ |
CommandLineTest.java | 43 private TestListenerAdapter tla; field in class:CommandLineTest 48 tla = new TestListenerAdapter(); 55 TestNG.privateMain(ARG_WITHOUT_GROUPS, tla); 61 verifyTests("Passed", passed, tla.getPassedTests()); 62 verifyTests("Failed", failed, tla.getFailedTests()); 69 TestNG.privateMain(ARG_WITHOUT_GROUPS, tla); 75 verifyTests("Passed", passed, tla.getPassedTests()); 76 verifyTests("Failed", failed, tla.getFailedTests()); 84 TestNG.privateMain(ARG_WITH_GROUPS, tla); 90 verifyTests("Passed", passed, tla.getPassedTests()) [all...] |
/external/testng/src/test/java/test/invocationcount/ |
FailedInvocationCountTest.java | 17 TestListenerAdapter tla = new TestListenerAdapter(); local 18 testng.addListener(tla); 21 Assert.assertEquals(tla.getPassedTests().size(), passed); 22 Assert.assertEquals(tla.getFailedTests().size(), failed); 23 Assert.assertEquals(tla.getSkippedTests().size(), skipped); 41 TestListenerAdapter tla = new TestListenerAdapter(); local 42 testng.addListener(tla); 45 Assert.assertEquals(tla.getPassedTests().size(), 8); 46 Assert.assertEquals(tla.getFailedTests().size(), 7); 47 Assert.assertEquals(tla.getSkippedTests().size(), 5) [all...] |
/external/testng/src/test/java/test/abstractmethods/ |
AbstractTest.java | 14 TestListenerAdapter tla = new TestListenerAdapter(); local 15 tng.addListener(tla); 18 Assert.assertEquals(tla.getPassedTests().size(), 2);
|
/external/testng/src/test/java/test/dataprovider/ |
ExplicitDataProviderNameTest.java | 16 TestListenerAdapter tla = new TestListenerAdapter(); local 17 testng.addListener(tla); 20 assertEquals(tla.getPassedTests().size(), 1, "All tests should success");
|
FailingIterableDataProviderTest.java | 18 TestListenerAdapter tla = new TestListenerAdapter(); local 19 testng.addListener(tla); 26 Assert.assertEquals(tla.getFailedTests().size(), 1, 28 Assert.assertEquals(tla.getPassedTests().size(), 5,
|
/external/testng/src/test/java/test/factory/ |
FactoryInSuperClassTest.java | 15 TestListenerAdapter tla = new TestListenerAdapter(); local 16 tng.addListener(tla); 19 Assert.assertEquals(tla.getPassedTests().size(), 1);
|
DisabledFactoryTest.java | 15 TestListenerAdapter tla = new TestListenerAdapter(); local 18 Assert.assertEquals(tla.getPassedTests().size(), 0); 19 Assert.assertEquals(tla.getSkippedTests().size(), 0); 20 Assert.assertEquals(tla.getFailedTests().size(), 0);
|
FactoryWithDataProviderTest.java | 18 TestListenerAdapter tla = new TestListenerAdapter(); local 19 tng.addListener(tla); 22 Assert.assertEquals(tla.getPassedTests().size(), 4);
|
/external/testng/src/test/java/test/regression/ |
BeforeTestFailingTest.java | 15 TestListenerAdapter tla = new TestListenerAdapter(); local 16 tng.addListener(tla); 19 Assert.assertEquals(tla.getSkippedTests().size(), 1); 20 Assert.assertEquals(tla.getPassedTests().size(), 0);
|
/external/testng/src/test/java/test/thread/ |
ThreadPoolSizeWithTimeOutTest.java | 24 TestListenerAdapter tla = new TestListenerAdapter(); local 25 tng.addListener(tla); 28 Assert.assertEquals(0, tla.getPassedTests().size()); 29 Assert.assertEquals(1, tla.getFailedTests().size());
|
/external/testng/src/test/java/test/ |
ReturnValueTest.java | 44 TestListenerAdapter tla = new TestListenerAdapter(); local 45 tng.addListener(tla); 49 Assert.assertEquals(tla.getFailedTests().size(), 0); 50 Assert.assertEquals(tla.getSkippedTests().size(), 0); 51 assertTestResultsEqual(tla.getPassedTests(), Arrays.asList("shouldRun")); 53 Assert.assertEquals(tla.getFailedTests().size(), 0); 54 Assert.assertEquals(tla.getPassedTests().size(), 0); 55 Assert.assertEquals(tla.getSkippedTests().size(), 0);
|
CheckSuitesInitializationTest.java | 33 TestListenerAdapter tla = new TestListenerAdapter(); local 37 tng.addListener(tla); 39 Assert.assertEquals(tla.getPassedTests().size(), 4);
|
/external/testng/src/test/java/test/testnames/ |
TestNamesTest.java | 15 TestListenerAdapter tla = new TestListenerAdapter(); local 19 tng.addListener(tla); 21 Assert.assertEquals(tla.getFailedTests().size(), 0); 22 Assert.assertEquals(tla.getPassedTests().size(), 1); 23 Assert.assertEquals(tla.getPassedTests().get(0).getMethod().getMethodName(), "sampleOutputTest2");
|
/external/testng/src/test/java/test/timeout/ |
TimeOutIntegrationTest.java | 17 TestListenerAdapter tla = new TestListenerAdapter(); local 18 tng.addListener(tla); 22 Assert.assertEquals(tla.getFailedTests().size(), 1); 23 Assert.assertEquals(tla.getSkippedTests().size(), 0); 24 Assert.assertEquals(tla.getPassedTests().size(), 0);
|
/external/testng/src/test/java/test/annotationtransformer/ |
AnnotationTransformerTest.java | 40 TestListenerAdapter tla = new TestListenerAdapter(); local 41 tng.addListener(tla); 45 assertThat(tla.getPassedTests()).extracting(NAME_EXTRACTOR) 52 assertThat(tla.getFailedTests()).extracting(NAME_EXTRACTOR) 67 TestListenerAdapter tla = new TestListenerAdapter(); local 68 tng.addListener(tla); 74 assertThat(tla.getPassedTests()).extracting(NAME_EXTRACTOR) 82 assertThat(tla.getFailedTests()).isEmpty(); 134 TestListenerAdapter tla = new TestListenerAdapter(); local 135 tng.addListener(tla); 169 TestListenerAdapter tla = new TestListenerAdapter(); local 182 TestListenerAdapter tla = new TestListenerAdapter(); local 195 TestListenerAdapter tla = new TestListenerAdapter(); local 207 TestListenerAdapter tla = new TestListenerAdapter(); local 244 TestListenerAdapter tla = new TestListenerAdapter(); local [all...] |
/external/testng/src/test/java/test/methodinterceptors/multipleinterceptors/ |
MultipleInterceptorsTest.java | 20 TestListenerAdapter tla = new TestListenerAdapter(); local 21 tng.addListener(tla); 23 Assert.assertEquals(tla.getPassedTests().size(), 1); 24 Assert.assertEquals(tla.getPassedTests().get(0).getName(), "d"); 32 TestListenerAdapter tla = new TestListenerAdapter(); local 33 tng.addListener(tla); 35 Assert.assertEquals(tla.getPassedTests().get(0).getMethod().getDescription(), "abc");
|
/external/testng/src/test/java/test/conffailure/ |
ConfigurationFailure.java | 21 TestListenerAdapter tla = new TestListenerAdapter(); local 28 testng.addListener(tla); 37 TestListenerAdapter tla = new TestListenerAdapter(); local 41 testng.addListener(tla);
|
/external/testng/src/test/java/test/inject/ |
InjectTestContextTest.java | 19 TestListenerAdapter tla = new TestListenerAdapter(); local 20 tng.addListener(tla); 24 Assert.assertEquals(tla.getPassedTests().size(), 1); 25 Assert.assertEquals(tla.getPassedTests().get(0).getMethod().getMethodName(), "f");
|
/external/testng/src/test/java/test/jarpackages/ |
JarPackagesTest.java | 30 TestListenerAdapter tla = init("withtestngxml.jar"); local 31 Assert.assertEquals(tla.getPassedTests().size(), 2); 32 String first = tla.getPassedTests().get(0).getName(); 33 String second = tla.getPassedTests().get(1).getName(); 41 TestListenerAdapter tla = init("withouttestngxml.jar"); local 42 Assert.assertEquals(tla.getPassedTests().size(), 2); 43 String first = tla.getPassedTests().get(0).getName(); 44 String second = tla.getPassedTests().get(1).getName();
|
/external/testng/src/test/java/test/alwaysrun/ |
AlwaysRunTest.java | 16 TestListenerAdapter tla = new TestListenerAdapter(); local 20 testng.addListener(tla); 27 TestListenerAdapter tla = new TestListenerAdapter(); local 31 testng.addListener(tla); 38 TestListenerAdapter tla = new TestListenerAdapter(); local 43 testng.addListener(tla);
|
/external/testng/src/test/java/test/parameters/ |
ParamInheritanceTest.java | 23 TestListenerAdapter tla = new TestListenerAdapter(); local 27 tng.addListener(tla); 39 Assert.assertEquals(tla.getPassedTests().size(), 1); 55 TestListenerAdapter tla = new TestListenerAdapter(); local 59 tng.addListener(tla); 61 Assert.assertEquals(tla.getPassedTests().size(), 3);
|