summaryrefslogtreecommitdiffstats
path: root/src/test/TestRuntime1_4_2_03.java
diff options
context:
space:
mode:
authorStiver <stiver.mail@gmail.com>2014-03-04 15:13:11 +0100
committerStiver <stiver.mail@gmail.com>2014-03-04 15:13:11 +0100
commite2d0f5d9c38561d67f23754c00addb4a3547efb2 (patch)
tree1832f16037c086b48266b8566aecc61f45f4e5f1 /src/test/TestRuntime1_4_2_03.java
downloadfernflower-e2d0f5d9c38561d67f23754c00addb4a3547efb2.tar
fernflower-e2d0f5d9c38561d67f23754c00addb4a3547efb2.tar.gz
fernflower-e2d0f5d9c38561d67f23754c00addb4a3547efb2.tar.lz
fernflower-e2d0f5d9c38561d67f23754c00addb4a3547efb2.tar.xz
fernflower-e2d0f5d9c38561d67f23754c00addb4a3547efb2.zip
initial commit
Diffstat (limited to 'src/test/TestRuntime1_4_2_03.java')
-rw-r--r--src/test/TestRuntime1_4_2_03.java38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/test/TestRuntime1_4_2_03.java b/src/test/TestRuntime1_4_2_03.java
new file mode 100644
index 0000000..366a06a
--- /dev/null
+++ b/src/test/TestRuntime1_4_2_03.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 TestRuntime1_4_2_03 {
+
+ 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");}});
+
+ decompiler.addSpace(new File("C:\\Temp\\fernflower\\runtime1_4_2_03\\"), true);
+
+ decompiler.decompileContext(new File("D:\\Nonbku\\workspace_3.4\\JavaRuntime1_4_2_03\\src\\"));
+
+
+ System.out.println("\n\nTime elapsed " + (new Date().getTime() - start.getTime())/1000);
+
+ } catch(Exception ex) {
+ ex.printStackTrace();
+ }
+
+ }
+
+}