| OLD | NEW |
| 1 Tests correctness of promisified protocol commands. | 1 Tests correctness of promisified protocol commands. |
| 2 | 2 |
| 3 error: Request Profiler.commandError failed. {"message":"this is the error messa
ge"} | 3 error: Request Profiler.commandError failed. {"message":"this is the error messa
ge"} |
| 4 commandError: then result: ["this is the error message"] | 4 commandError: then result: ["this is the error message"] |
| 5 commandArgs0: then result: [null] | 5 commandArgs0: then result: [null] |
| 6 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr
gs0' call must be a function but its type is 'number'. | 6 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr
gs0' call must be a function but its type is 'number'. |
| 7 commandArgs0: catch result: {} | 7 commandArgs0: then result: ["Protocol Error: Optional callback argument for meth
od 'Profiler.commandArgs0' call must be a function but its type is 'number'."] |
| 8 commandArgs1Rets0: then result: [null] | 8 commandArgs1Rets0: then result: [null] |
| 9 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr
gs1Rets0' call must be a function but its type is 'number'. | 9 error: Protocol Error: Optional callback argument for method 'Profiler.commandAr
gs1Rets0' call must be a function but its type is 'number'. |
| 10 commandArgs1Rets0: catch result: {} | 10 commandArgs1Rets0: then result: ["Protocol Error: Optional callback argument for
method 'Profiler.commandArgs1Rets0' call must be a function but its type is 'nu
mber'."] |
| 11 error: Protocol Error: Invalid type of argument 'arg1' for method 'Profiler.comm
andArgs1Rets0' call. It must be 'number' but it is 'string'. | 11 error: Protocol Error: Invalid type of argument 'arg1' for method 'Profiler.comm
andArgs1Rets0' call. It must be 'number' but it is 'string'. |
| 12 commandArgs1Rets0: catch result: {} | 12 commandArgs1Rets0: then result: ["Protocol Error: Invalid type of argument 'arg1
' for method 'Profiler.commandArgs1Rets0' call. It must be 'number' but it is 's
tring'."] |
| 13 error: Protocol Error: Invalid number of arguments for method 'Profiler.commandA
rgs1Rets0' call. It must have the following arguments '[{"name":"arg1","type":"n
umber","optional":false}]'. | 13 error: Protocol Error: Invalid number of arguments for method 'Profiler.commandA
rgs1Rets0' call. It must have the following arguments '[{"name":"arg1","type":"n
umber","optional":false}]'. |
| 14 commandArgs1Rets0: catch result: {} | 14 commandArgs1Rets0: then result: ["Protocol Error: Invalid number of arguments fo
r method 'Profiler.commandArgs1Rets0' call. It must have the following arguments
'[{\"name\":\"arg1\",\"type\":\"number\",\"optional\":false}]'."] |
| 15 commandArgs1Rets1: then result: [null,{"value1":234}] | 15 commandArgs1Rets1: then result: [null,{"value1":234}] |
| 16 commandArgs1Rets1: then result: [null,{"value1":234}] | 16 commandArgs1Rets1: then result: [null,{"value1":234}] |
| 17 commandArgs3Rets3: then result: [null,{},345,"alph"] | 17 commandArgs3Rets3: then result: [null,{},345,"alph"] |
| 18 commandArgs3Rets3: then result: [null,{},345,null] | 18 commandArgs3Rets3: then result: [null,{},345,null] |
| 19 commandArgs3Rets3: then result: [null,{},null,"alph"] | 19 commandArgs3Rets3: then result: [null,{},null,"alph"] |
| 20 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. | 20 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. |
| 21 commandArgs3Rets3: catch result: {} | 21 commandArgs3Rets3: then result: ["Protocol Error: Invalid type of argument 'arg2
' for method 'Profiler.commandArgs3Rets3' call. It must be 'number' but it is 's
tring'."] |
| 22 commandArgs3Rets3: then result: [null,{},null,null] | 22 commandArgs3Rets3: then result: [null,{},null,null] |
| 23 error: Protocol Error: Invalid number of arguments for method 'Profiler.commandA
rgs3Rets3' call. It must have the following arguments '[{"name":"arg1","type":"o
bject","optional":false},{"name":"arg2","type":"number","optional":true},{"name"
:"arg3","type":"string","optional":true}]'. | 23 error: Protocol Error: Invalid number of arguments for method 'Profiler.commandA
rgs3Rets3' call. It must have the following arguments '[{"name":"arg1","type":"o
bject","optional":false},{"name":"arg2","type":"number","optional":true},{"name"
:"arg3","type":"string","optional":true}]'. |
| 24 commandArgs3Rets3: catch result: {} | 24 commandArgs3Rets3: then result: ["Protocol Error: Invalid number of arguments fo
r method 'Profiler.commandArgs3Rets3' call. It must have the following arguments
'[{\"name\":\"arg1\",\"type\":\"object\",\"optional\":false},{\"name\":\"arg2\"
,\"type\":\"number\",\"optional\":true},{\"name\":\"arg3\",\"type\":\"string\",\
"optional\":true}]'."] |
| 25 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. | 25 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. |
| 26 commandArgs3Rets3: catch result: {} | 26 commandArgs3Rets3: then result: ["Protocol Error: Invalid type of argument 'arg2
' for method 'Profiler.commandArgs3Rets3' call. It must be 'number' but it is 's
tring'."] |
| 27 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. | 27 error: Protocol Error: Invalid type of argument 'arg2' for method 'Profiler.comm
andArgs3Rets3' call. It must be 'number' but it is 'string'. |
| 28 commandArgs3Rets3: catch result: {} | 28 commandArgs3Rets3: then result: ["Protocol Error: Invalid type of argument 'arg2
' for method 'Profiler.commandArgs3Rets3' call. It must be 'number' but it is 's
tring'."] |
| 29 | 29 |
| OLD | NEW |