@Override public void checkConfiguration() throws RuntimeConfigurationException { final TestNGTestObject testObject = TestNGTestObject.fromConfig(this); if (testObject != null) { testObject.checkConfiguration(); } JavaRunConfigurationExtensionManager.checkConfigurationIsValid(this); ProgramParametersUtil.checkWorkingDirectoryExist( this, getProject(), getConfigurationModule().getModule()); JavaParametersUtil.checkAlternativeJRE(this); // TODO add various checks here }
@Override public String getActionName() { final TestNGTestObject testObject = TestNGTestObject.fromConfig(this); return testObject != null ? testObject.getActionName() : null; }
@Override public String suggestedName() { final TestNGTestObject testObject = TestNGTestObject.fromConfig(this); return testObject != null ? testObject.getGeneratedName() : null; }