/external/testng/src/main/java/org/testng/internal/ |
D | TestNGMethod.java | 41 public TestNGMethod(Method method, IAnnotationFinder finder, XmlTest xmlTest, Object instance) { in TestNGMethod() argument 42 this(method, finder, true, xmlTest, instance); in TestNGMethod() 46 XmlTest xmlTest, Object instance) { in TestNGMethod() argument 50 init(xmlTest); in TestNGMethod() 90 private void init(XmlTest xmlTest) { in init() argument 91 setXmlTest(xmlTest); in init() 92 setInvocationNumbers(xmlTest.getInvocationNumbers( in init() 111 setDescription(findDescription(testAnnotation, xmlTest)); in init() 127 private String findDescription(ITestAnnotation testAnnotation, XmlTest xmlTest) { in findDescription() argument 130 List<XmlClass> classes = xmlTest.getXmlClasses(); in findDescription()
|
D | TestNGClassFinder.java | 36 XmlTest xmlTest, in TestNGClassFinder() argument 96 for (XmlClass xmlClass : xmlTest.getXmlClasses()) { in TestNGClassFinder() 128 xmlTest, annotationFinder, objectFactory); in TestNGClassFinder() 143 xmlTest, in TestNGClassFinder() 188 xmlTest, in TestNGClassFinder()
|
D | BaseClassFinder.java | 43 Object instance, XmlTest xmlTest, IAnnotationFinder annotationFinder, in findOrCreateIClass() argument 48 result = new ClassImpl(context, cls, xmlClass, instance, m_classes, xmlTest, annotationFinder, in findOrCreateIClass()
|
D | ClassHelper.java | 285 XmlTest xmlTest, in createInstance() argument 290 return createInstance1(declaringClass, classes, xmlTest, finder, in createInstance() 305 XmlTest xmlTest, in createInstance1() argument 324 xmlTest.getAllParameters(), in createInstance1() 325 xmlTest.getSuite()); in createInstance1()
|
D | BaseTestMethod.java | 481 private static Map<String, Set<String>> calculateXmlGroupDependencies(XmlTest xmlTest) { in calculateXmlGroupDependencies() argument 483 if (xmlTest == null) { in calculateXmlGroupDependencies() 487 for (Map.Entry<String, String> e : xmlTest.getXmlDependencyGroups().entrySet()) { in calculateXmlGroupDependencies() 763 public void setXmlTest(XmlTest xmlTest) { in setXmlTest() argument 764 m_xmlTest = xmlTest; in setXmlTest()
|
D | FactoryMethod.java | 33 XmlTest xmlTest, in FactoryMethod() argument 57 m_xmlTest = xmlTest; in FactoryMethod()
|
D | TestNGMethodFinder.java | 46 public ITestNGMethod[] getTestMethods(Class<?> clazz, XmlTest xmlTest) { in getTestMethods() argument 48 clazz, ITestAnnotation.class, m_annotationFinder, xmlTest); in getTestMethods()
|
D | ClassImpl.java | 53 Map<Class, IClass> classes, XmlTest xmlTest, IAnnotationFinder annotationFinder, in ClassImpl() argument 59 m_xmlTest = xmlTest; in ClassImpl()
|
/external/testng/src/main/java/org/testng/reporters/ |
D | FailedReporter.java | 100 XmlTest xmlTest, in generateXmlTest() argument 158 createXmlTest(context, result, xmlTest); in generateXmlTest() 166 XmlTest xmlTest = new XmlTest(m_xmlSuite); in createXmlTest() local 167 xmlTest.setName(context.getName() + "(failed)"); in createXmlTest() 168 xmlTest.setBeanShellExpression(srcXmlTest.getExpression()); in createXmlTest() 169 xmlTest.setIncludedGroups(srcXmlTest.getIncludedGroups()); in createXmlTest() 170 xmlTest.setExcludedGroups(srcXmlTest.getExcludedGroups()); in createXmlTest() 171 xmlTest.setParallel(srcXmlTest.getParallel()); in createXmlTest() 172 xmlTest.setParameters(srcXmlTest.getLocalParameters()); in createXmlTest() 173 xmlTest.setJUnit(srcXmlTest.isJUnit()); in createXmlTest() [all …]
|
/external/testng/src/main/java/org/testng/xml/dom/ |
D | DomUtil.java | 51 XmlTest xmlTest = new XmlTest(xmlSuite); in populate() 52 populateTest(xmlTest, node); in populate() 150 private void populateTest(XmlTest xmlTest, Node item) { in populateTest() argument 152 populateAttributes(item, xmlTest); in populateTest() 166 xmlTest.getClasses().add(xmlClass); in populateTest() 193 xmlTest.addXmlDependencyGroup(e.getAttribute("name"), e.getAttribute("depends-on")); in populateTest() 197 xmlDefine(xmlTest, item3); in populateTest() 200 xmlTest.setIncludedGroups(includes); in populateTest() 201 xmlTest.setExcludedGroups(excludes); in populateTest() 205 xmlTest.setParameters(testParameters); in populateTest() [all …]
|
/external/testng/src/main/java/org/testng/ |
D | TestClass.java | 43 XmlTest xmlTest, in TestClass() argument 45 init(cls, testMethodFinder, annotationFinder, runInfo, xmlTest, xmlClass); in TestClass() 74 XmlTest xmlTest, in init() argument 80 m_xmlTest = xmlTest; in init()
|
D | ITestMethodFinder.java | 23 ITestNGMethod[] getTestMethods(Class<?> cls, XmlTest xmlTest); in getTestMethods() argument
|
D | TestNG.java | 388 XmlTest xmlTest = new XmlTest(xmlSuite); in initializeSuitesAndJarFile() local 394 xmlTest.setXmlClasses(xmlClasses); in initializeSuitesAndJarFile() 601 XmlTest xmlTest = null; in createCommandLineSuitesForClasses() local 604 xmlTest = xt; in createCommandLineSuitesForClasses() 609 if (xmlTest == null) { in createCommandLineSuitesForClasses() 610 xmlTest = new XmlTest(xmlSuite); in createCommandLineSuitesForClasses() 611 xmlTest.setName(testName); in createCommandLineSuitesForClasses() 612 xmlTest.setJUnit(isJUnit); in createCommandLineSuitesForClasses() 615 xmlTest.getXmlClasses().add(xmlClasses[i]); in createCommandLineSuitesForClasses()
|
D | TestRunner.java | 378 private void initMetaGroups(XmlTest xmlTest) { in initMetaGroups() argument 379 Map<String, List<String>> metaGroups = xmlTest.getMetaGroups(); in initMetaGroups() 386 private void initRunInfo(final XmlTest xmlTest) { in initRunInfo() argument 399 if (null != xmlTest.getMethodSelectors()) { in initRunInfo() 400 for (org.testng.xml.XmlMethodSelector selector : xmlTest.getMethodSelectors()) { in initRunInfo() 665 private void privateRunJUnit(XmlTest xmlTest) { in privateRunJUnit() argument 739 private void privateRun(XmlTest xmlTest) { in privateRun() argument 740 XmlSuite.ParallelMode parallelMode = xmlTest.getParallel(); in privateRun() 745 int threadCount = parallel ? xmlTest.getThreadCount() : 1; in privateRun()
|
/external/testng/src/test/java/org/testng/internal/ |
D | MethodInstanceTest.java | 130 private XmlTest xmlTest; field in MethodInstanceTest.TestClassStub 133 public TestClassStub(XmlTest xmlTest, XmlClass xmlClass) { in TestClassStub() argument 134 this.xmlTest = xmlTest; in TestClassStub() 145 return xmlTest; in getXmlTest()
|
/external/testng/src/test/java/test/inject/ |
D | InjectTestContextTest.java | 16 public void verifyTestContextInjection(ITestContext tc, XmlTest xmlTest) { in verifyTestContextInjection() argument 23 Assert.assertEquals(xmlTest.getName(), "Injection"); in verifyTestContextInjection()
|
/external/testng/src/main/java/org/testng/internal/annotations/ |
D | TestAnnotation.java | 145 public void setTestName(String xmlTest) { in setTestName() argument 146 m_testName = xmlTest; in setTestName()
|
D | AnnotationHelper.java | 197 XmlTest xmlTest) in findMethodsWithAnnotation() argument 245 if (m.getReturnType() != void.class && ! xmlTest.getAllowReturnValues()) { in findMethodsWithAnnotation() 255 annotationFinder, xmlTest, null); /* @@@ */ in findMethodsWithAnnotation()
|
/external/testng/src/test/java/test/reports/ |
D | ReportTest.java | 46 XmlTest xmlTest = new XmlTest(xmlSuite); in directoryShouldBeSuiteName() local 48 xmlTest.setName(testName); in directoryShouldBeSuiteName()
|
/external/testng/src/main/java/org/testng/remote/ |
D | RemoteTestNG.java | 141 public TestRunner newTestRunner(ISuite suite, XmlTest xmlTest, in buildTestRunnerFactory() 144 new TestRunner(getConfiguration(), suite, xmlTest, in buildTestRunnerFactory()
|
/external/testng/src/test/java/test/ |
D | BaseTest.java | 274 XmlTest xmlTest= new XmlTest(m_suite); in methodSetUp() local 275 xmlTest.setName("Internal_test_failures_are_expected"); in methodSetUp() 276 m_tests.put(getId(), xmlTest); in methodSetUp() local
|
/external/testng/src/main/java/org/testng/xml/ |
D | TestNGContentHandler.java | 268 private void xmlTest(boolean start, Attributes attributes) { in xmlTest() method in TestNGContentHandler 525 xmlTest(true, attributes); in startElement() 704 xmlTest(false, null); in endElement()
|
/external/testng/src/main/java/org/testng/junit/ |
D | JUnitMethodFinder.java | 49 public ITestNGMethod[] getTestMethods(Class cls, XmlTest xmlTest) { in getTestMethods() argument
|