Class HutnConfigFileValidationTest
- java.lang.Object
-
- org.eclipse.epsilon.hutn.test.model.HutnTestWithFamiliesMetaModel
-
- org.eclipse.epsilon.hutn.validation.config.HutnConfigFileValidationTest
-
- Direct Known Subclasses:
IncorrectlyTypedDefaultValue
,MultiValuedDefaultAttribute
,NonExistentAttribute
,NonExistentClassifier
,NonStringTypedDefaultAttribute
,ValidDefaultAttribute
,ValidDefaultValue
public abstract class HutnConfigFileValidationTest extends HutnTestWithFamiliesMetaModel
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.hutn.test.model.HutnTestWithFamiliesMetaModel
BANK_ACCOUNTS_MODEL_URI, CONFIG_FILE
-
-
Constructor Summary
Constructors Constructor Description HutnConfigFileValidationTest()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<ParseProblem>
configFileValidationTest(Configuration configuration)
static Configuration
createConfiguration(Rule... rules)
static Rule
createDefaultValueRule(java.lang.String classifier, java.lang.String attribute, java.lang.String defaultValue)
static Rule
createIdentifierRule(java.lang.String classifier, java.lang.String attribute)
-
Methods inherited from class org.eclipse.epsilon.hutn.test.model.HutnTestWithFamiliesMetaModel
families, registerMetaModels, unregisterMetaModels
-
-
-
-
Method Detail
-
configFileValidationTest
public static java.util.List<ParseProblem> configFileValidationTest(Configuration configuration) throws java.lang.Exception
- Throws:
java.lang.Exception
-
createConfiguration
public static Configuration createConfiguration(Rule... rules)
-
createIdentifierRule
public static Rule createIdentifierRule(java.lang.String classifier, java.lang.String attribute)
-
createDefaultValueRule
public static Rule createDefaultValueRule(java.lang.String classifier, java.lang.String attribute, java.lang.String defaultValue)
-
-