| |
|
| org.archive.util.ArchiveUtilsTest
ArchiveUtilsTest | public class ArchiveUtilsTest extends TestCase (Code) | | JUnit test suite for ArchiveUtils
author: James Casey version: $Id: ArchiveUtilsTest.java 5052 2007-04-10 02:26:52Z gojomo $ |
ArchiveUtilsTest | public ArchiveUtilsTest(String testName)(Code) | | Create a new ArchiveUtilsTest object
Parameters: testName - the name of the test |
main | public static void main(String argv)(Code) | | run all the tests for ArchiveUtilsTest
Parameters: argv - the command line arguments |
suite | public static Test suite()(Code) | | return the suite of tests for ArchiveUtilsTest
the suite of test |
testArrayToLong | public void testArrayToLong()(Code) | | |
testBad12Date | public void testBad12Date()(Code) | | check that parse12DigitDate doesn't accept a bad date
|
testBad14Date | public void testBad14Date()(Code) | | check that parse14DigitDate doesn't accept a bad date
|
testBad17Date | public void testBad17Date()(Code) | | check that parse12DigitDate doesn't accept a bad date
|
testByteArrayEquals | public void testByteArrayEquals()(Code) | | check that byteArrayEquals() works
|
testDoubleToString | public void testDoubleToString()(Code) | | test doubleToString()
|
testFormatBytesForDisplayPrecise | public void testFormatBytesForDisplayPrecise()(Code) | | |
testGetXXDigitDate | public void testGetXXDigitDate()(Code) | | check the getXXDigitDate() methods produce valid dates
|
testGetXXDigitDateLong | public void testGetXXDigitDateLong()(Code) | | check that getXXDigitDate(long) does the right thing
|
testPadToInt | public void testPadToInt()(Code) | | check that padTo(int) works
|
testPadToString | public void testPadToString()(Code) | | check that padTo(String) works
|
testSecondsSinceEpochCalculation | public void testSecondsSinceEpochCalculation() throws ParseException(Code) | | |
testZeroPadInteger | public static void testZeroPadInteger()(Code) | | |
|
|
|