update unit-tests to handle a simple resource in smali

This commit is contained in:
Connor Tumbleson 2014-02-08 17:17:02 -06:00
parent e48ab8b9b9
commit cc5ae0f1d1
3 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<public type="string" name="hello_world" id="0x7f020000" />
</resources>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="test1" />
<string name="hello_world">Hello World</string>
</resources>

View File

@ -7,7 +7,7 @@
sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-string v1, "Hello World!"
const/high16 v1, 0x7f020000
invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V