Added tests for format 10t

git-svn-id: https://smali.googlecode.com/svn/trunk@97 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-06-05 06:05:26 +00:00
parent 88ad74f2c2
commit b617a5f84b
2 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,28 @@
.class public LFormat10t;
.super Ljava/lang/Object;
.source "Format10t.smali"
.method public constructor <init>()V
.registers 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public test_goto()V
.registers 2
.annotation runtime Lorg/junit/Test;
.end annotation
const v0, 5
goto label:
const v0, 6
label:
const v1, 5
invoke-static {v0, v1}, LAssert;->assertEquals(II)V
return-void
.end method

View File

@ -23,6 +23,7 @@
value = { LFieldTest;, value = { LFieldTest;,
LSpecialInstructionPaddingTest;, LSpecialInstructionPaddingTest;,
LFormat10x;, LFormat10x;,
LFormat10t;,
LFormat11n;, LFormat11n;,
LFormat11x;, LFormat11x;,
LFormat12x; LFormat12x;