Run test on larger class as well
This commit is contained in:
parent
ec24536261
commit
5a0de0c0b9
@ -7,7 +7,12 @@ import eu.mikroskeem.shuriken.common.streams.ByteArrays;
|
|||||||
*/
|
*/
|
||||||
public class Main {
|
public class Main {
|
||||||
public static void main(String... args){
|
public static void main(String... args){
|
||||||
|
System.out.println("==== Väikese class faili pakkimise test");
|
||||||
byte[] classFile = ByteArrays.fromInputStream(Main.class.getResourceAsStream("/Test.class"));
|
byte[] classFile = ByteArrays.fromInputStream(Main.class.getResourceAsStream("/Test.class"));
|
||||||
Utils.generateReport(classFile);
|
Utils.generateReport(classFile);
|
||||||
|
|
||||||
|
System.out.println("=== Suure class faili pakkimise test");
|
||||||
|
byte[] classFile2 = ByteArrays.fromInputStream(Main.class.getResourceAsStream("/TestBig.class"));
|
||||||
|
Utils.generateReport(classFile2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
BIN
src/main/resources/TestBig.class
Normal file
BIN
src/main/resources/TestBig.class
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user