Object[] instances = testClass.getInstances(true); for(Object instance: instances) { invokeBeforeGroupsConfigurations(testMethod, groupMethods, suite, parameters, instance);
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(); }
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(); }
Object[] instances = testClass.getInstances(true); for (Object instance : instances) { GroupConfigMethodArguments arguments = new GroupConfigMethodArguments.Builder()