Package net.grinder.testutility

Interface Summary
CallAssertions  
CallRecorder.MethodFilter  
 

Class Summary
AbstractFileTestCase Abstract test case that manages a temporary directory.
AbstractJUnit4FileTestCase Abstract base class for test cases that manage a temporary directory.
AbstractStubFactory<T> Dynamic proxy based test utility class that records details of invocations and allows a controlling unit test to later enquire about which invocations occurred and in what order.
AssertUtilities Stuff missing from JUnit.
CallData Method call data.
CallData.ANY_TYPE Class that represents a parameter that is compatible with any type.
CallRecorder Utility class used to record and assert method invocations.
CountingInputStream  
DelegatingStubFactory<T> AbstractStubFactory that intercepts and records invocations to a delegate.
FileUtilities File utilities used by the unit tests.
IsolatedObjectFactory Create objects that unknown to the standard class loaders.
MockingUtilities Mocking utility classes for use with Mockito.
MockingUtilities.TypedArgumentMatcher<T> Prettier version of ArgumentMatcher.
OverrideInvocationHandlerDecorator InvocationHandler decorator that allows a supplied object to handle some of the methods.
RandomObjectFactory Factory that generates various types of test object.
RandomObjectFactory.NullInvocationHandler  
RandomStubFactory<T> AbstractStubFactory that takes a Class and generates stubs that support all the interface of the given class and have methods that return random primitive results and null objects for complex results.
RedirectStandardStreams Utility template which redirects and restores stdout and stderr.
Serializer Serialisation utility.
SimpleEqualityDecoration Stub that provides simple equality and Comparable semantics.
SocketUtilities Socket utilities for unit tests.
StreamCopier Class that copies from InputStreams to OutputStreams.
StubPrintStream  
StubPrintWriter  
StubRelationshipsInvocationHandlerDecorator InvocationHandler decorator that intercepts get methods and provides stubs generated by RandomStubFactorys.
StubTimer Stub implementation of Timer.
TemporaryDirectory Temporary directory for use by unit tests.
Time Abstract base class which times a method and returns whether it executed within the given range.
 



Copyright © 2000-2012. All Rights Reserved.