/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/ |
CheckSuitesInitializationTest.java | 33 TestListenerAdapter tla = new TestListenerAdapter(); local 37 tng.addListener(tla); 39 Assert.assertEquals(tla.getPassedTests().size(), 4);
|
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);
|
NestedStaticTest.java | 19 TestListenerAdapter tla = new TestListenerAdapter(); local 20 tng.addListener(tla); 28 List<ITestResult> passedTests = tla.getPassedTests();
|
/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");
|
FailingDataProviderTest.java | 13 TestListenerAdapter tla = new TestListenerAdapter();
local 14 testng.addListener(tla);
16 Assert.assertEquals(tla.getSkippedTests().size(), expected, message);
|
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/dependsongroup/ |
DependsOnGroupsTest.java | 19 TestListenerAdapter tla = new TestListenerAdapter(); local 20 tng.addListener(tla); 28 ITestResult testResult = tla.getPassedTests().get(i);
|
/external/testng/src/test/java/test/factory/ |
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);
|
FactoryInSuperClassTest.java | 15 TestListenerAdapter tla = new TestListenerAdapter(); local 16 tng.addListener(tla); 19 Assert.assertEquals(tla.getPassedTests().size(), 1);
|
FactoryIntegrationTest.java | 29 TestListenerAdapter tla = new TestListenerAdapter(); local 30 tng.addListener(tla); 34 Assert.assertEquals(tla.getPassedTests().size(), 2);
|
FactoryOrderMainTest.java | 18 TestListenerAdapter tla = new TestListenerAdapter(); local 19 tng.addListener(tla); 22 List<ITestResult> passed = tla.getPassedTests();
|
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/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/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/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/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/commandline/ |
CommandLineOverridesXml.java | 38 TestListenerAdapter tla = new TestListenerAdapter(); local 39 tng.addListener(tla); 42 assertTestResultsEqual(tla.getPassedTests(), methods);
|
/external/testng/src/test/java/test/parameters/ |
ShadowTest.java | 42 TestListenerAdapter tla = new TestListenerAdapter(); local 43 tng.addListener(tla); 47 assertTestResultsEqual(tla.getPassedTests(), Arrays.asList("test1", "test2"));
|
ParameterOverrideTest.java | 84 TestListenerAdapter tla = new TestListenerAdapter(); local 85 tng.addListener(tla); 90 assertTestResultsEqual(tla.getPassedTests(), Arrays.asList("f", "g"));
|
/external/testng/src/test/java/test/dependent/xml/ |
GroupDependencyTest.java | 53 TestListenerAdapter tla = new TestListenerAdapter(); local 54 tng.addListener(tla); 57 List<ITestResult> t = tla.getPassedTests(); 64 assertTestResultsEqual(tla.getPassedTests(), Arrays.asList(a[3], a[4], a[5]));
|
/external/testng/src/test/java/test/configuration/ |
BaseGroupsTest.java | 25 TestListenerAdapter tla = new TestListenerAdapter();
local 26 tng.addListener(tla);
|
/external/testng/src/test/java/test/factory/classconf/ |
XClassOrderWithFactoryTest.java | 17 TestListenerAdapter tla = new TestListenerAdapter();
local 18 testng.addListener(tla);
|