A C D E F G H I L M N O P S T U W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- assertAfter(int, int, Runnable) - Static method in class org.onlab.junit.TestTools
-
Runs the specified runnable until it completes successfully or until the specified time expires.
- assertAfter(int, Runnable) - Static method in class org.onlab.junit.TestTools
-
Runs the specified runnable until it completes successfully or until the specified time expires.
- assertThatClassIsImmutable(Class<?>) - Static method in class org.onlab.junit.ImmutableClassChecker
-
Assert that the given class adheres to the immutable class rules.
- assertThatClassIsImmutableBaseClass(Class<?>) - Static method in class org.onlab.junit.ImmutableClassChecker
-
Assert that the given class adheres to the immutable class rules, but is not declared final.
- assertThatClassIsUtility(Class<?>) - Static method in class org.onlab.junit.UtilityClassChecker
-
Assert that the given class adheres to the utility class rules.
- awaitTermination(long, TimeUnit) - Method in class org.onlab.junit.NullScheduledExecutor
C
- callConstructor(Constructor<T>) - Static method in class org.onlab.junit.TestUtils
-
Triggers an allocation of an object of type T and forces a call to the private constructor.
- callMethod(T, String, Class<?>[], Object...) - Static method in class org.onlab.junit.TestUtils
-
Calls the method, bypassing scope restriction.
- callMethod(T, String, Class<?>, Object) - Static method in class org.onlab.junit.TestUtils
-
Calls the method, bypassing scope restriction.
- CAUSE - Static variable in class org.onlab.junit.ExceptionTest
- createTestFiles(List<String>) - Static method in class org.onlab.junit.TestTools
-
Creates a directory tree of test files.
- createTestFiles(List<String>, int, int) - Static method in class org.onlab.junit.TestTools
-
Creates a directory tree of test files.
- createURLStreamHandler(String) - Method in class org.onlab.junit.HttpResourceUrlInterceptor.HttpResourceUrlInterceptorFactory
D
- debug(String) - Method in class org.onlab.junit.LoggerAdapter
- debug(String, Object) - Method in class org.onlab.junit.LoggerAdapter
- debug(String, Object...) - Method in class org.onlab.junit.LoggerAdapter
- debug(String, Object, Object) - Method in class org.onlab.junit.LoggerAdapter
- debug(String, Throwable) - Method in class org.onlab.junit.LoggerAdapter
- debug(Marker, String) - Method in class org.onlab.junit.LoggerAdapter
- debug(Marker, String, Object) - Method in class org.onlab.junit.LoggerAdapter
- debug(Marker, String, Object...) - Method in class org.onlab.junit.LoggerAdapter
- debug(Marker, String, Object, Object) - Method in class org.onlab.junit.LoggerAdapter
- debug(Marker, String, Throwable) - Method in class org.onlab.junit.LoggerAdapter
- delay(int) - Static method in class org.onlab.junit.TestTools
-
Suspends the current thread for a specified number of millis.
- describeMismatch(Description) - Method in class org.onlab.junit.ImmutableClassChecker
-
Describe why an error was reported.
- describeMismatch(Description) - Method in class org.onlab.junit.UtilityClassChecker
-
Describe why an error was reported.
- describeTo(Description) - Method in class org.onlab.junit.ImmutableClassChecker
-
Describe the source object that caused an error, using a Hamcrest Matcher style interface.
- describeTo(Description) - Method in class org.onlab.junit.UtilityClassChecker
-
Describe the source object that caused an error, using a Hamcrest Matcher style interface.
E
- error(String) - Method in class org.onlab.junit.LoggerAdapter
- error(String, Object) - Method in class org.onlab.junit.LoggerAdapter
- error(String, Object...) - Method in class org.onlab.junit.LoggerAdapter
- error(String, Object, Object) - Method in class org.onlab.junit.LoggerAdapter
- error(String, Throwable) - Method in class org.onlab.junit.LoggerAdapter
- error(Marker, String) - Method in class org.onlab.junit.LoggerAdapter
- error(Marker, String, Object) - Method in class org.onlab.junit.LoggerAdapter
- error(Marker, String, Object...) - Method in class org.onlab.junit.LoggerAdapter
- error(Marker, String, Object, Object) - Method in class org.onlab.junit.LoggerAdapter
- error(Marker, String, Throwable) - Method in class org.onlab.junit.LoggerAdapter
- ExceptionTest - Class in org.onlab.junit
-
Base for exception tests.
- ExceptionTest() - Constructor for class org.onlab.junit.ExceptionTest
- execute(Runnable) - Method in class org.onlab.junit.NullScheduledExecutor
F
- findAvailablePort(int) - Static method in class org.onlab.junit.TestTools
G
- getDefault() - Method in class org.onlab.junit.ExceptionTest
- getField(T, String) - Static method in class org.onlab.junit.TestUtils
-
Gets the field, bypassing scope restriction.
- getName() - Method in class org.onlab.junit.LoggerAdapter
- getWithMessage() - Method in class org.onlab.junit.ExceptionTest
- getWithMessageAndCause() - Method in class org.onlab.junit.ExceptionTest
H
- HttpResourceUrlInterceptor - Class in org.onlab.junit
-
Intercepts HTTP URL connections and supplies predefined data from a resource.
- HttpResourceUrlInterceptor() - Constructor for class org.onlab.junit.HttpResourceUrlInterceptor
- HttpResourceUrlInterceptor.HttpResourceUrlInterceptorFactory - Class in org.onlab.junit
-
Creates stream handlers for the interceptor.
- HttpResourceUrlInterceptorFactory(String) - Constructor for class org.onlab.junit.HttpResourceUrlInterceptor.HttpResourceUrlInterceptorFactory
I
- ImmutableClassChecker - Class in org.onlab.junit
-
Hamcrest style class for verifying that a class follows the accepted rules for immutable classes.
- ImmutableClassChecker() - Constructor for class org.onlab.junit.ImmutableClassChecker
- info(String) - Method in class org.onlab.junit.LoggerAdapter
- info(String, Object) - Method in class org.onlab.junit.LoggerAdapter
- info(String, Object...) - Method in class org.onlab.junit.LoggerAdapter
- info(String, Object, Object) - Method in class org.onlab.junit.LoggerAdapter
- info(String, Throwable) - Method in class org.onlab.junit.LoggerAdapter
- info(Marker, String) - Method in class org.onlab.junit.LoggerAdapter
- info(Marker, String, Object) - Method in class org.onlab.junit.LoggerAdapter
- info(Marker, String, Object...) - Method in class org.onlab.junit.LoggerAdapter
- info(Marker, String, Object, Object) - Method in class org.onlab.junit.LoggerAdapter
- info(Marker, String, Throwable) - Method in class org.onlab.junit.LoggerAdapter
- IntegrationTest - Interface in org.onlab.junit
-
Marker interface used to separate unit tests from integration tests.
- invokeAll(Collection<? extends Callable<T>>) - Method in class org.onlab.junit.NullScheduledExecutor
- invokeAll(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.onlab.junit.NullScheduledExecutor
- invokeAny(Collection<? extends Callable<T>>) - Method in class org.onlab.junit.NullScheduledExecutor
- invokeAny(Collection<? extends Callable<T>>, long, TimeUnit) - Method in class org.onlab.junit.NullScheduledExecutor
- isDebugEnabled() - Method in class org.onlab.junit.LoggerAdapter
- isDebugEnabled(Marker) - Method in class org.onlab.junit.LoggerAdapter
- isErrorEnabled() - Method in class org.onlab.junit.LoggerAdapter
- isErrorEnabled(Marker) - Method in class org.onlab.junit.LoggerAdapter
- isInfoEnabled() - Method in class org.onlab.junit.LoggerAdapter
- isInfoEnabled(Marker) - Method in class org.onlab.junit.LoggerAdapter
- isShutdown() - Method in class org.onlab.junit.NullScheduledExecutor
- isTerminated() - Method in class org.onlab.junit.NullScheduledExecutor
- isTraceEnabled() - Method in class org.onlab.junit.LoggerAdapter
- isTraceEnabled(Marker) - Method in class org.onlab.junit.LoggerAdapter
- isWarnEnabled() - Method in class org.onlab.junit.LoggerAdapter
- isWarnEnabled(Marker) - Method in class org.onlab.junit.LoggerAdapter
L
- LoggerAdapter - Class in org.onlab.junit
- LoggerAdapter() - Constructor for class org.onlab.junit.LoggerAdapter
M
- MESSAGE - Static variable in class org.onlab.junit.ExceptionTest
N
- noMessageNoCause() - Method in class org.onlab.junit.ExceptionTest
- now() - Static method in class org.onlab.junit.TestTools
-
Returns the current time in millis since epoch.
- NullScheduledExecutor - Class in org.onlab.junit
-
A scheduled executor service that does not do any of the work scheduled to it.
- NullScheduledExecutor() - Constructor for class org.onlab.junit.NullScheduledExecutor
O
- org.onlab.junit - package org.onlab.junit
-
Utilities to assist in developing JUnit tests.
P
- print(String) - Static method in class org.onlab.junit.TestTools
S
- schedule(Runnable, long, TimeUnit) - Method in class org.onlab.junit.NullScheduledExecutor
- schedule(Callable<V>, long, TimeUnit) - Method in class org.onlab.junit.NullScheduledExecutor
- scheduleAtFixedRate(Runnable, long, long, TimeUnit) - Method in class org.onlab.junit.NullScheduledExecutor
- scheduleWithFixedDelay(Runnable, long, long, TimeUnit) - Method in class org.onlab.junit.NullScheduledExecutor
- setField(T, String, U) - Static method in class org.onlab.junit.TestUtils
-
Sets the field, bypassing scope restriction.
- shutdown() - Method in class org.onlab.junit.NullScheduledExecutor
- shutdownNow() - Method in class org.onlab.junit.NullScheduledExecutor
- submit(Runnable) - Method in class org.onlab.junit.NullScheduledExecutor
- submit(Runnable, T) - Method in class org.onlab.junit.NullScheduledExecutor
- submit(Callable<T>) - Method in class org.onlab.junit.NullScheduledExecutor
T
- TestTools - Class in org.onlab.junit
-
Utilities to aid in producing JUnit tests.
- TestUtils - Class in org.onlab.junit
-
Utilities for testing.
- TestUtils.TestUtilsException - Exception in org.onlab.junit
-
Exception that can be thrown if problems are encountered while executing the utility method.
- TestUtilsException(String, Throwable) - Constructor for exception org.onlab.junit.TestUtils.TestUtilsException
-
Constructs a new exception with the specified detail message and cause.
- trace(String) - Method in class org.onlab.junit.LoggerAdapter
- trace(String, Object) - Method in class org.onlab.junit.LoggerAdapter
- trace(String, Object...) - Method in class org.onlab.junit.LoggerAdapter
- trace(String, Object, Object) - Method in class org.onlab.junit.LoggerAdapter
- trace(String, Throwable) - Method in class org.onlab.junit.LoggerAdapter
- trace(Marker, String) - Method in class org.onlab.junit.LoggerAdapter
- trace(Marker, String, Object) - Method in class org.onlab.junit.LoggerAdapter
- trace(Marker, String, Object...) - Method in class org.onlab.junit.LoggerAdapter
- trace(Marker, String, Object, Object) - Method in class org.onlab.junit.LoggerAdapter
- trace(Marker, String, Throwable) - Method in class org.onlab.junit.LoggerAdapter
- tweakBytes(Random, byte[], int) - Static method in class org.onlab.junit.TestTools
-
Tweaks the given number of bytes in a byte array.
- tweakBytes(Random, byte[], int, int, int) - Static method in class org.onlab.junit.TestTools
-
Tweaks the given number of bytes in the specified range of a byte array.
U
- UtilityClassChecker - Class in org.onlab.junit
-
Hamcrest style class for verifying that a class follows the accepted rules for utility classes.
- UtilityClassChecker() - Constructor for class org.onlab.junit.UtilityClassChecker
W
- warn(String) - Method in class org.onlab.junit.LoggerAdapter
- warn(String, Object) - Method in class org.onlab.junit.LoggerAdapter
- warn(String, Object...) - Method in class org.onlab.junit.LoggerAdapter
- warn(String, Object, Object) - Method in class org.onlab.junit.LoggerAdapter
- warn(String, Throwable) - Method in class org.onlab.junit.LoggerAdapter
- warn(Marker, String) - Method in class org.onlab.junit.LoggerAdapter
- warn(Marker, String, Object) - Method in class org.onlab.junit.LoggerAdapter
- warn(Marker, String, Object...) - Method in class org.onlab.junit.LoggerAdapter
- warn(Marker, String, Object, Object) - Method in class org.onlab.junit.LoggerAdapter
- warn(Marker, String, Throwable) - Method in class org.onlab.junit.LoggerAdapter
- withCause() - Method in class org.onlab.junit.ExceptionTest
- withMessage() - Method in class org.onlab.junit.ExceptionTest
- writeRandomFile(File, int, int) - Static method in class org.onlab.junit.TestTools
-
Writes random binary content into the specified file.
All Classes All Packages