diff options
author | Ben Murdoch <benm@google.com> | 2010-04-01 15:07:41 +0100 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2010-04-01 15:07:41 +0100 |
commit | 940e57fdd2fc09398c84fd3b8f3e993bc6fee4a0 (patch) | |
tree | fd4d7be7496d32e24ec6f6fa6ee004db63a99cf7 /tests/assets | |
parent | 1e915b09465b17738129e62a30a65a2d30860906 (diff) | |
download | packages_apps_browser-940e57fdd2fc09398c84fd3b8f3e993bc6fee4a0.zip packages_apps_browser-940e57fdd2fc09398c84fd3b8f3e993bc6fee4a0.tar.gz packages_apps_browser-940e57fdd2fc09398c84fd3b8f3e993bc6fee4a0.tar.bz2 |
Update the JNI bindings unit test in light of b/2540502
Change-Id: I166331ce198fba188df5365695a20588870374c4
Diffstat (limited to 'tests/assets')
-rwxr-xr-x | tests/assets/bindings_test.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/assets/bindings_test.html b/tests/assets/bindings_test.html index 93dbff1..c20ccec 100755 --- a/tests/assets/bindings_test.html +++ b/tests/assets/bindings_test.html @@ -163,6 +163,10 @@ function getIfaceProperties() { return true; } +function testParameterTypeMismatch() { + return JNIBindingsTest.testParameterTypeMismatch("dog"); +} + function appendLog(msg) { var log = document.getElementById("status"); log.innerHTML += "<br/>" + msg; @@ -221,6 +225,12 @@ function runTests() { appendLog("getIfaceProperties failed!"); } + if (testParameterTypeMismatch()) { + appendLog("testParameterTypeMismatch passed!"); + } else { + appendLog("testParameterTypeMismatch failed!"); + } + JNIBindingsTest.testComplete(); } </script> |