From: <fd...@us...> - 2008-11-30 22:03:09
|
Revision: 4763 http://jnode.svn.sourceforge.net/jnode/?rev=4763&view=rev Author: fduminy Date: 2008-11-30 22:03:06 +0000 (Sun, 30 Nov 2008) Log Message: ----------- - fixed wrong order for fileSize and fileName parameters in createFileConfigs - added JFat test - removed usage of raw type (generics) Modified Paths: -------------- trunk/fs/src/test/org/jnode/test/fs/filesystem/FSConfigurations.java Modified: trunk/fs/src/test/org/jnode/test/fs/filesystem/FSConfigurations.java =================================================================== --- trunk/fs/src/test/org/jnode/test/fs/filesystem/FSConfigurations.java 2008-11-30 21:59:30 UTC (rev 4762) +++ trunk/fs/src/test/org/jnode/test/fs/filesystem/FSConfigurations.java 2008-11-30 22:03:06 UTC (rev 4763) @@ -50,6 +50,9 @@ configs.addAll(createFileConfigs(OsType.OTHER_OS, FSType.FAT, FSAccessMode.BOTH, new FatFileSystemFormatter(FatType.FAT32), diskFileName, "1M")); + configs.addAll(createFileConfigs(OsType.OTHER_OS, FSType.JFAT, + FSAccessMode.BOTH, new FatFileSystemFormatter(FatType.FAT32), diskFileName, "1M")); + // configs.addAll(createFileConfigs(OsType.OTHER_OS, FSType.ISO9660, // FSAccessMode.BOTH, "", DO_FORMAT, diskFileName, "1M")); @@ -65,15 +68,15 @@ } private List<FSTestConfig> createFileConfigs(OsType osType, FSType fsType, - FSAccessMode accessMode, Formatter<? extends FileSystem> formatter, - String fileSize, String fileName) { - FileParam fp = new FileParam(fileSize, fileName); + FSAccessMode accessMode, Formatter<? extends FileSystem<?>> formatter, + String fileName, String fileSize) { + FileParam fp = new FileParam(fileName, fileSize); return createConfigs(osType, fsType, accessMode, formatter, fp); } private List<FSTestConfig> createConfigs(OsType osType, FSType fsType, - FSAccessMode accessMode, Formatter<? extends FileSystem> formatter, + FSAccessMode accessMode, Formatter<? extends FileSystem<?>> formatter, DeviceParam device) { List<FSTestConfig> configs = new ArrayList<FSTestConfig>(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |