Home
last modified time | relevance | path

Searched refs:xmlClass (Results 1 – 15 of 15) sorted by relevance

/external/testng/src/main/java/org/testng/internal/
DClassInfoMap.java23 for (XmlClass xmlClass : classes) { in ClassInfoMap()
25 Class c = xmlClass.getSupportClass(); in ClassInfoMap()
26 registerClass(c, xmlClass); in ClassInfoMap()
28 Utils.log("[ClassInfoMap]", 1, "Unable to open class " + xmlClass.getName() in ClassInfoMap()
30 if (xmlClass.loadClasses()) { in ClassInfoMap()
37 private void registerClass(Class cl, XmlClass xmlClass) { in registerClass() argument
38 m_map.put(cl, xmlClass); in registerClass()
41 if (! m_map.containsKey(c)) registerClass(c, xmlClass); in registerClass()
54 public void put(Class<?> cls, XmlClass xmlClass) { in put() argument
55 m_map.put(cls, xmlClass); in put()
DXmlMethodSelector.java138 for (XmlClass xmlClass : m_classes) { in includeMethodFromIncludeExclude()
141 Class cls = xmlClass.getSupportClass(); in includeMethodFromIncludeExclude()
147 createQualifiedMethodNames(xmlClass, toStringList(xmlClass.getIncludedMethods())); in includeMethodFromIncludeExclude()
149 List<String> excludedMethods = createQualifiedMethodNames(xmlClass, in includeMethodFromIncludeExclude()
150 xmlClass.getExcludedMethods()); in includeMethodFromIncludeExclude()
185 for (XmlClass xmlClass : m_classes) { in hasIncludedMethods()
186 if (xmlClass.getIncludedMethods().size() > 0) { in hasIncludedMethods()
195 for (XmlClass xmlClass : m_classes) { in hasExcludedMethods()
196 if (xmlClass.getExcludedMethods().size() > 0) { in hasExcludedMethods()
212 private List<String> createQualifiedMethodNames(XmlClass xmlClass, in createQualifiedMethodNames() argument
[all …]
DBaseClassFinder.java42 protected IClass findOrCreateIClass(ITestContext context, Class cls, XmlClass xmlClass, in findOrCreateIClass() argument
48 result = new ClassImpl(context, cls, xmlClass, instance, m_classes, xmlTest, annotationFinder, in findOrCreateIClass()
DTestNGClassFinder.java96 for (XmlClass xmlClass : xmlTest.getXmlClasses()) { in TestNGClassFinder()
97 if (xmlClass.loadClasses() && xmlClass.getName().equals(cls.getName())) { in TestNGClassFinder()
DBaseTestMethod.java776 for (XmlClass xmlClass: test.getXmlClasses()) { in findMethodParameters()
777 if (xmlClass.getName().equals(getTestClass().getName())) { in findMethodParameters()
778 result.putAll(xmlClass.getLocalParameters()); in findMethodParameters()
779 for (XmlInclude include : xmlClass.getIncludedMethods()) { in findMethodParameters()
DClassImpl.java52 public ClassImpl(ITestContext context, Class cls, XmlClass xmlClass, Object instance, in ClassImpl() argument
58 m_xmlClass = xmlClass; in ClassImpl()
DInvoker.java384 for(XmlClass xmlClass : classes) { in recordConfigurationInvocationFailed()
385 setClassInvocationFailure(xmlClass.getSupportClass(), instance); in recordConfigurationInvocationFailed()
/external/testng/src/test/java/org/testng/internal/
DMethodInstanceTest.java131 private XmlClass xmlClass; field in MethodInstanceTest.TestClassStub
133 public TestClassStub(XmlTest xmlTest, XmlClass xmlClass) { in TestClassStub() argument
135 this.xmlClass = xmlClass; in TestClassStub()
150 return xmlClass; in getXmlClass()
/external/testng/src/main/java/org/testng/
DTestClass.java44 XmlClass xmlClass) { in TestClass() argument
45 init(cls, testMethodFinder, annotationFinder, runInfo, xmlTest, xmlClass); in TestClass()
75 XmlClass xmlClass) in init() argument
81 m_xmlClass = xmlClass; in init()
DTestNG.java391 XmlClass xmlClass = new XmlClass(cls); in initializeSuitesAndJarFile() local
392 xmlClasses.add(xmlClass); in initializeSuitesAndJarFile()
/external/testng/src/main/java/org/testng/reporters/
DFailedReporter.java214 XmlClass xmlClass= new XmlClass(clazz.getName(), index++, false /* don't load classes */); in createXmlClasses() local
221 xmlClass.setIncludedMethods(methodNames); in createXmlClasses()
222 xmlClass.setParameters(parameters); in createXmlClasses()
223 result.add(xmlClass); in createXmlClasses()
/external/testng/src/test/java/test/
DBaseTest.java236 XmlClass xmlClass= findClass(className); in addIncludedMethod() local
237 xmlClass.getIncludedMethods().add(new XmlInclude(m)); in addIncludedMethod()
238 getTest().getXmlClasses().add(xmlClass); in addIncludedMethod()
242 XmlClass xmlClass= findClass(className); in addExcludedMethod() local
243 xmlClass.getExcludedMethods().add(m); in addExcludedMethod()
244 getTest().getXmlClasses().add(xmlClass); in addExcludedMethod()
/external/testng/src/test/java/test/thread/
DParallelTestTest.java56 XmlClass xmlClass = new XmlClass(className); in createTest() local
57 classes.add(xmlClass); in createTest()
/external/testng/src/main/java/org/testng/xml/
DXmlInclude.java157 public void setXmlClass(XmlClass xmlClass) { in setXmlClass() argument
158 m_xmlClass = xmlClass; in setXmlClass()
/external/testng/src/main/java/org/testng/xml/dom/
DDomUtil.java164 XmlClass xmlClass = new XmlClass(); in populateTest() local
165 populateAttributes(item4, xmlClass); in populateTest()
166 xmlTest.getClasses().add(xmlClass); in populateTest()