Home
last modified time | relevance | path

Searched refs:XmlClass (Results 1 – 25 of 47) sorted by relevance

12

/external/testng/src/main/java/org/testng/internal/
DClassInfoMap.java4 import org.testng.xml.XmlClass;
11 private Map<Class<?>, XmlClass> m_map = Maps.newLinkedHashMap();
17 public ClassInfoMap(List<XmlClass> classes) { in ClassInfoMap()
21 public ClassInfoMap(List<XmlClass> classes, boolean includeNested) { in ClassInfoMap()
23 for (XmlClass xmlClass : classes) { in ClassInfoMap()
37 private void registerClass(Class cl, XmlClass xmlClass) { in registerClass()
50 public XmlClass getXmlClass(Class<?> cls) { in getXmlClass()
54 public void put(Class<?> cls, XmlClass xmlClass) { in put()
DXmlMethodSelector.java18 import org.testng.xml.XmlClass;
35 private List<XmlClass> m_classes = null;
138 for (XmlClass xmlClass : m_classes) { in includeMethodFromIncludeExclude()
185 for (XmlClass xmlClass : m_classes) { in hasIncludedMethods()
195 for (XmlClass xmlClass : m_classes) { in hasExcludedMethods()
212 private List<String> createQualifiedMethodNames(XmlClass xmlClass, in createQualifiedMethodNames()
249 public void setXmlClasses(List<XmlClass> classes) { in setXmlClasses()
251 for (XmlClass c : classes) { in setXmlClasses()
DMethodInstance.java6 import org.testng.xml.XmlClass;
61 XmlClass class1 = o1.getMethod().getTestClass().getXmlClass();
62 XmlClass class2 = o2.getMethod().getTestClass().getXmlClass();
DNoOpTestClass.java6 import org.testng.xml.XmlClass;
32 private XmlClass m_xmlClass;
196 public XmlClass getXmlClass() { in getXmlClass()
/external/testng/src/test/java/test/testng249/
DVerifyTest.java7 import org.testng.xml.XmlClass;
25 XmlClass c1 = new XmlClass(B.class); in verify()
27 XmlClass c2 = new XmlClass(Base.class); in verify()
29 test.setXmlClasses(Arrays.asList(new XmlClass[] { c1, c2 })); in verify()
/external/testng/src/main/java/org/testng/xml/
DXmlClass.java20 public class XmlClass implements Serializable, Cloneable { class
34 public XmlClass() { in XmlClass() method in XmlClass
38 public XmlClass(String name) { in XmlClass() method in XmlClass
42 public XmlClass(String name, boolean loadClasses) { in XmlClass() method in XmlClass
46 public XmlClass(Class cls) { in XmlClass() method in XmlClass
50 public XmlClass(Class cls, boolean loadClasses) { in XmlClass() method in XmlClass
54 public XmlClass(String className, int index) { in XmlClass() method in XmlClass
58 public XmlClass(String className, int index, boolean loadClasses) { in XmlClass() method in XmlClass
210 XmlClass result = new XmlClass(getName(), getIndex(), loadClasses()); in clone()
255 XmlClass other = (XmlClass) obj; in equals()
DXmlPackage.java27 private List<XmlClass> m_xmlClasses= null;
79 public List<XmlClass> getXmlClasses() { in getXmlClasses()
87 private List<XmlClass> initializeXmlClasses() { in initializeXmlClasses()
88 List<XmlClass> result= Lists.newArrayList(); in initializeXmlClasses()
94 result.add(new XmlClass(className, index++, false /* don't load classes */)); in initializeXmlClasses()
/external/testng/src/test/java/test/parameters/
DShadowTest.java6 import org.testng.xml.XmlClass;
23 XmlClass c1 = new XmlClass(Shadow1SampleTest.class.getName()); in parametersShouldNotBeShadowed()
32 XmlClass c2 = new XmlClass(Shadow2SampleTest.class.getName()); in parametersShouldNotBeShadowed()
DParameterOverrideTest.java6 import org.testng.xml.XmlClass;
64 XmlClass c1 = new XmlClass(Override1Sample.class.getName()); in privateTestOverrideSuite()
/external/testng/src/test/java/test/testng173/
DTestNG173Test.java10 import org.testng.xml.XmlClass;
24 t.getXmlClasses().add(new XmlClass("test.testng173.ClassA")); in orderShouldBePreservedInMethodsWithSameNameAndInDifferentClasses()
25 t.getXmlClasses().add(new XmlClass("test.testng173.ClassB")); in orderShouldBePreservedInMethodsWithSameNameAndInDifferentClasses()
48 t.getXmlClasses().add(new XmlClass("test.testng173.ClassA")); in orderShouldBePreservedInMethodsWithSameNameAndInDifferentClassesAndDifferentPackage()
49 t.getXmlClasses().add(new XmlClass("test.testng173.anotherpackage.ClassC")); in orderShouldBePreservedInMethodsWithSameNameAndInDifferentClassesAndDifferentPackage()
/external/testng/src/test/java/test/configuration/
DBeforeTestOrderingTest.java9 import org.testng.xml.XmlClass;
39 XmlClass c1 = new XmlClass("test.configuration.BeforeTestOrdering1Test"); in verifyBeforeTestOrdering()
43 XmlClass c2 = new XmlClass("test.configuration.BeforeTestOrdering2Test"); in verifyBeforeTestOrdering()
/external/testng/src/test/java/test/
DSimpleBaseTest.java9 import org.testng.xml.XmlClass;
62 XmlClass xc = new XmlClass(clazz.getName(), index++, true /* load classes */); in createXmlTest()
65 xc = new XmlClass(c.getName(), index++, true /* load classes */); in createXmlTest()
77 XmlClass xc = new XmlClass(c, index++, true /* load classes */); in createXmlTest()
84 protected void addMethods(XmlClass cls, String... methods) { in addMethods()
DBaseTest.java32 import org.testng.xml.XmlClass;
200 protected XmlClass addClass(Class<?> cls) { in addClass()
204 protected XmlClass addClass(String className) { in addClass()
205 XmlClass result= new XmlClass(className); in addClass()
223 private XmlClass findClass(String className) { in findClass()
224 for(XmlClass cl : getTest().getXmlClasses()) { in findClass()
230 XmlClass result= addClass(className); in findClass()
236 XmlClass xmlClass= findClass(className); in addIncludedMethod()
242 XmlClass xmlClass= findClass(className); in addExcludedMethod()
DTestHelper.java5 import org.testng.xml.XmlClass;
30 List<XmlClass> classes = new ArrayList<>(); in createSuite()
31 classes.add(new XmlClass(cls)); in createSuite()
/external/testng/src/test/java/test/objectfactory/
DCustomFactoryTest.java7 import org.testng.xml.XmlClass;
45 .add(new XmlClass("test.objectfactory.MyFactoryFactory")); in setFactoryByAnnotation()
56 .add(new XmlClass("test.objectfactory.ContextAwareFactoryFactory")); in factoryReceivesContext()
65 .add(new XmlClass("test.objectfactory.BadMethodFactoryFactory")); in setInvalidMethodFactoryByAnnotation()
/external/testng/src/test/java/test/timeout/
DTimeOutFromXmlTest.java5 import org.testng.xml.XmlClass;
70 List<XmlClass> classes = new ArrayList<>(); in createXmlTest()
71 XmlClass cls = new XmlClass(TestTimeOutSampleTest.class); in createXmlTest()
/external/testng/src/main/java/org/testng/reporters/
DFailedReporter.java15 import org.testng.xml.XmlClass;
174 List<XmlClass> xmlClasses = createXmlClasses(methods, srcXmlTest); in createXmlTest()
184 private List<XmlClass> createXmlClasses(List<ITestNGMethod> methods, XmlTest srcXmlTest) { in createXmlClasses()
185 List<XmlClass> result = Lists.newArrayList(); in createXmlClasses()
204 for (XmlClass c : srcXmlTest.getClasses()) { in createXmlClasses()
214 XmlClass xmlClass= new XmlClass(clazz.getName(), index++, false /* don't load classes */); in createXmlClasses()
/external/testng/src/test/java/test/thread/
DParallelTestTest.java7 import org.testng.xml.XmlClass;
55 List<XmlClass> classes = result.getXmlClasses(); in createTest()
56 XmlClass xmlClass = new XmlClass(className); in createTest()
/external/testng/src/test/java/test/xml/
DXmlVerifyTest.java8 import org.testng.xml.XmlClass;
37 XmlClass xClass = new XmlClass(XmlVerifyTest.class); in simple()
/external/testng/src/test/java/test/preserveorder/
DPreserveOrderTest.java7 import org.testng.xml.XmlClass;
97 t.getXmlClasses().add(new XmlClass("test.preserveorder.ChuckTest4")); in orderShouldBePreservedWithDependencies()
98 t.getXmlClasses().add(new XmlClass("test.preserveorder.ChuckTest3")); in orderShouldBePreservedWithDependencies()
114 t.getXmlClasses().add(new XmlClass(TestClassFactory.class.getName())); in factoryPreserve()
/external/testng/src/main/java/org/testng/
DTestClass.java11 import org.testng.xml.XmlClass;
37 private XmlClass m_xmlClass;
44 XmlClass xmlClass) { in TestClass()
62 public XmlClass getXmlClass() { in getXmlClass()
75 XmlClass xmlClass) in init()
DIClass.java3 import org.testng.xml.XmlClass;
29 XmlClass getXmlClass(); in getXmlClass()
/external/testng/src/test/java/test/methodselectors/
DMethodSelectorInSuiteTest.java10 import org.testng.xml.XmlClass;
41 XmlClass testClass = new XmlClass(test.methodselectors.SampleTest.class); in programmaticXmlSuite()
/external/testng/src/test/java/test/sanitycheck/
DCheckTestNamesTest.java10 import org.testng.xml.XmlClass;
88 result.getXmlClasses().add(new XmlClass(SampleTest1.class.getCanonicalName())); in checkTestNamesForProgrammaticSuites()
90 result.getXmlClasses().add(new XmlClass(SampleTest2.class.getCanonicalName())); in checkTestNamesForProgrammaticSuites()
DCheckSuiteNamesTest.java8 import org.testng.xml.XmlClass;
59 result.getXmlClasses().add(new XmlClass(SampleTest1.class.getCanonicalName())); in checkProgrammaticSuitesFails()
66 result.getXmlClasses().add(new XmlClass(SampleTest2.class.getCanonicalName())); in checkProgrammaticSuitesFails()

12