Package net.thucydides.core.statistics
Class AtomicTestCount
java.lang.Object
net.thucydides.core.statistics.AtomicTestCount
- All Implemented Interfaces:
TestCount
public class AtomicTestCount extends java.lang.Object implements TestCount
Keeps track of the tests executed.
Should be managed by Guice as a singleton.
-
Constructor Summary
Constructors Constructor Description AtomicTestCount() -
Method Summary
Modifier and Type Method Description intgetCurrentTestNumber()intgetNextTest()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AtomicTestCount
public AtomicTestCount()
-
-
Method Details
-
getNextTest
public int getNextTest()- Specified by:
getNextTestin interfaceTestCount
-
getCurrentTestNumber
public int getCurrentTestNumber()- Specified by:
getCurrentTestNumberin interfaceTestCount
-