diff --git a/src/com/webcodepro/applecommander/test/DiskHelperTest.java b/src/com/webcodepro/applecommander/test/DiskHelperTest.java index 90d6373..f9846b8 100644 --- a/src/com/webcodepro/applecommander/test/DiskHelperTest.java +++ b/src/com/webcodepro/applecommander/test/DiskHelperTest.java @@ -21,6 +21,7 @@ package com.webcodepro.applecommander.test; import com.webcodepro.applecommander.storage.ApplesoftFileFilter; import com.webcodepro.applecommander.storage.BinaryFileFilter; +import com.webcodepro.applecommander.storage.DirectoryEntry; import com.webcodepro.applecommander.storage.Disk; import com.webcodepro.applecommander.storage.FileEntry; import com.webcodepro.applecommander.storage.FormattedDisk; @@ -158,7 +159,7 @@ public class DiskHelperTest extends TestCase { System.out.println(); } if (entry.isDirectory()) { - showFiles(entry.getFiles(), indent + " "); + showFiles(((DirectoryEntry)entry).getFiles(), indent + " "); } } } diff --git a/src/com/webcodepro/applecommander/test/DiskWriterTest.java b/src/com/webcodepro/applecommander/test/DiskWriterTest.java index b4ff2f7..2be93cc 100644 --- a/src/com/webcodepro/applecommander/test/DiskWriterTest.java +++ b/src/com/webcodepro/applecommander/test/DiskWriterTest.java @@ -19,6 +19,7 @@ */ package com.webcodepro.applecommander.test; +import com.webcodepro.applecommander.storage.DirectoryEntry; import com.webcodepro.applecommander.storage.DiskFullException; import com.webcodepro.applecommander.storage.DosFormatDisk; import com.webcodepro.applecommander.storage.FileEntry; @@ -309,7 +310,8 @@ public class DiskWriterTest extends TestCase { System.out.println(); } if (entry.isDirectory()) { - showFiles(entry.getFiles(), indent + " ", showDeleted); + showFiles(((DirectoryEntry)entry).getFiles(), + indent + " ", showDeleted); } } }