Lines Matching refs:TestController
37 private class TestController extends Controller {
84 TestController mTestController;
89 mTestController = new TestController();
90 setUpWebView(mTestController, "testController");
95 executeJavaScript("testController.setStringValue(" + script + ");");
114 " testController.setBooleanValue(false);" +
116 " testController.setBooleanValue(true);" +
122 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testController"));
178 executeJavaScriptAndGetStringResult("typeof testController.setStringValue"));
182 assertEquals("undefined", executeJavaScriptAndGetStringResult("typeof testController.foo"));
186 assertRaisesException("testController.foo()");
199 executeJavaScript("testController.setStringValue(typeof testObject.staticMethod)");
206 executeJavaScript("testController.setStringValue(testObject.staticMethod())");
263 assertRaisesException("testController.setIntValue()");
264 assertRaisesException("testController.setIntValue(42, 42)");
268 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testController"));
276 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testController"));
399 "testController.setStringValue(result);");