Lines Matching refs:TestObject
36 private class TestObject extends Controller {
100 private TestObject mTestObject;
105 mTestObject = new TestObject();
106 setUpWebView(mTestObject, "testObject");
110 executeJavaScript("testObject.setIntArray([42, 43, 44]);");
119 executeJavaScript("testObject.setIntArray(null);");
124 executeJavaScript("testObject.setIntArray(undefined);");
129 executeJavaScript("testObject.setIntArray([]);");
137 executeJavaScript("testObject.setStringValue([42, 42, 42]);");
145 executeJavaScript("testObject.setIntValue([42, 42, 42]);");
151 executeJavaScript("testObject.setIntArray(42);");
156 executeJavaScript("testObject.setIntArray({length: 3, 1: 42});");
167 executeJavaScript("testObject.setIntArray({length: \"foo\"});");
174 executeJavaScript("testObject.setIntArray({length: -1});");
180 executeJavaScript("testObject.setIntArray({length: " + length + "});");
186 executeJavaScript("testObject.setIntArray({length: " + length + "});");
191 executeJavaScript("var x = [42, 43]; x[3] = 45; testObject.setIntArray(x);");
207 executeJavaScript("testObject.setBooleanValue(undefined === testObject.arrayMethod())");
214 executeJavaScript("testObject.setIntIntArray([ [42, 43], [44, 45] ]);");
220 executeJavaScript("testObject.setIntArray([ [42, 43], [44, 45] ]);");