Lines Matching refs:client
38 export function ThriftTestDriver(client: ThriftTest.Client, callback: (status: string) => void) {
48 (<any>client)[fnName](expected, function(err: any, actual: any) {
61 client.testMapMap(42, function(err, response) {
70 client.testStruct(testCases.out, function(err, response) {
75 client.testNest(testCases.out2, function(err, response) {
80 client.testInsanity(testCases.crazy, function(err, response) {
85 client.testException("TException", function(err, response) {
90 client.testException("Xception", function(err, response) {
97 client.testException("no Exception", function(err, response) {
102 client.testOneway(0, function(err, response) {
108 client.testI32(-1, function(err, response) {
119 export function ThriftTestDriverPromise(client: ThriftTest.Client, callback: (status: string) => vo…
137 (<any>client)[fnName](expected)
151 Q.resolve(client.testStruct(testCases.out))
157 Q.resolve(client.testNest(testCases.out2))
163 Q.resolve(client.testInsanity(testCases.crazy))
169 Q.resolve(client.testException("TException"))
177 Q.resolve(client.testException("Xception"))
187 Q.resolve(client.testException("no Exception"))
193 client.testOneway(0, fail("testOneway: should not answer"));
196 Q.resolve(client.testI32(-1))