Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49a13f00 authored by Steve Block's avatar Steve Block Committed by Android (Google) Code Review
Browse files

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

parents 0b3caa49 c93643be
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -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.