Examples of ExportManifestMondrian


Examples of org.pentaho.platform.plugin.services.importexport.exportManifest.bindings.ExportManifestMondrian

    assertNotNull( entity2 );
    entity3 = exportManifest.getExportManifestEntity( "dir2/file1" );
    assertNotNull( entity3 );

    // Mondrian
    ExportManifestMondrian mondrian = new ExportManifestMondrian();
    mondrian.setCatalogName( "cat1" );
    mondrian.setParameters( new Parameters() {
      {
        put( "testKey", "testValue" );
      }
    } );
    mondrian.setFile( "testMondrian.xml" );
    exportManifest.addMondrian( mondrian );

    // Metadata
    ExportManifestMetadata metadata = new ExportManifestMetadata();
    metadata.setDomainId( "testDomain" );
View Full Code Here

Examples of org.pentaho.platform.plugin.services.importexport.exportManifest.bindings.ExportManifestMondrian

    assertEquals( 1, importManifest.getMetadataList().size() );
    assertEquals( 1, importManifest.getMondrianList().size() );
    assertEquals( 1, importManifest.getScheduleList().size() );
    assertEquals( 1, importManifest.getDatasourceList().size() );

    ExportManifestMondrian mondrian1 = importManifest.getMondrianList().get( 0 );
    assertEquals( "cat1", mondrian1.getCatalogName() );
    assertTrue( mondrian1.getParameters().containsKey( "testKey" ) );
    assertEquals( "testValue", mondrian1.getParameters().get( "testKey" ) );
    assertEquals( "testMondrian.xml", mondrian1.getFile() );

    ExportManifestMetadata metadata1 = importManifest.getMetadataList().get( 0 );
    assertEquals( "testDomain", metadata1.getDomainId() );
    assertEquals( "testMetadata.xml", metadata1.getFile() );
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.