summaryrefslogtreecommitdiffstats
path: root/tests/038-inner-null
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/038-inner-null
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/038-inner-null')
-rw-r--r--tests/038-inner-null/expected.txt5
-rw-r--r--tests/038-inner-null/info.txt6
-rw-r--r--tests/038-inner-null/src/Main.java27
3 files changed, 0 insertions, 38 deletions
diff --git a/tests/038-inner-null/expected.txt b/tests/038-inner-null/expected.txt
deleted file mode 100644
index 0be8ffdc4..000000000
--- a/tests/038-inner-null/expected.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-new Special()
-java.lang.NullPointerException
- at Main$Special.callInner(Main.java:17)
- at Main.main(Main.java:6)
- at dalvik.system.NativeStart.main(Native Method)
diff --git a/tests/038-inner-null/info.txt b/tests/038-inner-null/info.txt
deleted file mode 100644
index 08127da23..000000000
--- a/tests/038-inner-null/info.txt
+++ /dev/null
@@ -1,6 +0,0 @@
-This is a miscellaneous test that was imported into the new-at-the-time
-runtime test framework. The test is intended to exercise basic features,
-and as such cannot be build on top of junit, since failure of such basic
-features might disrupt junit.
-
-TODO: Real description goes here.
diff --git a/tests/038-inner-null/src/Main.java b/tests/038-inner-null/src/Main.java
deleted file mode 100644
index acc87640b..000000000
--- a/tests/038-inner-null/src/Main.java
+++ /dev/null
@@ -1,27 +0,0 @@
-// Copyright 2008 The Android Open Source Project
-
-public class Main {
- public static void main(String[] args) {
- Special special = new Special();
- special.callInner();
- }
-
- public static class Special {
- Blort mBlort = null;
-
- Special() {
- System.out.println("new Special()");
- }
-
- public void callInner() {
- mBlort.repaint();
- }
- }
-
- private class Blort {
- public void repaint() {
- System.out.println("shouldn't see this");
- }
- }
-
-}