mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-07-17 15:48:08 +00:00
test fixes
This commit is contained in:
@@ -9,8 +9,8 @@ import org.testng.annotations.Test;
|
||||
*
|
||||
* @author JPEXS
|
||||
*/
|
||||
public class RecompileTest {
|
||||
|
||||
public class RecompileTest {
|
||||
public static final String TESTDATADIR = "testdata";
|
||||
|
||||
private void testRecompileOne(String filename) {
|
||||
@@ -27,16 +27,15 @@ public class RecompileTest {
|
||||
|
||||
@Test
|
||||
public void testRecompile() {
|
||||
File dir=new File(TESTDATADIR);
|
||||
File files[]=dir.listFiles(new FilenameFilter(){
|
||||
File dir = new File(TESTDATADIR);
|
||||
File files[] = dir.listFiles(new FilenameFilter() {
|
||||
@Override
|
||||
public boolean accept(File dir, String name) {
|
||||
return name.toLowerCase().endsWith(".swf");
|
||||
}
|
||||
});
|
||||
for(File f:files){
|
||||
for (File f : files) {
|
||||
testRecompileOne(f.getAbsolutePath());
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user