From 1de4525534eeffd4770842ad8302e0f78a2723a6 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Mon, 12 Aug 2013 12:27:25 -0500 Subject: [PATCH] add HelloWorld test smali file into unit-test --- .../brut/apktool/testapp/smali/HelloWorld.smali | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 brut.apktool/apktool-lib/src/test/resources/brut/apktool/testapp/smali/HelloWorld.smali diff --git a/brut.apktool/apktool-lib/src/test/resources/brut/apktool/testapp/smali/HelloWorld.smali b/brut.apktool/apktool-lib/src/test/resources/brut/apktool/testapp/smali/HelloWorld.smali new file mode 100644 index 00000000..900f5e54 --- /dev/null +++ b/brut.apktool/apktool-lib/src/test/resources/brut/apktool/testapp/smali/HelloWorld.smali @@ -0,0 +1,15 @@ +.class public LHelloWorld; + +.super Ljava/lang/Object; + +.method public static main([Ljava/lang/String;)V + .registers 2 + + sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream; + + const-string v1, "Hello World!" + + invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V + + return-void +.end method \ No newline at end of file