Package br.eti.kinoshita.tap4j.model

Examples of br.eti.kinoshita.tap4j.model.TestSet


  /* (non-Javadoc)
   * @see br.eti.kinoshita.tap4j.TapConsumer#getTestSet()
   */
  public TestSet getTestSet()
  {
    testSet = new TestSet();
   
    testSet.setHeader( this.header );
    testSet.setPlan( this.plan );
   
    for( TestResult testResult : testResults )
View Full Code Here


  /* (non-Javadoc)
   * @see br.eti.kinoshita.tap4j.TapConsumer#printSummary(java.io.PrintWriter)
   */
  public void printSummary( PrintWriter pw )
  {
    TestSet testSet = this.getTestSet();
    String summary = testSet.getSummary();
    pw.println( summary );
  }
View Full Code Here

  /* (non-Javadoc)
   * @see br.eti.kinoshita.tap4j.TapConsumer#printSummary(java.io.PrintStream)
   */
  public void printSummary( PrintStream ps )
  {
    TestSet testSet = this.getTestSet();
    String summary = testSet.getSummary();
    ps.println( summary );
  }
View Full Code Here

  /* (non-Javadoc)
   * @see br.eti.kinoshita.tap4j.TapConsumer#printDetails(java.io.PrintWriter)
   */
  public void printDetails( PrintWriter pw )
  {
    TestSet testSet = this.getTestSet();
    if ( testSet.getHeader() != null )
    {
      pw.println( testSet.getHeader().toString() );
    }
    if ( testSet.getPlan() != null )
    {
      pw.println( testSet.getPlan().toString() );
    }
    List<TapResult> tapLines = testSet.getTapLines();
    for ( TapResult tapLine :  tapLines)
    {
      pw.println( tapLine.toString() );
    }
    if ( testSet.getFooter() != null )
    {
      pw.println( testSet.getFooter().toString() );
    }
  }
View Full Code Here

  /* (non-Javadoc)
   * @see br.eti.kinoshita.tap4j.TapConsumer#printDetails(java.io.PrintStream)
   */
  public void printDetails( PrintStream ps )
  {
    TestSet testSet = this.getTestSet();
    if ( testSet.getHeader() != null )
    {
      ps.println( testSet.getHeader().toString() );
    }
    if ( testSet.getPlan() != null )
    {
      ps.println( testSet.getPlan().toString() );
    }
    List<TapResult> tapLines = testSet.getTapLines();
    for ( TapResult tapLine :  tapLines)
    {
      ps.println( tapLine.toString() );
    }
    if ( testSet.getFooter() != null )
    {
      ps.println( testSet.getFooter().toString() );
    }
  }
View Full Code Here

      List<ISuite> suites,
      String outputDirectory)
  {
    for ( ISuite suite : suites )
    {
      testSet = new TestSet();
     
      Set<Class<?>> testResultsSet = this.getTestResultsSetPerSuite(suite);
     
      Integer totalTestResults = this.getTotalTestResultsByTestSuite(testResultsSet);
View Full Code Here

           
            if ( groupTestResults != null )
            {
              final Integer totalTestResultsByGroup = groupTestResults.size();
             
              testSet = new TestSet();
               
              testSet.setPlan( new Plan( totalTestResultsByGroup ) );
             
              for ( ITestResult testResult : groupTestResults )
              {
View Full Code Here

  /* (non-Javadoc)
   * @see br.eti.kinoshita.tap4j.TapConsumer#getTestSet()
   */
  public TestSet getTestSet()
  {
    testSet = new TestSet();
   
    testSet.setHeader( this.header );
    testSet.setPlan( this.plan );
   
    for ( TapResult tapLine : tapLines )
View Full Code Here

  /* (non-Javadoc)
   * @see br.eti.kinoshita.tap4j.TapConsumer#printSummary(java.io.PrintWriter)
   */
  public void printSummary( PrintWriter pw )
  {
    TestSet testSet = this.getTestSet();
    String summary = testSet.getSummary();
    pw.println( summary );
  }
View Full Code Here

  /* (non-Javadoc)
   * @see br.eti.kinoshita.tap4j.TapConsumer#printDetails(java.io.PrintWriter)
   */
  public void printDetails( PrintWriter pw )
  {
    TestSet testSet = this.getTestSet();
    if ( testSet.getHeader() != null )
    {
      pw.println( testSet.getHeader().toString() );
    }
    if ( testSet.getPlan() != null )
    {
      pw.println( testSet.getPlan().toString() );
    }
    List<TapResult> tapLines = testSet.getTapLines();
    for ( TapResult tapLine :  tapLines)
    {
      pw.println( tapLine.toString() );
    }
    if ( testSet.getFooter() != null )
    {
      pw.println( testSet.getFooter().toString() );
    }
  }
View Full Code Here

TOP

Related Classes of br.eti.kinoshita.tap4j.model.TestSet

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.