net.thucydides.core.statistics.model
Class TestRun

Package class diagram package TestRun
java.lang.Object
  extended by net.thucydides.core.statistics.model.TestRun

@Entity
public class TestRun
extends Object


Constructor Summary
  TestRun()
           
protected TestRun(String title, String projectKey, TestResult result, long duration, Date executionDate)
           
 
Method Summary
 TestRun at(Date executionDate)
           
static TestRun from(TestOutcome result)
           
 long getDuration()
           
 Date getExecutionDate()
           
 String getProjectKey()
           
 TestResult getResult()
           
 Set<TestRunTag> getTags()
           
 String getTitle()
           
 TestRun inProject(String projectKey)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRun

public TestRun()

TestRun

protected TestRun(String title,
                  String projectKey,
                  TestResult result,
                  long duration,
                  Date executionDate)
Method Detail

getTitle

public String getTitle()

getProjectKey

public String getProjectKey()

getResult

public TestResult getResult()

getExecutionDate

public Date getExecutionDate()

getDuration

public long getDuration()

getTags

public Set<TestRunTag> getTags()

from

public static TestRun from(TestOutcome result)

inProject

public TestRun inProject(String projectKey)

at

public TestRun at(Date executionDate)


Copyright © 2011-2012 Wakaleo Consulting. All Rights Reserved.