Home
last modified time | relevance | path

Searched refs:executeJavaScriptAndGetStringResult (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
DJavaBridgeReturnValuesTest.java127 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { in executeJavaScriptAndGetStringResult() method in JavaBridgeReturnValuesTest
140 executeJavaScriptAndGetStringResult("typeof testObject.getBooleanValue()")); in testMethodReturnTypes()
142 executeJavaScriptAndGetStringResult("typeof testObject.getByteValue()")); in testMethodReturnTypes()
145 executeJavaScriptAndGetStringResult("typeof testObject.getCharValue()")); in testMethodReturnTypes()
147 executeJavaScriptAndGetStringResult("typeof testObject.getShortValue()")); in testMethodReturnTypes()
149 executeJavaScriptAndGetStringResult("typeof testObject.getIntValue()")); in testMethodReturnTypes()
151 executeJavaScriptAndGetStringResult("typeof testObject.getLongValue()")); in testMethodReturnTypes()
153 executeJavaScriptAndGetStringResult("typeof testObject.getFloatValue()")); in testMethodReturnTypes()
155 executeJavaScriptAndGetStringResult("typeof testObject.getFloatValueNoDecimal()")); in testMethodReturnTypes()
157 executeJavaScriptAndGetStringResult("typeof testObject.getDoubleValue()")); in testMethodReturnTypes()
[all …]
DJavaBridgeFieldsTest.java69 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { in executeJavaScriptAndGetStringResult() method in JavaBridgeFieldsTest
78 executeJavaScriptAndGetStringResult("typeof testObject.booleanField")); in testFieldTypes()
80 executeJavaScriptAndGetStringResult("typeof testObject.byteField")); in testFieldTypes()
82 executeJavaScriptAndGetStringResult("typeof testObject.charField")); in testFieldTypes()
84 executeJavaScriptAndGetStringResult("typeof testObject.shortField")); in testFieldTypes()
86 executeJavaScriptAndGetStringResult("typeof testObject.intField")); in testFieldTypes()
88 executeJavaScriptAndGetStringResult("typeof testObject.longField")); in testFieldTypes()
90 executeJavaScriptAndGetStringResult("typeof testObject.floatField")); in testFieldTypes()
92 executeJavaScriptAndGetStringResult("typeof testObject.doubleField")); in testFieldTypes()
94 executeJavaScriptAndGetStringResult("typeof testObject.objectField")); in testFieldTypes()
[all …]
DJavaBridgeBasicsTest.java94 protected String executeJavaScriptAndGetStringResult(String script) throws Throwable { in executeJavaScriptAndGetStringResult() method in JavaBridgeBasicsTest
122 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testController")); in testTypeOfInjectedObject()
126 assertEquals("undefined", executeJavaScriptAndGetStringResult("typeof testObject")); in testAdditionNotReflectedUntilReload()
133 assertEquals("undefined", executeJavaScriptAndGetStringResult("typeof testObject")); in testAdditionNotReflectedUntilReload()
141 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testObject")); in testAdditionNotReflectedUntilReload()
146 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testObject")); in testRemovalNotReflectedUntilReload()
153 assertEquals("object", executeJavaScriptAndGetStringResult("typeof testObject")); in testRemovalNotReflectedUntilReload()
161 assertEquals("undefined", executeJavaScriptAndGetStringResult("typeof testObject")); in testRemovalNotReflectedUntilReload()
173 assertEquals("undefined", executeJavaScriptAndGetStringResult("typeof foo")); in testRemoveObjectNotAdded()
178 executeJavaScriptAndGetStringResult("typeof testController.setStringValue")); in testTypeOfMethod()
[all …]