Examples of BooleanTechnicalProperty


Examples of org.emftrace.metamodel.QUARCModel.Constraints.BooleanTechnicalProperty

public class ConstraintValueValidatorTest extends QUARCCoreTestCase{

  @Test
  public void testBooleanTechnicalProperty() {
    BooleanTechnicalProperty property = ConstraintsFactory.eINSTANCE.createBooleanTechnicalProperty();
   
    assertNull(ConstraintValueValidator.validateValue("true",property));
    assertNull(ConstraintValueValidator.validateValue("false",property));
    assertNotNull(ConstraintValueValidator.validateValue("falsetrue",property));
    assertNotNull(ConstraintValueValidator.validateValue("foo",property));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.