Package org.openiaml.docs.generation

Examples of org.openiaml.docs.generation.DocumentationHelper


*/
public class GenerateModeldocTestCase extends TestCase {

  public void testIdentifierMatches() {
   
    DocumentationHelper helper = new DocumentationHelper() {

      public void load(ModeldocFactory factory, ModelDocumentation root)
          throws DocumentationGenerationException {
        // do nothing
      }
     
    };
   
    assertTrue(helper.identifierMatches(new Identifier("model::InternetApplication"), ModelPackage.eINSTANCE.getInternetApplication()));
    assertTrue(helper.identifierMatches(new Identifier("model::visual::Frame"), VisualPackage.eINSTANCE.getFrame()));
    assertFalse(helper.identifierMatches(new Identifier("model::InternetApplication"), VisualPackage.eINSTANCE.getFrame()));
    assertFalse(helper.identifierMatches(new Identifier("model::visual::Frame"), ModelPackage.eINSTANCE.getInternetApplication()));
   
  }
View Full Code Here

TOP

Related Classes of org.openiaml.docs.generation.DocumentationHelper

Copyright © 2018 www.massapicom. 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.