summaryrefslogtreecommitdiffstats
path: root/tests/005-args/src
diff options
context:
space:
mode:
authorThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:14 -0800
committerThe Android Open Source Project <initial-contribution@android.com>2009-03-03 18:28:14 -0800
commitf72d5de56a522ac3be03873bdde26f23a5eeeb3c (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /tests/005-args/src
parent31e30105703263782efd450d356cd67ea01af3b7 (diff)
downloadandroid_dalvik-f72d5de56a522ac3be03873bdde26f23a5eeeb3c.tar.gz
android_dalvik-f72d5de56a522ac3be03873bdde26f23a5eeeb3c.tar.bz2
android_dalvik-f72d5de56a522ac3be03873bdde26f23a5eeeb3c.zip
auto import from //depot/cupcake/@135843
Diffstat (limited to 'tests/005-args/src')
-rw-r--r--tests/005-args/src/ArgsTest.java44
-rw-r--r--tests/005-args/src/Main.java25
2 files changed, 0 insertions, 69 deletions
diff --git a/tests/005-args/src/ArgsTest.java b/tests/005-args/src/ArgsTest.java
deleted file mode 100644
index 2b874cd29..000000000
--- a/tests/005-args/src/ArgsTest.java
+++ /dev/null
@@ -1,44 +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.
- */
-
-class ArgsTest{
- public ArgsTest() {
-
- }
-
- private long mLongArray[] = new long[] {
- 0x1122334455667788L, 0x9887766554433221L };
-
- /**
- *
- * @param a
- * @param c
- * @param d
- * @param j
- * @param f
- */
- void argTest(int a, char c, double d, long j, float f) {
- System.out.println("VALUES: " + Long.toHexString(mLongArray[0]) + " "
- + Long.toHexString(mLongArray[1]) + " " + Long.toHexString(j));
- System.out.println("VALUES: " + mLongArray[0] + " "
- + mLongArray[1] + " " + j);
-
- System.out.println(j);
- System.out.println("j = " + j);
- System.out.println("a=" + a + " c=" + c + " d=" + d
- + " j=" + j + " f=" + f);
- }
-}
diff --git a/tests/005-args/src/Main.java b/tests/005-args/src/Main.java
deleted file mode 100644
index 1240ec5e8..000000000
--- a/tests/005-args/src/Main.java
+++ /dev/null
@@ -1,25 +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.
- */
-
-/**
- * Test passing arguments of various sizes
- */
-public class Main {
- public static void main (String args[]) {
- new ArgsTest()
- .argTest(123, 'q', 3.343434, 0x1122334455667788L, 0.12345f);
- }
-}