Package student.testingsupport
-
Class Summary Class Description PrintStreamWithHistory An enhanced version ofPrintStream
that provides for a history recall function and some other features making I/O testing a bit easier to perform.ReflectionSupport This class provides static helper methods to use reflection to check for and invoke methods on objects.StringNormalizer This class represents a programmable string "normalizing" engine that can be used to convert strings into a canonical form, say, before comparing strings for equality or something.StringNormalizer.NormalizerRule This interface defines what it means to be a normalizer rule: an object having an appropriateStringNormalizer.NormalizerRule.normalize(String)
method.StringNormalizer.RegexNormalizerRule A highly reusable concrete implementation ofStringNormalizer.NormalizerRule
that applies a series ofregular expression
substitutions.SystemIOUtilities A utility class that provides functions for replacingSystem
I/O streams with helpful alternative implementations to make some testing jobs easier. -
Enum Summary Enum Description ReflectionSupport.VisibilityConstraint An enumeration that represents a set of constants for specifying constraints on the visibility of a declaration.StringNormalizer.StandardRule This enumeration defines the set of predefined transformation rules. -
Error Summary Error Description ReflectionSupport.ReflectionError A custom error class that represents any error conditions that arise in the reflection-based methods provided by this class.