From 092ca420b8b11fa19d33a2180464bfbf1823af2e Mon Sep 17 00:00:00 2001 From: "JesusFreke@JesusFreke.com" Date: Mon, 27 Apr 2009 00:33:54 +0000 Subject: [PATCH] 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 --- src/test/resources/examples/HelloWorld2.smali | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/test/resources/examples/HelloWorld2.smali b/src/test/resources/examples/HelloWorld2.smali index cbb2e01e..90afa696 100644 --- a/src/test/resources/examples/HelloWorld2.smali +++ b/src/test/resources/examples/HelloWorld2.smali @@ -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: