private void p(List<IMethodInstance> methods, String s) { System.out.println("[PreserveOrderMethodInterceptor] " + s); for (IMethodInstance mi : methods) { System.out.println(" " + mi.getMethod().getMethodName() + " index:" + mi.getMethod().getTestClass().getXmlClass().getIndex()); } }
XmlClass class1 = o1.getMethod().getTestClass().getXmlClass(); XmlClass class2 = o2.getMethod().getTestClass().getXmlClass();
public NoOpTestClass(ITestClass testClass) { m_testClass= testClass.getRealClass(); m_beforeSuiteMethods= testClass.getBeforeSuiteMethods(); m_beforeTestConfMethods= testClass.getBeforeTestConfigurationMethods(); m_beforeGroupsMethods= testClass.getBeforeGroupsMethods(); m_beforeClassMethods= testClass.getBeforeClassMethods(); m_beforeTestMethods= testClass.getBeforeTestMethods(); m_afterSuiteMethods= testClass.getAfterSuiteMethods(); m_afterTestConfMethods= testClass.getAfterTestConfigurationMethods(); m_afterGroupsMethods= testClass.getAfterGroupsMethods(); m_afterClassMethods= testClass.getAfterClassMethods(); m_afterTestMethods= testClass.getAfterTestMethods(); m_instances= testClass.getInstances(true); m_instanceHashes= testClass.getInstanceHashCodes(); m_xmlTest = testClass.getXmlTest(); m_xmlClass = testClass.getXmlClass(); }
XmlClass class1 = o1.getMethod().getTestClass().getXmlClass(); XmlClass class2 = o2.getMethod().getTestClass().getXmlClass();
public NoOpTestClass(ITestClass testClass) { m_testClass = testClass.getRealClass(); m_beforeSuiteMethods = testClass.getBeforeSuiteMethods(); m_beforeTestConfMethods = testClass.getBeforeTestConfigurationMethods(); m_beforeGroupsMethods = testClass.getBeforeGroupsMethods(); m_beforeClassMethods = testClass.getBeforeClassMethods(); m_beforeTestMethods = testClass.getBeforeTestMethods(); m_afterSuiteMethods = testClass.getAfterSuiteMethods(); m_afterTestConfMethods = testClass.getAfterTestConfigurationMethods(); m_afterGroupsMethods = testClass.getAfterGroupsMethods(); m_afterClassMethods = testClass.getAfterClassMethods(); m_afterTestMethods = testClass.getAfterTestMethods(); m_instances = testClass.getInstances(true); m_instanceHashes = testClass.getInstanceHashCodes(); m_xmlTest = testClass.getXmlTest(); m_xmlClass = testClass.getXmlClass(); }