summaryrefslogtreecommitdiffstats
path: root/dx/tests/060-dex-call-static
diff options
context:
space:
mode:
Diffstat (limited to 'dx/tests/060-dex-call-static')
-rw-r--r--dx/tests/060-dex-call-static/Blort.java23
-rw-r--r--dx/tests/060-dex-call-static/Zorch.java26
-rw-r--r--dx/tests/060-dex-call-static/expected.txt7
-rw-r--r--dx/tests/060-dex-call-static/info.txt6
-rw-r--r--dx/tests/060-dex-call-static/run19
5 files changed, 0 insertions, 81 deletions
diff --git a/dx/tests/060-dex-call-static/Blort.java b/dx/tests/060-dex-call-static/Blort.java
deleted file mode 100644
index 2b9bb48c6..000000000
--- a/dx/tests/060-dex-call-static/Blort.java
+++ /dev/null
@@ -1,23 +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 int test() {
- Zorch.zorch1();
- return Zorch.zorch2(5);
- }
-}
diff --git a/dx/tests/060-dex-call-static/Zorch.java b/dx/tests/060-dex-call-static/Zorch.java
deleted file mode 100644
index 8ccc4482c..000000000
--- a/dx/tests/060-dex-call-static/Zorch.java
+++ /dev/null
@@ -1,26 +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 Zorch
-{
- public static void zorch1() {
- // This space intentionally left blank.
- }
-
- public static int zorch2(int x) {
- return 1;
- }
-}
diff --git a/dx/tests/060-dex-call-static/expected.txt b/dx/tests/060-dex-call-static/expected.txt
deleted file mode 100644
index 94329898a..000000000
--- a/dx/tests/060-dex-call-static/expected.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-Blort.test:()I:
-regs: 0001; ins: 0000; outs: 0001
- 0000: invoke-static {}, Zorch.zorch1:()V
- 0003: const/4 v0, #int 5 // #5
- 0004: invoke-static {v0}, Zorch.zorch2:(I)I
- 0007: move-result v0
- 0008: return v0
diff --git a/dx/tests/060-dex-call-static/info.txt b/dx/tests/060-dex-call-static/info.txt
deleted file mode 100644
index 12533551b..000000000
--- a/dx/tests/060-dex-call-static/info.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-This is a smoke test of dex conversion, which checks to see that
-a couple cases of static method invocation work properly.
-
-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/060-dex-call-static/run b/dx/tests/060-dex-call-static/run
deleted file mode 100644
index 346856ce0..000000000
--- a/dx/tests/060-dex-call-static/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 . *.java
-dx --debug --dex --positions=none --no-locals \
- --dump-method=Blort.test Blort.class