Merge "Remove some stale TODOs from the Java Bridge tests"

This commit is contained in:
Steve Block
2012-01-11 03:14:28 -08:00
committed by Android (Google) Code Review

View File

@@ -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.