diff options
author | Brian Carlstrom <bdc@google.com> | 2011-08-28 22:41:38 -0700 |
---|---|---|
committer | Brian Carlstrom <bdc@google.com> | 2011-08-29 09:50:10 -0700 |
commit | 9f30b38d74990286ce27c3a45368f73dbe3638f0 (patch) | |
tree | 81bddd7b70e4b58aadce258cc25bba64de030deb /test/MyClassNatives | |
parent | 4417536522fd2a9d8215d8672331984769c9520b (diff) | |
download | art-9f30b38d74990286ce27c3a45368f73dbe3638f0.tar.gz art-9f30b38d74990286ce27c3a45368f73dbe3638f0.tar.bz2 art-9f30b38d74990286ce27c3a45368f73dbe3638f0.zip |
Externalize test code
Change-Id: Iab19397c7a72fb9a3ca63bfd0bc4eaf1a98138ba
Diffstat (limited to 'test/MyClassNatives')
-rw-r--r-- | test/MyClassNatives/MyClassNatives.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/MyClassNatives/MyClassNatives.java b/test/MyClassNatives/MyClassNatives.java new file mode 100644 index 0000000000..5203e4a4c4 --- /dev/null +++ b/test/MyClassNatives/MyClassNatives.java @@ -0,0 +1,11 @@ +// Copyright 2011 Google Inc. All Rights Reserved. + +class MyClass { + native void foo(); + native int fooI(int x); + native int fooII(int x, int y); + native double fooDD(double x, double y); + native Object fooIOO(int x, Object y, Object z); + static native Object fooSIOO(int x, Object y, Object z); + static synchronized native Object fooSSIOO(int x, Object y, Object z); +} |