|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface TestScoped
This defines a Scope
that lasts for a single test run.
A test conceptually comes in scope when it starts and goes out of scope when it finishes its
execution (e.g., on JUnit lingo, roughly at the moment of junit.framework.TestCase#setUp()
and junit.framework.TestCase#tearDown()
).
for an implementation of this scope
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |