/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/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/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/override/ |
OverrideTest.java | 36 TestListenerAdapter tla = new TestListenerAdapter(); local 37 tng.addListener(tla); 43 Assert.assertEquals(tla.getPassedTests().size(), 1);
|
/external/testng/src/test/java/test/testng173/ |
TestNG173Test.java | 31 TestListenerAdapter tla = new TestListenerAdapter(); local 32 tng.addListener(tla); 36 //verifyPassedTests(tla, "test1", "test2", "testX", "test1", "test2"); 39 verifyPassedTests(tla, "test1", "test2", "testX", "test2", "test1"); 55 TestListenerAdapter tla = new TestListenerAdapter(); local 56 tng.addListener(tla); 60 //verifyPassedTests(tla, "test1", "test2", "testX", "test1", "test2"); 62 verifyPassedTests(tla, "test1", "test2", "testX", "test2", "test1");
|
/external/testng/src/test/java/test/testng249/ |
VerifyTest.java | 34 TestListenerAdapter tla = new TestListenerAdapter(); local 35 tng.addListener(tla); 38 Assert.assertEquals(tla.getPassedTests().size(), 2);
|
/external/testng/src/test/java/test/testng387/ |
TestNG387.java | 20 final TestListenerAdapter tla = new TestListenerAdapter(); local 21 tng.addListener(tla); 24 ITestNGMethod method = tla.getTestContexts().get(0).getAllTestMethods()[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());
|
FactoryTest.java | 41 TestListenerAdapter tla = new TestListenerAdapter(); local 42 tng.addListener(tla); 47 Assert.assertEquals(tla.getPassedTests().size(), 2); 50 // ppp("# TESTS RUN " + tla.getPassedTests().size()
|
/external/testng/src/test/java/test/verify/ |
VerifyTest.java | 14 TestListenerAdapter tla = new TestListenerAdapter(); local 15 tng.addListener(tla); 18 Assert.assertEquals(tla.getPassedTests().size(), expected);
|
/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/issue107/ |
Issue107Test.java | 41 final TestListenerAdapter tla = new TestListenerAdapter(); local 44 tng.addListener(tla); 47 Assert.assertEquals(tla.getFailedTests().size(), 0); 48 Assert.assertEquals(tla.getPassedTests().size(), 2);
|
/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/methodselectors/ |
PriorityTest.java | 18 TestListenerAdapter tla = new TestListenerAdapter();
local 19 tng.addListener(tla);
22 List<ITestResult> passed = tla.getPassedTests();
|
/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);
|
/external/testng/src/test/java/test/reports/ |
FailedReporterTest.java | 44 TestListenerAdapter tla = new TestListenerAdapter(); local 47 tng.addListener(tla);
|
/external/testng/src/test/java/test/retryAnalyzer/ |
RetryAnalyzerTest.java | 20 TestListenerAdapter tla = new TestListenerAdapter(); local 21 tng.addListener(tla); 28 assertTrue(tla.getFailedTests().isEmpty()); 30 List<ITestResult> fsp = tla.getFailedButWithinSuccessPercentageTests(); 34 List<ITestResult> skipped = tla.getSkippedTests();
|
/external/testng/src/test/java/test/sanitycheck/ |
CheckTestNamesTest.java | 36 TestListenerAdapter tla = new TestListenerAdapter(); local 42 tng.addListener(tla); 46 Assert.assertEquals(tla.getPassedTests().size(), 0); 47 Assert.assertEquals(tla.getFailedTests().size(), 0); 57 TestListenerAdapter tla = new TestListenerAdapter(); local 61 tng.addListener(tla); 63 Assert.assertEquals(tla.getPassedTests().size(), 2); 71 TestListenerAdapter tla = new TestListenerAdapter(); local 75 tng.addListener(tla); 77 Assert.assertEquals(tla.getPassedTests().size(), 4) [all...] |
/external/testng/src/test/java/test/xml/ |
XmlVerifyTest.java | 48 TestListenerAdapter tla = new TestListenerAdapter(); local 53 tng.addListener(tla); 56 Assert.assertEquals(tla.getPassedTests().size(), 0);
|
/external/testng/src/test/java/test/ |
CommandLineTest.java | 31 TestListenerAdapter tla = new TestListenerAdapter(); local 32 TestNG.privateMain(argv, tla); 34 List<ITestResult> passed = tla.getPassedTests(); 53 TestListenerAdapter tla = new TestListenerAdapter(); local 54 TestNG.privateMain(argv, tla); 56 List<ITestResult> passed = tla.getPassedTests(); 73 TestListenerAdapter tla = new TestListenerAdapter(); local 74 TestNG.privateMain(argv, tla); 76 List<ITestContext> contexts = tla.getTestContexts(); 96 TestListenerAdapter tla = new TestListenerAdapter() local 120 TestListenerAdapter tla = new TestListenerAdapter(); local [all...] |
/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/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/factory/ |
FactoryDataProviderTest.java | 39 TestListenerAdapter tla = new TestListenerAdapter(); local 40 tng.addListener(tla); 43 Assert.assertEquals(tla.getPassedTests().size(), 2); 44 Iterator<ITestResult> iterator = tla.getPassedTests().iterator();
|
/external/testng/src/test/java/test/groupinvocation/ |
GroupSuiteTest.java | 63 TestListenerAdapter tla = new TestListenerAdapter(); local 65 tng.addListener(tla); 69 verifyPassedTests(tla, methods);
|
/external/testng/src/test/java/test/interleavedorder/ |
InterleavedInvocationTest.java | 34 TestListenerAdapter tla = new TestListenerAdapter(); local 38 testng.addListener(tla);
|