Searched refs:executeJavaScript (Results 1 – 9 of 9) sorted by relevance
163 executeJavaScript("testObject.setBooleanArray([0]);"); in testPassNumberInt32()166 executeJavaScript("testObject.setBooleanArray([42]);"); in testPassNumberInt32()169 executeJavaScript("testObject.setByteArray([42]);"); in testPassNumberInt32()172 executeJavaScript("testObject.setCharArray([42]);"); in testPassNumberInt32()175 executeJavaScript("testObject.setShortArray([42]);"); in testPassNumberInt32()178 executeJavaScript("testObject.setIntArray([42]);"); in testPassNumberInt32()181 executeJavaScript("testObject.setLongArray([42]);"); in testPassNumberInt32()184 executeJavaScript("testObject.setFloatArray([42]);"); in testPassNumberInt32()187 executeJavaScript("testObject.setDoubleArray([42]);"); in testPassNumberInt32()191 executeJavaScript("testObject.setObjectArray([42]);"); in testPassNumberInt32()[all …]
170 executeJavaScript("testObject.setByteValue(42);"); in testPassNumberInt32()172 executeJavaScript("testObject.setByteValue(" + Byte.MAX_VALUE + " + 42);"); in testPassNumberInt32()175 executeJavaScript("testObject.setCharValue(42);"); in testPassNumberInt32()178 executeJavaScript("testObject.setShortValue(42);"); in testPassNumberInt32()180 executeJavaScript("testObject.setShortValue(" + Short.MAX_VALUE + " + 42);"); in testPassNumberInt32()183 executeJavaScript("testObject.setIntValue(42);"); in testPassNumberInt32()186 executeJavaScript("testObject.setLongValue(42);"); in testPassNumberInt32()189 executeJavaScript("testObject.setFloatValue(42);"); in testPassNumberInt32()192 executeJavaScript("testObject.setDoubleValue(42);"); in testPassNumberInt32()196 executeJavaScript("testObject.setObjectValue(42);"); in testPassNumberInt32()[all …]
98 executeJavaScript("testObject.setIntArray([42, 43, 44]);"); in testArrayLength()109 executeJavaScript("testObject.setIntArray(null);"); in testPassNull()116 executeJavaScript("testObject.setIntArray(undefined);"); in testPassUndefined()123 executeJavaScript("testObject.setIntArray([]);"); in testPassEmptyArray()133 executeJavaScript("testObject.setStringValue([42, 42, 42]);"); in testPassArrayToStringMethod()143 executeJavaScript("testObject.setIntValue([42, 42, 42]);"); in testPassArrayToNonStringNonArrayMethod()151 executeJavaScript("testObject.setIntArray(42);"); in testPassNonArrayToArrayMethod()158 executeJavaScript("testObject.setIntArray({length: 3, 1: 42});"); in testObjectWithLengthProperty()171 executeJavaScript("testObject.setIntArray({length: \"foo\"});"); in testNonNumericLengthProperty()180 executeJavaScript("testObject.setIntArray({length: -1});"); in testLengthOutOfBounds()[all …]
102 executeJavaScript("testController.setStringValue(" + script + ");"); in executeJavaScriptAndGetStringResult()141 executeJavaScript("try {" + in assertRaisesException()238 executeJavaScript("testController.setStringValue(typeof testObject.staticMethod)"); in testTypeOfStaticMethod()247 executeJavaScript("testController.setStringValue(testObject.staticMethod())"); in testCallStaticMethod()270 executeJavaScript("testObject.method()"); in testReplaceInjectedObject()276 executeJavaScript("testObject.method()"); in testReplaceInjectedObject()304 executeJavaScript("testObject.method()"); in testCallOverloadedMethodWithDifferentNumberOfArguments()306 executeJavaScript("testObject.method(42)"); in testCallOverloadedMethodWithDifferentNumberOfArguments()308 executeJavaScript("testObject.method(null)"); in testCallOverloadedMethodWithDifferentNumberOfArguments()310 executeJavaScript("testObject.method(undefined)"); in testCallOverloadedMethodWithDifferentNumberOfArguments()[all …]
114 executeJavaScript("testObject.setStringValue(" + script + ");"); in executeJavaScriptAndGetStringResult()120 executeJavaScript("testObject.setBooleanValue(" + script + ");"); in executeJavaScriptAndGetBooleanResult()
35 protected void executeJavaScript(final String script) throws Throwable { in executeJavaScript() method in JavaBridgeTestBase
57 executeJavaScript("testObject.setStringValue(" + script + ");"); in executeJavaScriptAndGetStringResult()
64 public static void executeJavaScript(final ContentViewCore viewCore, final String code) { in executeJavaScript() method in JavaScriptUtils
63 JavaScriptUtils.executeJavaScript(viewCore, sb.toString());