Package org.jetbrains.osgi.jps.model

Examples of org.jetbrains.osgi.jps.model.LibraryBundlificationRule.validate()


  }

  @Test
  public void testValidation() throws Exception {
    LibraryBundlificationRule rule = new LibraryBundlificationRule();
    rule.validate();

    rule.setRuleRegex("lib[Jj");
    try {
      rule.validate();
      fail();
View Full Code Here


    LibraryBundlificationRule rule = new LibraryBundlificationRule();
    rule.validate();

    rule.setRuleRegex("lib[Jj");
    try {
      rule.validate();
      fail();
    }
    catch (IllegalArgumentException e) { }

    rule.setRuleRegex(".*");
 
View Full Code Here

    catch (IllegalArgumentException e) { }

    rule.setRuleRegex(".*");
    rule.setAdditionalProperties("\\u1wtf");
    try {
      rule.validate();
      fail();
    }
    catch (IllegalArgumentException e) { }
  }
}
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.