Home
last modified time | relevance | path

Searched refs:TestNG (Results 1 – 25 of 155) sorted by relevance

1234567

/external/testng/src/test/java/test/listeners/
DListenerTest.java4 import org.testng.TestNG;
30 TestNG tng = create(OrderedListenerSampleTest.class); in listenerShouldBeCalledBeforeConfiguration()
37 TestNG tng = create(FailingSampleTest.class); in failureBeforeAfterMethod()
44 TestNG tng = create(AggregateSampleTest.class); in aggregateListeners()
52 TestNG tng = create(Derived1.class, Derived2.class); in shouldAttachOnlyOneInstanceOfTheSameListenerClassPerTest()
60 TestNG tng = create(SuiteListenerSample.class); in suiteListenersShouldWork()
70 TestNG tng = createTests("Suite", SuiteListenerSample2.class); in suiteListenerInListernersAnnotationShouldBeRunOnce()
80 TestNG tng = createTests("suite", Derived1.class, Derived2.class); in suiteListenersShouldBeOnlyRunOnceWithManyTests()
90 TestNG tng = createTests("suite", Derived1.class, Derived1.class); in suiteListenersShouldBeOnlyRunOnceWithManyIdenticalTests()
100 TestNG tng = createTests("suite", Derived1.class, Derived2.class); in invokedMethodListenersShouldBeOnlyRunOnceWithManyTests()
[all …]
/external/testng/
DANNOUNCEMENT.txt10 The TestNG team is happy to announce the immediate availability of TestNG 4.5.
13 includes the first phase of Distributed TestNG, a work in progress designed
20 Details on Distributed TestNG:
27 The TestNG team is happy to announce the immediate availability of TestNG 4.0, with a lot of improv…
39 Announcing TestNG 2.3
41 The TestNG team is happy to announce the availability of TestNG 2.3.
54 For Eclipse users, a new version (1.1.1) of the Eclipse plug-in that includes this new TestNG versi…
56 Also, TestNG has joined OpenSymphony (big thanks to Patrick and Hani for setting this up). As a co…
64 I am happy to announce the availability of TestNG 2.1 (http://beust.com/testng).
66 TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionalitie…
[all …]
DREADME3 Welcome to TestNG 6.8beta
5 Please note that even though the .zip distribution contains the TestNG sources,
9 If you want to build TestNG, please sync to the GitHub repository at https://github.com/cbeust/test…
12 The TestNG team
/external/testng/src/test/java/test/annotationtransformer/
DAnnotationTransformerTest.java8 import org.testng.TestNG;
37 TestNG tng = create(AnnotationTransformerSampleTest.class); in verifyAnnotationWithoutTransformer()
61 TestNG tng = create(AnnotationTransformerSampleTest.class); in verifyAnnotationTransformerMethod()
87 TestNG tng = create(AnnotationTransformerSampleTest.class); in verifyAnnotationTransformerHasOnlyOneNonNullArgument()
128 TestNG tng = new TestNG(); in runTest()
153 TestNG tng = new TestNG(); in verifyListenerAnnotationTransformerClass()
165 TestNG tng = new TestNG(); in verifyConfigurationTransformer()
179 TestNG tng = create(); in verifyDataProviderTransformer()
192 TestNG tng = create(); in verifyFactoryTransformer()
205 TestNG tng = create(); in verifyInvocationCountTransformer()
[all …]
/external/testng/src/test/java/test/methodselectors/
DCommandLineTest.java6 import org.testng.TestNG;
55 TestNG.privateMain(ARG_WITHOUT_GROUPS, tla); in commandLineNegativePriorityAllGroups()
69 TestNG.privateMain(ARG_WITHOUT_GROUPS, tla); in commandLineNegativePriorityGroup2()
84 TestNG.privateMain(ARG_WITH_GROUPS, tla); in commandLineLessThanPriorityTest1Test()
99 TestNG.privateMain(ARG_WITH_GROUPS, tla); in commandLineGreaterThanPriorityTest1Test2()
113 TestNG.privateMain(ARG_WITH_GROUPS, tla); in commandLineLessThanPriorityAllTests()
128 TestNG.privateMain(ARG_WITH_GROUPS, tla); in commandLineMultipleSelectors()
142 TestNG.privateMain(ARG_WITHOUT_GROUPS, tla); in commandLineNoTest1Selector()
157 TestNG.privateMain(ARG_WITHOUT_CLASSES, tla); in commandLineTestWithXmlFile()
/external/testng/src/test/java/test/
DSimpleBaseTest.java6 import org.testng.TestNG;
23 public static TestNG create() { in create()
24 TestNG result = new TestNG(); in create()
30 public static TestNG create(Class<?>... testClasses) { in create()
31 TestNG result = create(); in create()
36 protected TestNG create(XmlSuite... suites) { in create()
37 TestNG result = create(); in create()
42 protected TestNG createTests(String suiteName, Class<?>... testClasses) { in createTests()
DTestHelper.java3 import org.testng.TestNG;
37 public static TestNG createTestNG(String outputDir) { in createTestNG()
41 public static TestNG createTestNG() { in createTestNG()
45 public static TestNG createTestNG(XmlSuite suite) { in createTestNG()
49 public static TestNG createTestNG(XmlSuite suite, String outputDir) { in createTestNG()
50 TestNG result = new TestNG(); in createTestNG()
DCommandLineTest.java10 import org.testng.TestNG;
32 TestNG.privateMain(argv, tla); in junitParsing()
54 TestNG.privateMain(argv, tla); in junitParsing2()
74 TestNG.privateMain(argv, tla); in suiteNameOverride()
97 TestNG.privateMain(argv, tla); in testNameOverride()
108 TestNG.privateMain(new String[] { in testUseDefaultListenersArgument()
121 TestNG.privateMain(argv, tla); in testMethodParameter()
/external/testng/src/test/java/test/objectfactory/
DCustomFactoryTest.java3 import org.testng.TestNG;
19 TestNG tng = TestHelper.createTestNG(suite); in setFactoryOnTestNG()
35 TestNG tng = TestHelper.createTestNG(suite); in setFactoryOnSuite()
46 TestNG tng = TestHelper.createTestNG(suite); in setFactoryByAnnotation()
57 TestNG tng = TestHelper.createTestNG(suite); in factoryReceivesContext()
66 TestNG tng = TestHelper.createTestNG(suite); in setInvalidMethodFactoryByAnnotation()
/external/testng/src/test/java/test/configurationfailurepolicy/
DFailurePolicyTest.java7 import org.testng.TestNG;
46 TestNG testng = new TestNG(); in confFailureTest()
63 TestNG.privateMain(argv, tla); in commandLineTest_policyAsSkip()
74 TestNG.privateMain(argv, tla); in commandLineTest_policyAsContinue()
84 TestNG.privateMain(argv, tla); in commandLineTestWithXMLFile_policyAsSkip()
94 TestNG.privateMain(argv, tla); in commandLineTestWithXMLFile_policyAsContinue()
/external/testng/src/test/java/test/conffailure/
DConfigurationFailure.java6 import org.testng.TestNG;
22 TestNG testng = new TestNG(); in beforeTestClassFails()
38 TestNG testng = new TestNG(); in beforeTestSuiteFails()
/external/testng/src/test/java/test/invocationcount/
DFailedInvocationCountTest.java5 import org.testng.TestNG;
13 TestNG testng = new TestNG(); in runTest()
38 TestNG testng = new TestNG(); in verifyAttributeShouldStop()
/external/testng/src/test/java/test/sanitycheck/
DCheckTestNamesTest.java7 import org.testng.TestNG;
39 TestNG tng = create(); in runSuite()
58 TestNG tng = create(); in checkNoError()
72 TestNG tng = create(); in checkNoErrorWtihChildSuites()
92 TestNG tng = new TestNG(); in checkTestNamesForProgrammaticSuites()
/external/testng/src/test/java/test/reports/
DReportTest.java8 import org.testng.TestNG;
29 TestNG tng = TestHelper.createTestNG(suite, outputDir.getAbsolutePath()); in verifyIndex()
54 TestNG testng = new TestNG(); in directoryShouldBeSuiteName()
79 TestNG testng = TestHelper.createTestNG(); in oneDirectoryPerSuite()
103 TestNG testng = TestHelper.createTestNG(); in shouldHonorSuiteName()
125 TestNG tng = new TestNG(); in reportLogShouldBeAvailableEvenWithTimeOut()
/external/testng/src/test/java/test/retryAnalyzer/
DExitCodeTest.java3 import org.testng.TestNG;
13 TestNG tng = create(ImmediateSuccess.class); in exitsWithZeroOnSuccess()
20 TestNG tng = create(PersistentFailure.class); in exitsWithNonzeroOnFailure()
27 TestNG tng = create(EventualSuccess.class); in exitsWithZeroAfterSuccessfulRetry()
/external/testng/src/test/java/test/skipex/
DSkippedExceptionTest.java6 import org.testng.TestNG;
19 TestNG test= new TestNG(false); in skippedExceptionInConfigurationMethods()
37 TestNG test= new TestNG(false); in skippedExceptionInTestMethods()
/external/testng/src/test/java/test/methodinterceptors/
DMethodInterceptorTest.java6 import org.testng.TestNG;
43 TestNG tng = create(); in noMethodsShouldRun()
48 private void testNullInterceptor(TestNG tng) { in testNullInterceptor()
60 TestNG tng = create(); in testFast()
104 TestNG tng = create(); in nullMethodInterceptorWorksInTestngXml()
115 TestNG tng = create(LockUpInterceptorSampleTest.class); in shouldNotLockUpWithInterceptorThatRemovesMethods()
/external/testng/src/test/java/test/thread/
DDataProviderThreadPoolSizeTest.java4 import org.testng.TestNG;
13 TestNG tng = create(DataProviderThreadPoolSizeSampleTest.class); in shouldUseDefaultDataProviderThreadCount()
21 TestNG tng = create(DataProviderThreadPoolSizeSampleTest.class); in shouldNotUseThreadsIfNotUsingParallel()
29 TestNG tng = create(DataProviderThreadPoolSizeSampleTest.class); in shouldUseSpecifiedDataProviderThreadCount()
/external/testng/src/test/java/test/name/
DNameTest.java6 import org.testng.TestNG;
20 TestNG tng = create(SimpleITestSample.class); in itestTest()
37 TestNG tng = createTests("suite", SimpleITestSample.class); in itestTestWithXml()
54 TestNG tng = create(NameSample.class); in testNameTest()
71 TestNG tng = createTests("suite", NameSample.class); in testNameTestWithXml()
88 TestNG tng = create(NoNameSample.class); in noNameTest()
105 TestNG tng = createTests("suite", NoNameSample.class); in noNameTestWithXml()
122 TestNG tng = create(ITestSample.class); in complexITestTest()
/external/testng/src/test/java/test/verify/
DVerifyTest.java5 import org.testng.TestNG;
13 TestNG tng = create(cls); in runTest()
33 TestNG tng = create(Verify2SampleTest.class); in verifyTestListener()
41 TestNG tng = create(Verify3SampleTest.class); in verifyBaseClassTestListener()
/external/testng/ant/
DREADME.template3 Welcome to TestNG ${version}
5 Please note that even though the .zip distribution contains the TestNG sources,
9 If you want to build TestNG, please sync to the GitHub repository at https://github.com/cbeust/test…
12 The TestNG team
/external/testng/src/test/java/test/factory/
DFactoryIntegrationTest.java5 import org.testng.TestNG;
17 TestNG tng = create(GitHub876Sample.class); in testExceptionWithNonStaticFactoryMethod()
28 TestNG tng = create(NonPublicFactoryMethodSample.class); in testNonPublicFactoryMethodShouldWork()
39 TestNG tng = create(BadFactoryMethodReturnTypeSample.class); in testExceptionWithBadFactoryMethodReturnType()
/external/testng/src/test/java/test/mixed/
DMixedTest.java5 import org.testng.TestNG;
26 TestNG.privateMain(argv, tla); in mixedWithExcludedGroups()
42 TestNG.privateMain(argv, tla); in mixedClasses()
57 TestNG.privateMain(argv, tla); in mixedMethods()
/external/testng/src/main/java/org/testng/reporters/
DExitCodeListener.java3 import org.testng.TestNG;
11 public class ExitCodeListener extends TestNG.ExitCodeListener {
16 public ExitCodeListener(TestNG runner) { in ExitCodeListener()
/external/testng/src/test/java/test/alwaysrun/
DAlwaysRunTest.java6 import org.testng.TestNG;
17 TestNG testng = create(); in withAlwaysRunAfter()
28 TestNG testng = create(); in withoutAlwaysRunAfter()
39 TestNG testng = create(); in withoutAlwaysRunBefore()

1234567