Examples of StyledHtmlAxisServiceLister


Examples of org.pentaho.platform.plugin.services.webservices.content.StyledHtmlAxisServiceLister

   */

  @Test
  public void testExecuteUrlListed() throws Exception {

    IContentGenerator serviceLister = new StyledHtmlAxisServiceLister();

    String html = ContentGeneratorUtil.getContentAsString( serviceLister );
    System.out.println( html );

    assertTrue( "Run URL is missing", html.contains( "/content/ws-run/echoService" ) );
View Full Code Here

Examples of org.pentaho.platform.plugin.services.webservices.content.StyledHtmlAxisServiceLister

    assertTrue( "Run URL is missing", html.contains( "/content/ws-run/echoService" ) );
  }

  @Test
  public void testWsdlUrlListed() throws Exception {
    IContentGenerator serviceLister = new StyledHtmlAxisServiceLister();

    String html = ContentGeneratorUtil.getContentAsString( serviceLister );
    System.out.println( html );

    assertTrue( "WSDL URL is missing", html.contains( "/content/ws-wsdl/echoService" ) );
View Full Code Here

Examples of org.pentaho.platform.plugin.services.webservices.content.StyledHtmlAxisServiceLister

    File styleDotSCC = new File( microPlatform.getFilePath() + "system/axis/themes/onyx/styles.css" );
    context.setResource( "/test-module/themes/onyx/styles.css", styleDotSCC.toURI().toURL() );
    context.setResourceAsStream( "/test-module/themes/onyx/styles.css", new FileInputStream( styleDotSCC ) );
    PentahoSystem.getApplicationContext().setContext( context );

    IContentGenerator serviceLister = new StyledHtmlAxisServiceLister();

    String html = ContentGeneratorUtil.getContentAsString( serviceLister );
    System.out.println( html );

    assertTrue( "style is missing", html.contains( "styles.css" ) );
View Full Code Here

Examples of org.pentaho.platform.plugin.services.webservices.content.StyledHtmlAxisServiceLister

    assertTrue( "style is missing", html.contains( "styles.css" ) );
  }

  @Test
  public void testMetaInf() throws Exception {
    IContentGenerator serviceLister = new StyledHtmlAxisServiceLister();

    String html = ContentGeneratorUtil.getContentAsString( serviceLister );
    System.out.println( html );

    assertTrue( "title is not displayed", html.contains( "junit echo service" ) );
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.