summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-02-27 14:14:48 -0800
committerElliott Hughes <enh@google.com>2012-02-27 14:14:48 -0800
commit408e41920549371079eecd6a6ba2b7ce0fa7e328 (patch)
treed5205ac0adb0a0e5b07101d487105daf20560b12 /test
parentc1051ae94c5bd45367152a603f3946a933ad91fa (diff)
downloadart-408e41920549371079eecd6a6ba2b7ce0fa7e328.zip
art-408e41920549371079eecd6a6ba2b7ce0fa7e328.tar.gz
art-408e41920549371079eecd6a6ba2b7ce0fa7e328.tar.bz2
Fix test 003's expectations.
Last time we updated these, we missed that it wasn't just the specific stack trace that had changed --- we'd lost the "UnresTest2 done" line. Whatever runtime bug caused that is now fixed, and we're throwing two independent NoClassDefFoundExceptions, rather than one of those and one uncaught ClassNotFoundException. If these were written as proper unit tests... Change-Id: Id78d3242c66dcd14b91922f15f5392fcc830a731
Diffstat (limited to 'test')
-rw-r--r--test/003-omnibus-opcodes/expected.txt18
1 files changed, 6 insertions, 12 deletions
diff --git a/test/003-omnibus-opcodes/expected.txt b/test/003-omnibus-opcodes/expected.txt
index afb0c19..25ab188 100644
--- a/test/003-omnibus-opcodes/expected.txt
+++ b/test/003-omnibus-opcodes/expected.txt
@@ -69,20 +69,14 @@ Throw.rethrow
UnresTest1...
UnresTest1...
UnresTest2...
-java.lang.ClassNotFoundException: Didn't find class "UnresClass" on path: /data/art-test/003-omnibus-opcodes.jar
- at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:64)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
+java.lang.NoClassDefFoundError: Failed resolution of: LUnresClass;
at UnresTest2.run(UnresTest2.java:33)
at Main.run(Main.java:64)
at Main.main(Main.java:26)
- Suppressed: java.lang.ClassNotFoundException: UnresClass
- at java.lang.Class.classForName(Native Method)
- at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
- at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
- at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
- ... 4 more
- Caused by: java.lang.NoClassDefFoundError: Class "LUnresClass;" not found
- ... 8 more
+java.lang.NoClassDefFoundError: Failed resolution of: LUnresClassSubclass;
+ at UnresTest2.run(UnresTest2.java:41)
+ at Main.run(Main.java:64)
+ at Main.main(Main.java:26)
+UnresTest2 done
InternedString.run
Done!