public static class BevoTest.TestLog extends java.lang.Object implements java.lang.Iterable<BevoTest.TestLogEntry>
TestLog
is a record of an execution of a
Test
. It consists of a sequence of
TestLogEntries
, some test environment data, and some
summary test execution data (such as start time).Constructor and Description |
---|
TestLog(BevoTest.Test test)
Constructs a new TestLog, and mark the test as started.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEnvironmentDescription() |
BevoTest.Test |
getTest() |
long |
getTestEndTime() |
long |
getTestStartTime() |
java.util.Iterator<BevoTest.TestLogEntry> |
iterator() |
int |
size() |
java.lang.String |
toString() |
public TestLog(BevoTest.Test test)
test
- the Test
that this log is recording an
execution of.public BevoTest.Test getTest()
Test
that this log is recording an
execution of.public java.lang.String getEnvironmentDescription()
String
describing the environment in which
the test was run.public long getTestStartTime()
System.currentTimeMillis()
public long getTestEndTime()
System.currentTimeMillis()
public int size()
public java.util.Iterator<BevoTest.TestLogEntry> iterator()
iterator
in interface java.lang.Iterable<BevoTest.TestLogEntry>
Iterator
over this log's entriespublic java.lang.String toString()
toString
in class java.lang.Object