/external/testng/src/main/java/org/testng/internal/ |
ClassInfoMap.java | 4 import org.testng.xml.XmlClass; 11 private Map<Class<?>, XmlClass> m_map = Maps.newLinkedHashMap(); 17 public ClassInfoMap(List<XmlClass> classes) { 21 public ClassInfoMap(List<XmlClass> classes, boolean includeNested) { 23 for (XmlClass xmlClass : classes) { 25 Class c = xmlClass.getSupportClass(); 26 registerClass(c, xmlClass); 28 Utils.log("[ClassInfoMap]", 1, "Unable to open class " + xmlClass.getName() 30 if (xmlClass.loadClasses()) [all...] |
XmlMethodSelector.java | 18 import org.testng.xml.XmlClass; 35 private List<XmlClass> m_classes = null; 138 for (XmlClass xmlClass : m_classes) { 141 Class cls = xmlClass.getSupportClass(); 147 createQualifiedMethodNames(xmlClass, toStringList(xmlClass.getIncludedMethods())); 149 List<String> excludedMethods = createQualifiedMethodNames(xmlClass, 150 xmlClass.getExcludedMethods()); 185 for (XmlClass xmlClass : m_classes) [all...] |
BaseClassFinder.java | 9 import org.testng.xml.XmlClass; 42 protected IClass findOrCreateIClass(ITestContext context, Class cls, XmlClass xmlClass, 48 result = new ClassImpl(context, cls, xmlClass, instance, m_classes, xmlTest, annotationFinder,
|
TestNGClassFinder.java | 20 import org.testng.xml.XmlClass; 96 for (XmlClass xmlClass : xmlTest.getXmlClasses()) { 97 if (xmlClass.loadClasses() && xmlClass.getName().equals(cls.getName())) {
|
ClassImpl.java | 22 import org.testng.xml.XmlClass; 48 private XmlClass m_xmlClass; 52 public ClassImpl(ITestContext context, Class cls, XmlClass xmlClass, Object instance, 58 m_xmlClass = xmlClass; 110 public XmlClass getXmlClass() {
|
BaseTestMethod.java | 23 import org.testng.xml.XmlClass;
776 for (XmlClass xmlClass: test.getXmlClasses()) {
777 if (xmlClass.getName().equals(getTestClass().getName())) {
778 result.putAll(xmlClass.getLocalParameters());
779 for (XmlInclude include : xmlClass.getIncludedMethods()) {
|
Invoker.java | 46 import org.testng.xml.XmlClass; 317 private XmlClass[] findClassesInSameTest(Class<?> cls, XmlSuite suite) { 318 Map<String, XmlClass> vResult= Maps.newHashMap(); 321 for(XmlClass testClass : test.getXmlClasses()) { 325 for(XmlClass thisClass : test.getXmlClasses()) { 334 XmlClass[] result= vResult.values().toArray(new XmlClass[vResult.size()]); 383 XmlClass[] classes= findClassesInSameTest(tm.getRealClass(), suite); 384 for(XmlClass xmlClass : classes) [all...] |
/external/testng/src/test/java/test/thread/ |
ParallelTestTest.java | 7 import org.testng.xml.XmlClass; 55 List<XmlClass> classes = result.getXmlClasses(); 56 XmlClass xmlClass = new XmlClass(className); 57 classes.add(xmlClass);
|
/external/testng/src/main/java/org/testng/ |
TestClass.java | 11 import org.testng.xml.XmlClass; 37 private XmlClass m_xmlClass; 44 XmlClass xmlClass) { 45 init(cls, testMethodFinder, annotationFinder, runInfo, xmlTest, xmlClass); 62 public XmlClass getXmlClass() { 75 XmlClass xmlClass) 81 m_xmlClass = xmlClass;
|
TestNG.java | 57 import org.testng.xml.XmlClass; 389 List<XmlClass> xmlClasses = Lists.newArrayList(); 391 XmlClass xmlClass = new XmlClass(cls); 392 xmlClasses.add(xmlClass); 545 List<XmlClass> xmlClasses = Lists.newArrayList(); 552 for (XmlClass xc : xmlClasses) { 572 XmlClass[] xmlClasses = Utils.classesToXmlClasses(classes); [all...] |
/external/testng/src/main/java/org/testng/reporters/ |
FailedReporter.java | 15 import org.testng.xml.XmlClass; 174 List<XmlClass> xmlClasses = createXmlClasses(methods, srcXmlTest); 181 * @return A list of XmlClass objects (each representing a <class> tag) based 184 private List<XmlClass> createXmlClasses(List<ITestNGMethod> methods, XmlTest srcXmlTest) { 185 List<XmlClass> result = Lists.newArrayList(); 204 for (XmlClass c : srcXmlTest.getClasses()) { 214 XmlClass xmlClass= new XmlClass(clazz.getName(), index++, false /* don't load classes */); 221 xmlClass.setIncludedMethods(methodNames) [all...] |
/external/testng/src/test/java/org/testng/internal/ |
MethodInstanceTest.java | 15 import org.testng.xml.XmlClass;
87 public static class XmlClassStub extends XmlClass {
131 private XmlClass xmlClass;
133 public TestClassStub(XmlTest xmlTest, XmlClass xmlClass) {
135 this.xmlClass = xmlClass;
149 public XmlClass getXmlClass() {
150 return xmlClass;
[all...] |
/external/testng/src/main/java/org/testng/xml/ |
XmlInclude.java | 22 private XmlClass m_xmlClass; 68 XmlClass.listToString(invocationNumbers).toString()); 157 public void setXmlClass(XmlClass xmlClass) { 158 m_xmlClass = xmlClass;
|
/external/testng/src/test/java/test/ |
BaseTest.java | 32 import org.testng.xml.XmlClass;
200 protected XmlClass addClass(Class<?> cls) {
204 protected XmlClass addClass(String className) {
205 XmlClass result= new XmlClass(className);
223 private XmlClass findClass(String className) {
224 for(XmlClass cl : getTest().getXmlClasses()) {
230 XmlClass result= addClass(className);
236 XmlClass xmlClass= findClass(className); [all...] |
/external/testng/src/main/java/org/testng/xml/dom/ |
DomUtil.java | 5 import org.testng.xml.XmlClass; 164 XmlClass xmlClass = new XmlClass(); 165 populateAttributes(item4, xmlClass); 166 xmlTest.getClasses().add(xmlClass);
|
/prebuilts/tools/common/m2/repository/org/testng/testng/6.9.10/ |
testng-6.9.10.jar | |