Package org.onlab.junit
Utilities to assist in developing JUnit tests.
-
Interface Summary Interface Description IntegrationTest Marker interface used to separate unit tests from integration tests. -
Class Summary Class Description ExceptionTest Base for exception tests.HttpResourceUrlInterceptor Intercepts HTTP URL connections and supplies predefined data from a resource.HttpResourceUrlInterceptor.HttpResourceUrlInterceptorFactory Creates stream handlers for the interceptor.ImmutableClassChecker Hamcrest style class for verifying that a class follows the accepted rules for immutable classes.LoggerAdapter NullScheduledExecutor A scheduled executor service that does not do any of the work scheduled to it.TestTools Utilities to aid in producing JUnit tests.TestUtils Utilities for testing.UtilityClassChecker Hamcrest style class for verifying that a class follows the accepted rules for utility classes. -
Exception Summary Exception Description TestUtils.TestUtilsException Exception that can be thrown if problems are encountered while executing the utility method.