commit | 2332340b0e4b4202962b5307194addf44cf88236 | [log] [tgz] |
---|---|---|
author | Stephen Hines <srhines@google.com> | Mon Oct 11 14:33:21 2010 -0700 |
committer | Stephen Hines <srhines@google.com> | Mon Oct 11 14:33:21 2010 -0700 |
tree | 34612574e3f4413926fbc596c79220371abf84e4 | |
parent | 3e6fee857a317d35b4861b8bb24a2d3e5e3e6fc2 [diff] |
Test exported "long" type. Change-Id: I1239aecf29f6d25ed975c8d026328366624d58b9
diff --git a/libs/rs/java/tests/src/com/android/rs/test/UT_primitives.java b/libs/rs/java/tests/src/com/android/rs/test/UT_primitives.java index 32b55d9..01eb26d 100644 --- a/libs/rs/java/tests/src/com/android/rs/test/UT_primitives.java +++ b/libs/rs/java/tests/src/com/android/rs/test/UT_primitives.java
@@ -58,11 +58,11 @@ } s.set_intTest(-64); - /*long pL = s.get_longTest(); + long pL = s.get_longTest(); if (pL != 17179869184l) { return false; } - s.set_longTest(17179869185l);*/ + s.set_longTest(17179869185l); long pLL = s.get_longlongTest(); if (pLL != 68719476736L) {
diff --git a/libs/rs/java/tests/src/com/android/rs/test/primitives.rs b/libs/rs/java/tests/src/com/android/rs/test/primitives.rs index 2db82da..0363fd0 100644 --- a/libs/rs/java/tests/src/com/android/rs/test/primitives.rs +++ b/libs/rs/java/tests/src/com/android/rs/test/primitives.rs
@@ -25,7 +25,7 @@ _RS_ASSERT(charTest == -16); _RS_ASSERT(shortTest == -32); _RS_ASSERT(intTest == -64); - _RS_ASSERT(longTest == 17179869184l); + _RS_ASSERT(longTest == 17179869185l); _RS_ASSERT(longlongTest == 68719476735l); _RS_ASSERT(ucharTest == 8);