|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjetbrains.buildServer.util.NameCounter
public class NameCounter
User: kir Class maintains counter for tests with same name.
| Constructor Summary | |
|---|---|
NameCounter()
|
|
| Method Summary | |
|---|---|
void |
clear()
Reset collected stats |
int |
incrementAndGetCountFor(long id)
Each call to this method with same parameter returns and increases counter, uniquie for given name |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NameCounter()
| Method Detail |
|---|
public int incrementAndGetCountFor(long id)
id -
public void clear()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||