From: <sim...@us...> - 2002-07-28 06:26:52
|
Update of /cvsroot/cdchamber/CDChamber/test/src/org/cdchamber/elements In directory usw-pr-cvs1:/tmp/cvs-serv16243/test/src/org/cdchamber/elements Modified Files: JarEntryParserTest.java Log Message: Refactoring ZipEntryParser's name Index: JarEntryParserTest.java =================================================================== RCS file: /cvsroot/cdchamber/CDChamber/test/src/org/cdchamber/elements/JarEntryParserTest.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** JarEntryParserTest.java 27 Jul 2002 07:55:05 -0000 1.1 --- JarEntryParserTest.java 28 Jul 2002 06:26:49 -0000 1.2 *************** *** 10,14 **** import org.cdchamber.util.DirPath; ! import org.cdchamber.elements.JarEntryParser; public class JarEntryParserTest extends TestCase { --- 10,14 ---- import org.cdchamber.util.DirPath; ! import org.cdchamber.elements.ZipEntryParser; public class JarEntryParserTest extends TestCase { *************** *** 29,34 **** JarFile jarFile = new JarFile( DirPath.TestCaseDir + DirPath.SEP + "testcase.jar"); DirectoryType dir = new DirectoryType(); ! JarEntryParser parser = new JarEntryParser( dir, jarFile); ! parser.parseJarEntries(); assertEquals( "Should have 4 filetypes", 4, dir.getFilesCount()); } --- 29,34 ---- JarFile jarFile = new JarFile( DirPath.TestCaseDir + DirPath.SEP + "testcase.jar"); DirectoryType dir = new DirectoryType(); ! ZipEntryParser parser = new ZipEntryParser( dir, jarFile); ! parser.parseEntries(); assertEquals( "Should have 4 filetypes", 4, dir.getFilesCount()); } |