Lines Matching refs:TestController
33 private class TestController extends Controller {
84 TestController mTestController;
89 mTestController = new TestController();
90 setUpContentView(mTestController, "testController");
102 executeJavaScript("testController.setStringValue(" + script + ");");
143 " testController.setBooleanValue(false);" +
145 " testController.setBooleanValue(true);" +
153 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testController"));
209 executeJavaScriptAndGetStringResult("typeof testController.setStringValue"));
215 assertEquals("undefined", executeJavaScriptAndGetStringResult("typeof testController.foo"));
221 assertRaisesException("testController.foo()");
238 executeJavaScript("testController.setStringValue(typeof testObject.staticMethod)");
247 executeJavaScript("testController.setStringValue(testObject.staticMethod())");
319 assertRaisesException("testController.setIntValue()");
320 assertRaisesException("testController.setIntValue(42, 42)");
326 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testController"));
328 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testController"));
334 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testController"));
335 executeJavaScript("testController.myProperty = 42;");
336 assertEquals("42", executeJavaScriptAndGetStringResult("testController.myProperty"));
338 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testController"));
339 assertEquals("undefined", executeJavaScriptAndGetStringResult("testController.myProperty"));
553 "testController.setStringValue(result);");