Class ClassifierLevelAttributePrecedence
- java.lang.Object
-
- org.eclipse.epsilon.hutn.test.model.HutnTestWithFamiliesMetaModel
-
- org.eclipse.epsilon.hutn.test.acceptance.util.HutnAcceptanceTest
-
- org.eclipse.epsilon.hutn.test.acceptance.valid.ClassifierLevelAttributePrecedence
-
public class ClassifierLevelAttributePrecedence extends HutnAcceptanceTest
Tests that the DefaultValueRules, specified in a HUTN configuration file, are correctly overridden by any classifier level attributes in the HUTN source. In this test case, the configuration file specifies default value rules for the averageAge and numberOfChildren attributes on the Family class; while the HUTN source also specifies a classifier level value for the Family.averageAge attribute.- Author:
- louis
-
-
Field Summary
-
Fields inherited from class org.eclipse.epsilon.hutn.test.acceptance.util.HutnAcceptanceTest
model
-
Fields inherited from class org.eclipse.epsilon.hutn.test.model.HutnTestWithFamiliesMetaModel
BANK_ACCOUNTS_MODEL_URI, CONFIG_FILE
-
-
Constructor Summary
Constructors Constructor Description ClassifierLevelAttributePrecedence()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
executeHutn()
void
modelShouldHaveOneFamily()
void
theSmithsShouldHaveClassifierLevelAttributeValue()
void
theSmithsShouldHaveDefaultValue()
-
Methods inherited from class org.eclipse.epsilon.hutn.test.acceptance.util.HutnAcceptanceTest
disposeModel, generateModel, generateModel, generateModel
-
Methods inherited from class org.eclipse.epsilon.hutn.test.model.HutnTestWithFamiliesMetaModel
families, registerMetaModels, unregisterMetaModels
-
-