| 
 | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||
See:
          Description
| Class Summary | |
|---|---|
| Assert | A set of assertion methods useful for writing tests. | 
| Assume | |
| Test.None | Default empty exception | 
| Exception Summary | |
|---|---|
| Assume.AssumptionViolatedException | |
| Error Summary | |
|---|---|
| ComparisonFailure | Thrown when an assertEquals(String, String)fails. | 
| Annotation Types Summary | |
|---|---|
| After | If you allocate external resources in a Beforemethod you need to release them
 after the test runs. | 
| AfterClass | If you allocate expensive external resources in a BeforeClassmethod you need to release them
 after all the tests in the class have run. | 
| Before | When writing tests, it is common to find that several tests need similar objects created before they can run. | 
| BeforeClass | Sometimes several tests need to share computationally expensive setup (like logging into a database). | 
| Ignore | Sometimes you want to temporarily disable a test or a group of tests. | 
| Test | The Testannotation tells JUnit that thepublic voidmethod
 to which it is attached can be run as a test case. | 
Provides JUnit core classes and annotations. Corresponds to junit.framework in Junit 3.x.
| 
 | |||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | ||||||||