diff options
Diffstat (limited to 'dx/tests/049-dex-instanceof')
| -rw-r--r-- | dx/tests/049-dex-instanceof/Blort.java | 22 | ||||
| -rw-r--r-- | dx/tests/049-dex-instanceof/expected.txt | 7 | ||||
| -rw-r--r-- | dx/tests/049-dex-instanceof/info.txt | 6 | ||||
| -rw-r--r-- | dx/tests/049-dex-instanceof/run | 19 |
4 files changed, 0 insertions, 54 deletions
diff --git a/dx/tests/049-dex-instanceof/Blort.java b/dx/tests/049-dex-instanceof/Blort.java deleted file mode 100644 index 2d46cd173..000000000 --- a/dx/tests/049-dex-instanceof/Blort.java +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright (C) 2007 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -public class Blort -{ - public static boolean test(Object x) { - return x instanceof Blort; - } -} diff --git a/dx/tests/049-dex-instanceof/expected.txt b/dx/tests/049-dex-instanceof/expected.txt deleted file mode 100644 index 77f903c03..000000000 --- a/dx/tests/049-dex-instanceof/expected.txt +++ /dev/null @@ -1,7 +0,0 @@ -Blort.test:(Ljava/lang/Object;)Z: -regs: 0003; ins: 0001; outs: 0000 - 0000: move-object v0, v2 - 0001: move-object v1, v0 - 0002: instance-of v1, v1, Blort - 0004: move v0, v1 - 0005: return v0 diff --git a/dx/tests/049-dex-instanceof/info.txt b/dx/tests/049-dex-instanceof/info.txt deleted file mode 100644 index a6c82b2ef..000000000 --- a/dx/tests/049-dex-instanceof/info.txt +++ /dev/null @@ -1,6 +0,0 @@ -This is a smoke test of dex conversion, which checks to see that -instanceof expressions get converted reasonably. - -This test compares emitted code against a known-good (via eyeballing) -version, so it is possible for this test to spuriously fail if other -aspects of conversion end up altering the output in innocuous ways. diff --git a/dx/tests/049-dex-instanceof/run b/dx/tests/049-dex-instanceof/run deleted file mode 100644 index 7578321bf..000000000 --- a/dx/tests/049-dex-instanceof/run +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -# -# Copyright (C) 2007 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -$JAVAC -d . Blort.java -dx --debug --dex --no-optimize --positions=none --no-locals \ - --dump-method=Blort.test *.class |
