Lines Matching refs:mTestController
84 TestController mTestController;
89 mTestController = new TestController();
90 setUpWebView(mTestController, "testController");
96 return mTestController.waitForStringValue();
118 assertTrue(mTestController.waitForBooleanValue());
200 assertEquals("function", mTestController.waitForStringValue());
207 assertEquals("foo", mTestController.waitForStringValue());
220 public void method() { mTestController.setStringValue("object 1"); }
223 assertEquals("object 1", mTestController.waitForStringValue());
226 public void method() { mTestController.setStringValue("object 2"); }
229 assertEquals("object 2", mTestController.waitForStringValue());
246 public void method() { mTestController.setStringValue("0 args"); }
247 public void method(int x) { mTestController.setStringValue("1 arg"); }
248 public void method(int x, int y) { mTestController.setStringValue("2 args"); }
251 assertEquals("0 args", mTestController.waitForStringValue());
253 assertEquals("1 arg", mTestController.waitForStringValue());
255 assertEquals("1 arg", mTestController.waitForStringValue());
257 assertEquals("1 arg", mTestController.waitForStringValue());
259 assertEquals("2 args", mTestController.waitForStringValue());
282 public void method() { mTestController.setIntValue(++mNumMethodInvocations); }
295 assertEquals(1, mTestController.waitForIntValue());
297 assertEquals(2, mTestController.waitForIntValue());
304 public void method(int x) { mTestController.setIntValue(x); }
309 assertEquals(42, mTestController.waitForIntValue());
315 public void method() { mTestController.setIntValue(++mNumMethodInvocations); }
333 assertEquals(1, mTestController.waitForIntValue());
335 assertEquals(2, mTestController.waitForIntValue());
341 mTestController.setLongValue(Thread.currentThread().getId());
345 final long threadId = mTestController.waitForLongValue();
357 public void method(int x) { mTestController.setIntValue(x); }
364 assertEquals(42, mTestController.waitForIntValue());
379 public void method() { mTestController.setStringValue("base"); }
382 public void method() { mTestController.setStringValue("derived"); }
386 assertEquals("derived", mTestController.waitForStringValue());
401 assertEquals("", mTestController.waitForStringValue());