Top Inners Fields Constructors Methods
org.glassfish.pfl.test

public Class TimedTest

extends RepeatedTest
Class Inheritance
Imports
junit.extensions.RepeatedTest, junit.framework.Test, .TestCase, .TestResult, .TestSuite

References Deprecated

RepeatedTest is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
TimedTest.InnerTest

References Deprecated TestCase is deprecated or references (maybe indirectly) at least one deprecated element.

Field Summary

Modifier and TypeField and Description
private long

Constructor Summary

AccessConstructor and Description
public
TimedTest(Test test, int reps)

Method Summary

Modifier and TypeMethod and Description
public long
public void
run(TestResult result)

Overrides junit.extensions.RepeatedTest.run.

Implements junit.framework.Test.run.

Runs a test and collects its result in a TestResult instance.

public static TestSuite
Inherited from junit.extensions.RepeatedTest:
countTestCasestoString

Field Detail

durationback to summary
private long duration

Constructor Detail

TimedTestback to summary
public TimedTest(Test test, int reps)

Method Detail

getDurationback to summary
public long getDuration()
runback to summary
public void run(TestResult result)

Overrides junit.extensions.RepeatedTest.run.

Implements junit.framework.Test.run.

Doc from junit.framework.Test.run.

Runs a test and collects its result in a TestResult instance.

suiteback to summary
public static TestSuite suite()
org.glassfish.pfl.test back to summary

public Class TimedTest.InnerTest

extends TestCase
Class Inheritance

References Deprecated

TestCase is deprecated or references (maybe indirectly) at least one deprecated element.

See corresponding docs for further information.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
Inherited from junit.framework.TestCase:
assertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertEqualsassertFalseassertFalseassertNotNullassertNotNullassertNotSameassertNotSameassertNullassertNullassertSameassertSameassertTrueassertTruecountTestCasescreateResultfailfailfailNotEqualsfailNotSamefailSameformatgetNamerunrunrunBarerunTestsetNamesetUptearDowntoString

Constructor Detail

InnerTestback to summary
public InnerTest()

Method Detail

testNOPback to summary
public void testNOP()