Lines Matching refs:result

52     client.testVoid(function(result) {  argument
53 assert.equal(result, undefined);
62 client.testString('', function(result) { argument
63 assert.equal(result, '');
66 client.testString(stringTest, function(result) { argument
67 assert.equal(result, stringTest);
76 client.testString(specialCharacters, function(result) { argument
77 assert.equal(result, specialCharacters);
84 client.testDouble(0, function(result) { argument
85 assert.equal(result, 0);
88 client.testDouble(-1, function(result) { argument
89 assert.equal(result, -1);
92 client.testDouble(3.14, function(result) { argument
93 assert.equal(result, 3.14);
96 client.testDouble(Math.pow(2, 60), function(result) { argument
97 assert.equal(result, Math.pow(2, 60));
105 client.testByte(0, function(result) { argument
106 assert.equal(result, 0);
109 client.testByte(0x01, function(result) { argument
110 assert.equal(result, 0x01);
117 client.testI32(0, function(result) { argument
118 assert.equal(result, 0);
121 client.testI32(Math.pow(2, 30), function(result) { argument
122 assert.equal(result, Math.pow(2, 30));
125 client.testI32(-Math.pow(2, 30), function(result) { argument
126 assert.equal(result, -Math.pow(2, 30));
133 client.testI64(0, function(result) { argument
134 assert.equal(result, 0);
138 client.testI64(Math.pow(2, 52), function(result) { argument
139 assert.equal(result, Math.pow(2, 52));
142 client.testI64(-Math.pow(2, 52), function(result) { argument
143 assert.equal(result, -Math.pow(2, 52));
163 client.testStruct(structTestInput, function(result) { argument
164 assert.equal(result.string_thing, structTestInput.string_thing);
165 assert.equal(result.byte_thing, structTestInput.byte_thing);
166 assert.equal(result.i32_thing, structTestInput.i32_thing);
167 assert.equal(result.i64_thing, structTestInput.i64_thing);
168 assert.equal(JSON.stringify(result), JSON.stringify(structTestInput));
188 client.testNest(nestTestInput, function(result) { argument
189 assert.equal(result.byte_thing, nestTestInput.byte_thing);
190 assert.equal(result.struct_thing.string_thing, nestTestInput.struct_thing.string_thing);
191 assert.equal(result.struct_thing.byte_thing, nestTestInput.struct_thing.byte_thing);
192 assert.equal(result.struct_thing.i32_thing, nestTestInput.struct_thing.i32_thing);
193 assert.equal(result.struct_thing.i64_thing, nestTestInput.struct_thing.i64_thing);
194 assert.equal(result.i32_thing, nestTestInput.i32_thing);
195 assert.equal(JSON.stringify(result), JSON.stringify(nestTestInput));
205 client.testMap(mapTestInput, function(result) { argument
206 for (let key in result) {
207 assert.equal(result[key], mapTestInput[key]);
221 client.testStringMap(mapTestInput, function(result) { argument
222 for (let key in result) {
223 assert.equal(result[key], mapTestInput[key]);
233 client.testSet(setTestInput, function(result) { argument
234 assert.ok(result, setTestInput);
243 client.testList(listTestInput, function(result) { argument
244 assert.ok(result, listTestInput);
252 client.testEnum(ThriftTest.Numberz.ONE, function(result) { argument
253 assert.equal(result, ThriftTest.Numberz.ONE);
261 client.testTypedef(69, function(result) { argument
262 assert.equal(result, 69);
278 client.testMapMap(1, function(result) { argument
279 for (let key in result) {
280 for (let key2 in result[key]) {
281 assert.equal(result[key][key2], mapMapTestExpectedResult[key][key2]);
284 checkRecursively(assert, result, mapMapTestExpectedResult);
366 client.testOneway(1, function(result) { argument
367 assert.equal(result, undefined);