|
|
|
@ -53,30 +53,35 @@ describe('Interop tests', function() { |
|
|
|
|
}); |
|
|
|
|
// This depends on not using a binary stream
|
|
|
|
|
it('should pass empty_unary', function(done) { |
|
|
|
|
interop_client.runTest(port, name_override, 'empty_unary', true, done); |
|
|
|
|
interop_client.runTest(port, name_override, 'empty_unary', true, true, |
|
|
|
|
done); |
|
|
|
|
}); |
|
|
|
|
// This fails due to an unknown bug
|
|
|
|
|
it('should pass large_unary', function(done) { |
|
|
|
|
interop_client.runTest(port, name_override, 'large_unary', true, done); |
|
|
|
|
interop_client.runTest(port, name_override, 'large_unary', true, true, |
|
|
|
|
done); |
|
|
|
|
}); |
|
|
|
|
it('should pass client_streaming', function(done) { |
|
|
|
|
interop_client.runTest(port, name_override, 'client_streaming', true, done); |
|
|
|
|
interop_client.runTest(port, name_override, 'client_streaming', true, true, |
|
|
|
|
done); |
|
|
|
|
}); |
|
|
|
|
it('should pass server_streaming', function(done) { |
|
|
|
|
interop_client.runTest(port, name_override, 'server_streaming', true, done); |
|
|
|
|
interop_client.runTest(port, name_override, 'server_streaming', true, true, |
|
|
|
|
done); |
|
|
|
|
}); |
|
|
|
|
it('should pass ping_pong', function(done) { |
|
|
|
|
interop_client.runTest(port, name_override, 'ping_pong', true, done); |
|
|
|
|
interop_client.runTest(port, name_override, 'ping_pong', true, true, done); |
|
|
|
|
}); |
|
|
|
|
it('should pass empty_stream', function(done) { |
|
|
|
|
interop_client.runTest(port, name_override, 'empty_stream', true, done); |
|
|
|
|
interop_client.runTest(port, name_override, 'empty_stream', true, true, |
|
|
|
|
done); |
|
|
|
|
}); |
|
|
|
|
it('should pass cancel_after_begin', function(done) { |
|
|
|
|
interop_client.runTest(port, name_override, 'cancel_after_begin', true, |
|
|
|
|
done); |
|
|
|
|
true, done); |
|
|
|
|
}); |
|
|
|
|
it('should pass cancel_after_first_response', function(done) { |
|
|
|
|
interop_client.runTest(port, name_override, 'cancel_after_first_response', |
|
|
|
|
true, done); |
|
|
|
|
true, true, done); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|