mirror of
https://github.com/revanced/smali.git
synced 2025-05-15 13:47:05 +02:00
Added tests for format 21s
git-svn-id: https://smali.googlecode.com/svn/trunk@109 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
a387f058b1
commit
8eb97cdedc
@ -0,0 +1,33 @@
|
|||||||
|
.class public LFormat21s;
|
||||||
|
.super Ljava/lang/Object;
|
||||||
|
.source "Format21s.smali"
|
||||||
|
|
||||||
|
.method public constructor <init>()V
|
||||||
|
.registers 1
|
||||||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||||||
|
return-void
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public test_const-16()V
|
||||||
|
.registers 2
|
||||||
|
.annotation runtime Lorg/junit/Test;
|
||||||
|
.end annotation
|
||||||
|
|
||||||
|
const/16 v0, 15000
|
||||||
|
|
||||||
|
const v1, 15000
|
||||||
|
invoke-static {v0, v1}, LAssert;->assertEquals(II)V
|
||||||
|
return-void
|
||||||
|
.end method
|
||||||
|
|
||||||
|
.method public test_const-wide-16()V
|
||||||
|
.registers 4
|
||||||
|
.annotation runtime Lorg/junit/Test;
|
||||||
|
.end annotation
|
||||||
|
|
||||||
|
const-wide/16 v0, 15000
|
||||||
|
|
||||||
|
const-wide v2, 15000
|
||||||
|
invoke-static {v0, v1, v2, v3}, Lorg/junit/Assert;->assertEquals(JJ)V
|
||||||
|
return-void
|
||||||
|
.end method
|
@ -28,6 +28,7 @@
|
|||||||
LFormat11x;,
|
LFormat11x;,
|
||||||
LFormat12x;,
|
LFormat12x;,
|
||||||
LFormat20t;,
|
LFormat20t;,
|
||||||
|
LFormat21s;,
|
||||||
LFormat21t;,
|
LFormat21t;,
|
||||||
LFormat22x;,
|
LFormat22x;,
|
||||||
LFormat30t;
|
LFormat30t;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user