| org.archive.crawler.util.TransformTest
TransformTest | public class TransformTest extends TestCase (Code) | | Tests the
dex.misc.Transform class.
|
testSingleton | public void testSingleton()(Code) | | |
testSubclasses | public void testSubclasses()(Code) | | Tests the static subclasses method. The test sets up a list of
Number instances that may contain random Double, Float, Integer
or Long values. The Long values are remembered. The subclasses
method is used to create a Transform containing only the Long
values. The Transform is compared against the list of remembered
Long values.
|
testTransform | public void testTransform()(Code) | | Tests using a simple Transformer. The Transformer changes
positive integers into strings. The test sets up a
list of random integers, remembering which ones are
positive. The Transform is created, and the Transform's
contents are compared against the list of remembered positive
integers.
|
|
|