summaryrefslogtreecommitdiffstats
path: root/tests/WebViewTests/src/com/android/webviewtests
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-11 11:03:04 +0000
committerSteve Block <steveblock@google.com>2012-01-11 11:04:12 +0000
commitc93643be42a552c2a08fd2c147e28da61edbaed3 (patch)
treed36edff71f8ffea9fb3a9c676b88a8a55a1ab441 /tests/WebViewTests/src/com/android/webviewtests
parent38e90751a25606459a9e571aa1b6c992d4c64151 (diff)
downloadframeworks_base-c93643be42a552c2a08fd2c147e28da61edbaed3.zip
frameworks_base-c93643be42a552c2a08fd2c147e28da61edbaed3.tar.gz
frameworks_base-c93643be42a552c2a08fd2c147e28da61edbaed3.tar.bz2
Remove some stale TODOs from the Java Bridge tests
These TODOs were related to testing behavior with JavaScript and Java arrays. This is now tested thoroughly in JavaBridgeArrayTest.java and JavaBridgeArrayCoercionTest.java. No functional change. Change-Id: I5972b929c3e2743c06aff626c983b4b749ea452f
Diffstat (limited to 'tests/WebViewTests/src/com/android/webviewtests')
-rw-r--r--tests/WebViewTests/src/com/android/webviewtests/JavaBridgeCoercionTest.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/tests/WebViewTests/src/com/android/webviewtests/JavaBridgeCoercionTest.java b/tests/WebViewTests/src/com/android/webviewtests/JavaBridgeCoercionTest.java
index 9aed888..a0f78a4 100644
--- a/tests/WebViewTests/src/com/android/webviewtests/JavaBridgeCoercionTest.java
+++ b/tests/WebViewTests/src/com/android/webviewtests/JavaBridgeCoercionTest.java
@@ -47,7 +47,6 @@ public class JavaBridgeCoercionTest extends JavaBridgeTestBase {
private long mLongValue;
private float mFloatValue;
private double mDoubleValue;
- // TODO: Test passing to methods with array parameters.
private String mStringValue;
private Object mObjectValue;
private CustomType mCustomTypeValue;
@@ -100,7 +99,6 @@ public class JavaBridgeCoercionTest extends JavaBridgeTestBase {
mDoubleValue = x;
notifyResultIsReady();
}
- // TODO: Test passing to methods with array parameters.
public synchronized void setStringValue(String x) {
mStringValue = x;
notifyResultIsReady();
@@ -146,7 +144,6 @@ public class JavaBridgeCoercionTest extends JavaBridgeTestBase {
waitForResult();
return mDoubleValue;
}
- // TODO: Test passing to methods with array parameters.
public synchronized String waitForStringValue() {
waitForResult();
return mStringValue;
@@ -472,8 +469,6 @@ public class JavaBridgeCoercionTest extends JavaBridgeTestBase {
assertNull(mTestObject.waitForCustomTypeValue());
}
- // TODO: Test passing arrays.
-
// Test passing a JavaScript object to a method of an injected object.
public void testPassJavaScriptObject() throws Throwable {
// LIVECONNECT_COMPLIANCE: Should raise a JavaScript exception.