use of de.monticore.featureconfiguration._ast.ASTFeatureConfiguration in project feature-diagram by MontiCore.
the class FeatureDiagramAnalysisTest method testCompleteToValid2.
@Test
public void testCompleteToValid2() {
ASTFeatureDiagram fd = getFD("FalseOptional.fd");
ASTFeatureConfiguration fc = getFC("ValidConfig.fc");
ASTFeatureConfiguration result = new CompleteToValid().perform(fd, fc);
assertFalse(null == result);
}
use of de.monticore.featureconfiguration._ast.ASTFeatureConfiguration in project feature-diagram by MontiCore.
the class FeatureDiagramAnalysisTest method testisValid1.
@Test
public void testisValid1() {
ASTFeatureDiagram fd = getFD("FalseOptional.fd");
ASTFeatureConfiguration fc = getFC("CompleteToValid.fc");
Boolean result = new IsValid().perform(fd, fc);
assertFalse(result);
}
use of de.monticore.featureconfiguration._ast.ASTFeatureConfiguration in project feature-diagram by MontiCore.
the class FeatureDiagramAnalysisTest method testCompleteToValid3.
@Test
public void testCompleteToValid3() {
ASTFeatureDiagram fd = getFD("FalseOptional.fd");
ASTFeatureConfiguration fc = getFC("InvalidConfig.fc");
ASTFeatureConfiguration result = new CompleteToValid().perform(fd, fc);
assertFalse(null == result);
}
use of de.monticore.featureconfiguration._ast.ASTFeatureConfiguration in project feature-diagram by MontiCore.
the class FeatureDiagramAnalysisTest method testisValid2.
@Test
public void testisValid2() {
ASTFeatureDiagram fd = getFD("FalseOptional.fd");
ASTFeatureConfiguration fc = getFC("ValidConfig.fc");
Boolean result = new IsValid().perform(fd, fc);
assertTrue(result);
}
use of de.monticore.featureconfiguration._ast.ASTFeatureConfiguration in project feature-diagram by MontiCore.
the class FeatureDiagramAnalysisTest method testFindValid1.
@Test
public void testFindValid1() {
ASTFeatureConfiguration result = new FindValid().perform(getFD("fdvalid/Phone.fd"));
assertFalse(null == result);
}
Aggregations