Examples of IPluginOperation


Examples of org.pentaho.platform.api.engine.IPluginOperation

    assertNotNull( "\"Good Test Type\" should have been loaded", contentType );
    assertNotNull( "\"Good Test Type\" extension definition is incorrect", ( (IContentInfo) contentType )
        .getExtension().equals( "good-content-type" ) );

    IContentInfo contentInfo = (IContentInfo) contentType;
    IPluginOperation operation = contentInfo.getOperations().listIterator().next();
    assertEquals( "Missing perspective", "custom-perspective", operation.getPerspective() );

    assertEquals( "\"Test Type Missing type\" should not have been loaded", 0, CollectionUtils.countMatches(
        contentTypes, new Predicate() {
          public boolean evaluate( Object object ) {
            IContentInfo type = (IContentInfo) object;
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.