summaryrefslogtreecommitdiffstats
path: root/src/test/TestRapc.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/TestRapc.java')
-rw-r--r--src/test/TestRapc.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/test/TestRapc.java b/src/test/TestRapc.java
new file mode 100644
index 0000000..1e5c171
--- /dev/null
+++ b/src/test/TestRapc.java
@@ -0,0 +1,38 @@
+package test;
+
+import java.io.File;
+import java.util.Date;
+import java.util.HashMap;
+
+import com.vladium.utils.timing.TimerFactory;
+
+import de.fernflower.main.decompiler.ConsoleDecompiler;
+
+
+public class TestRapc {
+
+ public static void main(String[] args) {
+
+ try {
+
+ TimerFactory.initialize(new File(".").getCanonicalPath()+"/lib/timer/hrtlib.dll");
+
+ Date start = new Date();
+
+
+ ConsoleDecompiler decompiler = new ConsoleDecompiler(new HashMap<String, Object>(){{put("log", "warn");put("ren", "1");}});
+
+ decompiler.addSpace(new File("C:\\Temp\\fernflower\\rapc\\"), true);
+
+ decompiler.decompileContext(new File("C:\\Temp\\fernflower\\rapc_ff\\"));
+
+
+ System.out.println("\n\nTime elapsed " + (new Date().getTime() - start.getTime())/1000);
+
+ } catch(Exception ex) {
+ ex.printStackTrace();
+ }
+
+ }
+
+}