Tweaked the test case for Format21t to use a constant value for comparison, rather than getting the value from a static field

git-svn-id: https://smali.googlecode.com/svn/trunk@21 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-04-27 00:33:54 +00:00
parent eb4e4cd854
commit 092ca420b8

View File

@ -6,9 +6,6 @@
.field private static helloWorldStatic2 Ljava/lang/String; = "Static Initializer Hello World!"
.field private static branchTest I = 0
;This class should display the following text to the screen:
;
;Hello World!
@ -67,7 +64,7 @@
const-string v0, "Testing Format21t"
const-string v1, "This shouldn't be displayed!"
sget v2, org/JesusFreke/HelloWorld2/HelloWorld2/branchTest I
const/4 v2, 0
if-eqz v2, HERE: