コード例 #1
0
 @Test
 public void testGetConfigurationModelWrapperWhenPureVariants() {
   resourceSet = TestHelper.loadPureVariantsPackages();
   ConfigurationModelWrapper wrapper =
       FeatureAccessFactory.getConfigurationModelWrapper(pvConfigurationModelURI);
   Assert.assertTrue(wrapper instanceof PVConfigurationModelWrapper);
 }
コード例 #2
0
 @Test
 public void testGetConfigurationModelWrapperWhenFmp() {
   resourceSet = TestHelper.loadFmpPackages();
   ConfigurationModelWrapper wrapper =
       FeatureAccessFactory.getConfigurationModelWrapper(fmpModelURI);
   Assert.assertTrue(wrapper instanceof FMPConfigurationModelWrapper);
 }
コード例 #3
0
 @Test
 public void testGetFeatureModelWrapperWhenPureVariants() {
   resourceSet = TestHelper.loadPureVariantsPackages();
   FeatureModelWrapper wrapper = FeatureAccessFactory.getFeatureModelWrapper(pvFeatureModelURI);
   System.out.println(wrapper);
   Assert.assertTrue(wrapper instanceof PVFeatureModelWrapper);
 }
コード例 #4
0
 @Test
 public void testGetConfigurationModelWrapperWhenText() {
   ConfigurationModelWrapper wrapper =
       FeatureAccessFactory.getConfigurationModelWrapper(textFeatureModelURI);
   Assert.assertTrue(wrapper instanceof TextConfigurationModelWrapper);
 }