hudson.plugins.testng.util
Class TestResultHistoryUtil

java.lang.Object
  extended by hudson.plugins.testng.util.TestResultHistoryUtil

public class TestResultHistoryUtil
extends java.lang.Object


Constructor Summary
TestResultHistoryUtil()
           
 
Method Summary
static java.util.List<TestResults> getAllPreviousBuildTestResults(hudson.model.AbstractBuild<?,?> owner)
          Loops through all the previous builds and add their test results to the previousResults array.
static TestResults getPreviousBuildTestResults(hudson.model.AbstractBuild<?,?> owner)
           
static java.lang.String toSummary(TestNGBuildAction action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestResultHistoryUtil

public TestResultHistoryUtil()
Method Detail

getAllPreviousBuildTestResults

public static java.util.List<TestResults> getAllPreviousBuildTestResults(hudson.model.AbstractBuild<?,?> owner)
Loops through all the previous builds and add their test results to the previousResults array. We'd rather make this list when needed otherwise if we cache these values in the memory we will run out of memory

Returns:
list of previous build test results

getPreviousBuildTestResults

public static TestResults getPreviousBuildTestResults(hudson.model.AbstractBuild<?,?> owner)

toSummary

public static java.lang.String toSummary(TestNGBuildAction action)


Copyright © 2004-2011. All Rights Reserved.