TestType () { if (myAllInFolderRB.isSelected()) { return TestType.TEST_FOLDER; } else if (myTestScriptRB.isSelected()) { return TestType.TEST_SCRIPT; } else if (myTestClassRB.isSelected()) { return TestType.TEST_CLASS; } else if (myTestMethodRB.isSelected()) { return TestType.TEST_METHOD; } else { return TestType.TEST_FUNCTION; } }