/**
* (c) 2011, Alejandro Serrano
* Released under the terms of the EPL.
*/
package net.sf.eclipsefp.haskell.ui.internal.editors.cabal.forms.stanzas;
import net.sf.eclipsefp.haskell.core.cabalmodel.CabalSyntax;
import net.sf.eclipsefp.haskell.ui.internal.util.UITexts;
/**
* Types of test-suites available in the Cabal editor.
* @author Alejandro Serrano
*
*/
public enum TestSuiteType {
Stdio (CabalSyntax.VALUE_EXITCODE_STDIO_1_0.getCabalName(), UITexts.cabalEditor_stdioTestSuite),
Detailed (CabalSyntax.VALUE_DETAILED_0_9.getCabalName(), UITexts.cabalEditor_detailedTestSuite);
String cabalName;
String shownName;
TestSuiteType(final String cabalName, final String shownName) {
this.cabalName = cabalName;
this.shownName = shownName;
}
public String getCabalName() {
return cabalName;
}
public String getShownName() {
return shownName;
}
}