HomeSort by relevance Sort by last modified time
    Searched refs:mTestObject (Results 1 - 10 of 10) sorted by null

  /external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
JavaBridgeArrayCoercionTest.java 146 private TestObject mTestObject;
151 mTestObject = new TestObject();
152 setUpContentView(mTestObject, "testObject");
164 assertFalse(mTestObject.waitForBooleanArray()[0]);
167 assertFalse(mTestObject.waitForBooleanArray()[0]);
170 assertEquals(42, mTestObject.waitForByteArray()[0]);
173 assertEquals(42, mTestObject.waitForCharArray()[0]);
176 assertEquals(42, mTestObject.waitForShortArray()[0]);
179 assertEquals(42, mTestObject.waitForIntArray()[0]);
182 assertEquals(42L, mTestObject.waitForLongArray()[0])
    [all...]
JavaBridgeCoercionTest.java 154 private TestObject mTestObject;
159 mTestObject = new TestObject();
160 setUpContentView(mTestObject, "testObject");
171 assertEquals(42, mTestObject.waitForByteValue());
173 assertEquals(Byte.MIN_VALUE + 42 - 1, mTestObject.waitForByteValue());
176 assertEquals(42, mTestObject.waitForCharValue());
179 assertEquals(42, mTestObject.waitForShortValue());
181 assertEquals(Short.MIN_VALUE + 42 - 1, mTestObject.waitForShortValue());
184 assertEquals(42, mTestObject.waitForIntValue());
187 assertEquals(42L, mTestObject.waitForLongValue())
    [all...]
JavaBridgeArrayTest.java 86 private TestObject mTestObject;
91 mTestObject = new TestObject();
92 setUpContentView(mTestObject, "testObject");
99 int[] result = mTestObject.waitForIntArray();
110 assertNull(mTestObject.waitForIntArray());
117 assertNull(mTestObject.waitForIntArray());
124 assertEquals(0, mTestObject.waitForIntArray().length);
134 assertEquals("undefined", mTestObject.waitForStringValue());
144 assertEquals(0, mTestObject.waitForIntValue());
152 assertNull(mTestObject.waitForIntArray())
    [all...]
JavaBridgeFieldsTest.java 46 TestObject mTestObject;
51 mTestObject = new TestObject();
52 setUpContentView(mTestObject, "testObject");
58 return mTestObject.waitForStringValue();
JavaBridgeReturnValuesTest.java 103 TestObject mTestObject;
108 mTestObject = new TestObject();
109 setUpContentView(mTestObject, "testObject");
115 return mTestObject.waitForStringValue();
121 return mTestObject.waitForBooleanValue();
  /frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
JavaBridgeCoercionTest.java 167 private TestObject mTestObject;
172 mTestObject = new TestObject();
173 setUpWebView(mTestObject, "testObject");
180 assertEquals(42, mTestObject.waitForByteValue());
182 assertEquals(Byte.MIN_VALUE + 42 - 1, mTestObject.waitForByteValue());
186 assertEquals('\u0000', mTestObject.waitForCharValue());
189 assertEquals(42, mTestObject.waitForShortValue());
191 assertEquals(Short.MIN_VALUE + 42 - 1, mTestObject.waitForShortValue());
194 assertEquals(42, mTestObject.waitForIntValue());
197 assertEquals(42L, mTestObject.waitForLongValue())
    [all...]
JavaBridgeArrayCoercionTest.java 160 private TestObject mTestObject;
165 mTestObject = new TestObject();
166 setUpWebView(mTestObject, "testObject");
176 assertFalse(mTestObject.waitForBooleanArray()[0]);
179 assertFalse(mTestObject.waitForBooleanArray()[0]);
182 assertEquals(42, mTestObject.waitForByteArray()[0]);
186 assertEquals('\u0000', mTestObject.waitForCharArray()[0]);
189 assertEquals(42, mTestObject.waitForShortArray()[0]);
192 assertEquals(42, mTestObject.waitForIntArray()[0]);
195 assertEquals(42L, mTestObject.waitForLongArray()[0])
    [all...]
JavaBridgeArrayTest.java 100 private TestObject mTestObject;
105 mTestObject = new TestObject();
106 setUpWebView(mTestObject, "testObject");
111 int[] result = mTestObject.waitForIntArray();
120 assertNull(mTestObject.waitForIntArray());
125 assertNull(mTestObject.waitForIntArray());
130 assertEquals(0, mTestObject.waitForIntArray().length);
138 assertEquals("undefined", mTestObject.waitForStringValue());
146 assertEquals(0, mTestObject.waitForIntValue());
152 assertNull(mTestObject.waitForIntArray())
    [all...]
JavaBridgeFieldsTest.java 59 TestObject mTestObject;
64 mTestObject = new TestObject();
65 setUpWebView(mTestObject, "testObject");
71 return mTestObject.waitForStringValue();
JavaBridgeReturnValuesTest.java 117 TestObject mTestObject;
122 mTestObject = new TestObject();
123 setUpWebView(mTestObject, "testObject");
129 return mTestObject.waitForStringValue();
135 return mTestObject.waitForBooleanValue();

Completed in 630 milliseconds