Package com.puppetlabs.geppetto.junitresult.util

Examples of com.puppetlabs.geppetto.junitresult.util.JunitresultDomSerializer.serialize()


    JunitresultDomSerializer serializer = new JunitresultDomSerializer();
    File outputDir = TestDataProvider.getTestFile(new Path("output/"));
    File output = new File(outputDir, "sample_result.xml");
    if(!output.exists())
      output.createNewFile();
    serializer.serialize(result, new FileOutputStream(output));
  }

  public void test_aggregatorSmokeTest() throws IOException, TransformerException, ParserConfigurationException {
    JunitresultAggregator aggregator = new JunitresultAggregator();
    File root = null;
View Full Code Here


      JunitresultDomSerializer serializer = new JunitresultDomSerializer();
      File outputDir = TestDataProvider.getTestFile(new Path("output/"));
      File output = new File(outputDir, "smoke_result.xml");
      if(!output.exists())
        output.createNewFile();
      serializer.serialize(result, new FileOutputStream(output));
    }
    finally {
      if(root != null)
        deleteRecursiveContent(root, true);
    }
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.