com.webcodepro.applecommander.storage
Class DiskHelperTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.webcodepro.applecommander.storage.DiskHelperTest
All Implemented Interfaces:
junit.framework.Test

public class DiskHelperTest
extends junit.framework.TestCase

Test Disk and FormattedDisk for read.

Date created: Oct 3, 2002 11:35:26 PM

Author:
Rob Greene

Constructor Summary
DiskHelperTest(java.lang.String name)
           
 
Method Summary
protected  void assertApplesoftFile(FormattedDisk disk, java.lang.String filename)
           
protected  void assertBinaryFile(FormattedDisk disk, java.lang.String filename)
           
protected  void assertGraphicsFile(FormattedDisk disk, java.lang.String filename)
           
protected  void assertIntegerFile(FormattedDisk disk, java.lang.String filename)
           
protected  void assertTextFile(FormattedDisk disk, java.lang.String filename)
           
static void main(java.lang.String[] args)
           
protected  FormattedDisk[] showDirectory(java.lang.String imageName)
           
protected  void showDiskUsage(FormattedDisk disk)
           
protected  void showFiles(java.util.List files, java.lang.String indent)
           
 void testCavernsOfFreitag()
           
 void testLoadDos33()
           
 void testLoadGalacticAttack1()
           
 void testLoadHd1()
           
 void testLoadMarbleMadness()
           
 void testLoadMaster()
           
 void testLoadProdos()
           
 void testPhan2d1()
           
 void testPhan2d2()
           
 void testPhantasie1()
           
 void testPhantasie2()
           
 void testRdosBoot()
           
 void testSsiSave()
           
 void testUniDosD3110()
           
 void testUniDosD3151()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DiskHelperTest

public DiskHelperTest(java.lang.String name)
Method Detail

main

public static void main(java.lang.String[] args)

testLoadDos33

public void testLoadDos33()
                   throws java.io.IOException
Throws:
java.io.IOException

testLoadMaster

public void testLoadMaster()
                    throws java.io.IOException
Throws:
java.io.IOException

testLoadGalacticAttack1

public void testLoadGalacticAttack1()
                             throws java.io.IOException
Throws:
java.io.IOException

testLoadProdos

public void testLoadProdos()
                    throws java.io.IOException
Throws:
java.io.IOException

testLoadMarbleMadness

public void testLoadMarbleMadness()
                           throws java.io.IOException
Throws:
java.io.IOException

testLoadHd1

public void testLoadHd1()
                 throws java.io.IOException
Throws:
java.io.IOException

testRdosBoot

public void testRdosBoot()
                  throws java.io.IOException
Throws:
java.io.IOException

testSsiSave

public void testSsiSave()
                 throws java.io.IOException
Throws:
java.io.IOException

testPhan2d1

public void testPhan2d1()
                 throws java.io.IOException
Throws:
java.io.IOException

testPhan2d2

public void testPhan2d2()
                 throws java.io.IOException
Throws:
java.io.IOException

testPhantasie1

public void testPhantasie1()
                    throws java.io.IOException
Throws:
java.io.IOException

testPhantasie2

public void testPhantasie2()
                    throws java.io.IOException
Throws:
java.io.IOException

testCavernsOfFreitag

public void testCavernsOfFreitag()
                          throws java.io.IOException
Throws:
java.io.IOException

testUniDosD3110

public void testUniDosD3110()
                     throws java.io.IOException
Throws:
java.io.IOException

testUniDosD3151

public void testUniDosD3151()
                     throws java.io.IOException
Throws:
java.io.IOException

showDirectory

protected FormattedDisk[] showDirectory(java.lang.String imageName)
                                 throws java.io.IOException
Throws:
java.io.IOException

showFiles

protected void showFiles(java.util.List files,
                         java.lang.String indent)

showDiskUsage

protected void showDiskUsage(FormattedDisk disk)

assertApplesoftFile

protected void assertApplesoftFile(FormattedDisk disk,
                                   java.lang.String filename)

assertIntegerFile

protected void assertIntegerFile(FormattedDisk disk,
                                 java.lang.String filename)

assertTextFile

protected void assertTextFile(FormattedDisk disk,
                              java.lang.String filename)

assertBinaryFile

protected void assertBinaryFile(FormattedDisk disk,
                                java.lang.String filename)

assertGraphicsFile

protected void assertGraphicsFile(FormattedDisk disk,
                                  java.lang.String filename)