Home
last modified time | relevance | path

Searched refs:testng (Results 1 – 25 of 1210) sorted by relevance

12345678910>>...49

/external/testng/ant/
Dbuild.properties4 testng.basename=testng
5 testng.version=6.8.14-SNAPSHOT
6 testng.fullname=${testng.basename}-${testng.version}
41 testng.jar=${target}/${testng.fullname}.jar
42 testng.dist.jar=${testng.fullname}-dist.jar
43 sources.testng.jar=${testng.fullname}-sources.jar
44 testng.junit.jar=${testng.fullname}-junit.jar
45 testng.nobsh.noguice.jar=${testng.fullname}-nobsh-noguice.jar
46 testng.bsh.noguice.jar=${testng.fullname}-bsh-noguice.jar
47 testng.nobsh.guice.jar=${testng.fullname}-nobsh-guice.jar
[all …]
/external/testng/src/test/java/test/alwaysrun/
DAlwaysRunTest.java3 import static org.testng.Assert.assertTrue;
5 import org.testng.TestListenerAdapter;
6 import org.testng.TestNG;
7 import org.testng.annotations.Test;
17 TestNG testng = create(); in withAlwaysRunAfter() local
18 testng.setOutputDirectory(OutputDirectoryPatch.getOutputDirectory()); in withAlwaysRunAfter()
19 testng.setTestClasses(new Class[] { AlwaysRunAfter1.class }); in withAlwaysRunAfter()
20 testng.addListener(tla); in withAlwaysRunAfter()
21 testng.run(); in withAlwaysRunAfter()
28 TestNG testng = create(); in withoutAlwaysRunAfter() local
[all …]
/external/testng/src/test/java/test/conffailure/
DConfigurationFailure.java3 import static org.testng.Assert.assertTrue;
5 import org.testng.TestListenerAdapter;
6 import org.testng.TestNG;
7 import org.testng.annotations.Test;
22 TestNG testng = new TestNG(); in beforeTestClassFails() local
23 testng.setOutputDirectory(OutputDirectoryPatch.getOutputDirectory()); in beforeTestClassFails()
24 testng.setTestClasses(new Class[] { in beforeTestClassFails()
28 testng.addListener(tla); in beforeTestClassFails()
29 testng.setVerbose(0); in beforeTestClassFails()
30 testng.run(); in beforeTestClassFails()
[all …]
/external/testng/src/main/java/org/testng/asserts/
DAssertion.java1 package org.testng.asserts;
112 org.testng.Assert.assertTrue(condition, message); in assertTrue()
121 org.testng.Assert.assertTrue(condition); in assertTrue()
130 org.testng.Assert.assertFalse(condition, message); in assertFalse()
139 org.testng.Assert.assertFalse(condition); in assertFalse()
148 org.testng.Assert.fail(message, realCause); in fail()
157 org.testng.Assert.fail(message); in fail()
166 org.testng.Assert.fail(); in fail()
175 org.testng.Assert.assertEquals(actual, expected, message); in assertEquals()
184 org.testng.Assert.assertEquals(actual, expected); in assertEquals()
[all …]
/external/testng/src/main/java/org/testng/internal/annotations/
DJDK15AnnotationFinder.java1 package org.testng.internal.annotations;
9 import org.testng.IAnnotationTransformer;
10 import org.testng.IAnnotationTransformer2;
11 import org.testng.IAnnotationTransformer3;
12 import org.testng.ITestNGMethod;
13 import org.testng.annotations.AfterClass;
14 import org.testng.annotations.AfterGroups;
15 import org.testng.annotations.AfterMethod;
16 import org.testng.annotations.AfterSuite;
17 import org.testng.annotations.AfterTest;
[all …]
/external/testng/src/test/java/test/invocationcount/
DFailedInvocationCountTest.java3 import org.testng.Assert;
4 import org.testng.TestListenerAdapter;
5 import org.testng.TestNG;
6 import org.testng.annotations.Test;
13 TestNG testng = new TestNG(); in runTest() local
14 testng.setVerbose(0); in runTest()
15 testng.setSkipFailedInvocationCounts(skip); in runTest()
16 testng.setTestClasses(new Class[] { FailedInvocationCount.class }); in runTest()
18 testng.addListener(tla); in runTest()
19 testng.run(); in runTest()
[all …]
/external/testng/src/test/java/test/reports/
DReportTest.java3 import org.testng.Assert;
4 import org.testng.ITestListener;
5 import org.testng.ITestResult;
6 import org.testng.Reporter;
7 import org.testng.TestListenerAdapter;
8 import org.testng.TestNG;
9 import org.testng.annotations.Test;
10 import org.testng.xml.XmlSuite;
11 import org.testng.xml.XmlTest;
54 TestNG testng = new TestNG(); in directoryShouldBeSuiteName() local
[all …]
DFailedReporterTest.java5 import org.testng.Assert;
6 import org.testng.TestListenerAdapter;
7 import org.testng.TestNG;
8 import org.testng.annotations.Test;
9 import org.testng.collections.Lists;
10 import org.testng.reporters.FailedReporter;
11 import org.testng.xml.Parser;
12 import org.testng.xml.XmlClass;
13 import org.testng.xml.XmlSuite;
14 import org.testng.xml.XmlTest;
/external/testng/src/test/java/test/mannotation/
DMTest1.java3 import org.testng.annotations.AfterClass;
4 import org.testng.annotations.AfterGroups;
5 import org.testng.annotations.AfterMethod;
6 import org.testng.annotations.AfterSuite;
7 import org.testng.annotations.AfterTest;
8 import org.testng.annotations.BeforeClass;
9 import org.testng.annotations.BeforeGroups;
10 import org.testng.annotations.BeforeMethod;
11 import org.testng.annotations.BeforeSuite;
12 import org.testng.annotations.BeforeTest;
[all …]
/external/testng/
DREADME.md1 …![Build Status](http://img.shields.io/travis/cbeust/testng.svg)](https://travis-ci.org/cbeust/test…
4 …pveyor.com/api/projects/status/github/cbeust/testng?svg=true)](https://ci.appveyor.com/project/cbe…
6 …tps://www.versioneye.com/java/org.testng:testng/reference_badge.svg)](https://www.versioneye.com/j…
7 …g.shields.io/maven-central/v/org.testng/testng.svg)](https://maven-badges.herokuapp.com/maven-cent…
8 [![License](https://img.shields.io/github/license/cbeust/testng.svg)](https://www.apache.org/licens…
9 …arqube.org/org.testng:testng/tech_debt.svg?label=Sonarqube%20tech%20debt)](http://nemo.sonarqube.o…
11 Documentation available at [TestNG's main web site](http://testng.org).
DAndroid.bp17 // Build support for testng within the Android Open Source Project
26 // by whichever app/library is also including testng.
30 name: "testng-generated-srcs",
36 "src/main/resources/org/testng/internal/VersionTemplateJava",
39 out: ["src/generated/java/org/testng/internal/Version.java"],
43 name: "testng",
50 ":testng-generated-srcs",
56 "src/main/java/com/beust/testng/TestNGAntTask.java",
57 "src/main/java/org/testng/TestNGAntTask.java",
58 "src/main/java/org/testng/internal/Bsh.java",
[all …]
DNOTES6 "testng-5.12-bundle.jar".
11 mvn install:install-file -DpomFile=bundle-pom.xml -Dfile=testng-5.12.1.jar
13 …che.org/repos/asf/maven/surefire/trunk/surefire-integration-tests/src/test/resources/testng-simple/
14 cd testng-simple
33testng-eclipse-update-site -site file:/usr/local/cbeust/java/testng-eclipse-update-site/site.xml …
36testng-eclipse-update-site -site file:/Users/cbeust/java/testng-eclipse-update-site/site.xml -met…
38 This will generate the site in ~/java/testng-eclipse-update-site
/external/testng/src/main/java/org/testng/xml/
DResultContentHandler.java1 package org.testng.xml;
3 import static org.testng.reporters.XMLReporterConfig.ATTR_DESC;
4 import static org.testng.reporters.XMLReporterConfig.ATTR_DURATION_MS;
5 import static org.testng.reporters.XMLReporterConfig.ATTR_NAME;
6 import static org.testng.reporters.XMLReporterConfig.ATTR_STATUS;
7 import static org.testng.reporters.XMLReporterConfig.TAG_CLASS;
8 import static org.testng.reporters.XMLReporterConfig.TAG_PARAMS;
9 import static org.testng.reporters.XMLReporterConfig.TAG_SUITE;
10 import static org.testng.reporters.XMLReporterConfig.TAG_TEST;
11 import static org.testng.reporters.XMLReporterConfig.TAG_TEST_METHOD;
[all …]
/external/testng/src/main/java/org/testng/remote/
DRemoteTestNG.java1 package org.testng.remote;
3 import static org.testng.internal.Utils.defaultIfStringEmpty;
8 import org.testng.CommandLineArgs;
9 import org.testng.IClassListener;
10 import org.testng.IInvokedMethodListener;
11 import org.testng.ISuite;
12 import org.testng.ISuiteListener;
13 import org.testng.ITestRunnerFactory;
14 import org.testng.TestNG;
15 import org.testng.TestNGException;
[all …]
DSuiteSlave.java1 package org.testng.remote;
6 import org.testng.ISuite;
7 import org.testng.TestNG;
8 import org.testng.TestNGException;
9 import org.testng.collections.Lists;
10 import org.testng.internal.PropertiesFile;
11 import org.testng.internal.Utils;
12 import org.testng.remote.adapter.DefaultWorkerAdapter;
13 import org.testng.remote.adapter.IWorkerAdapter;
14 import org.testng.xml.XmlSuite;
[all …]
DSuiteDispatcher.java1 package org.testng.remote;
7 import org.testng.ISuite;
8 import org.testng.ISuiteResult;
9 import org.testng.ITestListener;
10 import org.testng.ITestResult;
11 import org.testng.SuiteRunner;
12 import org.testng.TestNGException;
13 import org.testng.collections.Lists;
14 import org.testng.internal.IConfiguration;
15 import org.testng.internal.Invoker;
[all …]
/external/testng/src/test/java/test/configurationfailurepolicy/
DFailurePolicyTest.java3 import static org.testng.Assert.assertEquals;
5 import org.testng.ITestContext;
6 import org.testng.TestListenerAdapter;
7 import org.testng.TestNG;
8 import org.testng.annotations.BeforeClass;
9 import org.testng.annotations.DataProvider;
10 import org.testng.annotations.Test;
11 import org.testng.xml.XmlSuite;
46 TestNG testng = new TestNG(); in confFailureTest() local
47 testng.setOutputDirectory(OutputDirectoryPatch.getOutputDirectory()); in confFailureTest()
[all …]
/external/testng/bin/
Drun-tests.sh1 ROOT=~/java/testng
3 JAR14=$ROOT/testng-$VERSION-jdk14.jar
4 JAR15=$ROOT/testng-$VERSION-jdk15.jar
6 …OOT/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR15:$CLASSPATH org.testng.TestNG test/testng.xml
8 …/3rdparty/junit.jar:$JAVA_HOME/lib/tools.jar:$JAR15:$CLASSPATH org.testng.TestNG test/v4/testng.xml
10 …jar:$JAVA_HOME/lib/tools.jar:$JAR14:$CLASSPATH org.testng.TestNG -sourcedir test-14/src test-14/te…
12 …:$JAVA_HOME/lib/tools.jar:$JAR14:$CLASSPATH org.testng.TestNG -sourcedir test-14/v4/src test-14/v4…
/external/testng/src/test/java/test/factory/classconf/
DXClassOrderWithFactoryTest.java3 import org.testng.Assert;
4 import org.testng.TestListenerAdapter;
5 import org.testng.TestNG;
6 import org.testng.annotations.Test;
15 TestNG testng= new TestNG(); in testBeforeAfterClassInvocationsWithFactory() local
16 testng.setTestClasses(new Class[] {XClassOrderWithFactory.class}); in testBeforeAfterClassInvocationsWithFactory()
18 testng.addListener(tla); in testBeforeAfterClassInvocationsWithFactory()
19 testng.setVerbose(0); in testBeforeAfterClassInvocationsWithFactory()
20 testng.run(); in testBeforeAfterClassInvocationsWithFactory()
/external/testng/src/test/java/test/interleavedorder/
DInterleavedInvocationTest.java3 import org.testng.Assert;
4 import org.testng.TestListenerAdapter;
5 import org.testng.TestNG;
6 import org.testng.annotations.BeforeTest;
7 import org.testng.annotations.Test;
35 TestNG testng = new TestNG(); in invocationOrder() local
36 testng.setOutputDirectory(OutputDirectoryPatch.getOutputDirectory()); in invocationOrder()
37 testng.setTestClasses(new Class[] { TestChild1.class, TestChild2.class }); in invocationOrder()
38 testng.addListener(tla); in invocationOrder()
39 testng.setVerbose(0); in invocationOrder()
[all …]
/external/testng/src/test/java/test/dataprovider/
DFailingIterableDataProviderTest.java3 import org.testng.Assert;
4 import org.testng.TestListenerAdapter;
5 import org.testng.TestNG;
6 import org.testng.annotations.Test;
16 TestNG testng= new TestNG(false); in failingDataProvider() local
17 testng.setTestClasses(new Class[] {FailingIterableDataProvider.class}); in failingDataProvider()
19 testng.addListener(tla); in failingDataProvider()
20 testng.setVerbose(0); in failingDataProvider()
22 testng.run(); in failingDataProvider()
/external/testng/src/test/java/test/v6/
DA.java3 import org.testng.annotations.AfterClass;
4 import org.testng.annotations.AfterGroups;
5 import org.testng.annotations.AfterMethod;
6 import org.testng.annotations.AfterSuite;
7 import org.testng.annotations.BeforeClass;
8 import org.testng.annotations.BeforeGroups;
9 import org.testng.annotations.BeforeMethod;
10 import org.testng.annotations.BeforeSuite;
11 import org.testng.annotations.Test;
/external/testng/src/test/java/test/invokedmethodlistener/
DBase.java3 import org.testng.annotations.AfterClass;
4 import org.testng.annotations.AfterMethod;
5 import org.testng.annotations.AfterSuite;
6 import org.testng.annotations.AfterTest;
7 import org.testng.annotations.BeforeClass;
8 import org.testng.annotations.BeforeMethod;
9 import org.testng.annotations.BeforeSuite;
10 import org.testng.annotations.BeforeTest;
11 import org.testng.annotations.Test;
/external/testng/src/main/java/org/testng/internal/
DClassImpl.java1 package org.testng.internal;
3 import static org.testng.internal.Utils.isStringNotEmpty;
9 import org.testng.IClass;
10 import org.testng.IModuleFactory;
11 import org.testng.ISuite;
12 import org.testng.ITest;
13 import org.testng.ITestContext;
14 import org.testng.ITestObjectFactory;
15 import org.testng.TestNGException;
16 import org.testng.annotations.Guice;
[all …]
/external/testng/src/test/java/test/methodselectors/
DMethodSelectorInSuiteTest.java3 import org.testng.Assert;
4 import org.testng.ITestResult;
5 import org.testng.TestListenerAdapter;
6 import org.testng.TestNG;
7 import org.testng.annotations.BeforeMethod;
8 import org.testng.annotations.Test;
9 import org.testng.collections.Lists;
10 import org.testng.xml.XmlClass;
11 import org.testng.xml.XmlMethodSelector;
12 import org.testng.xml.XmlSuite;
[all …]

12345678910>>...49