diff options
author | Jens Geyer <jensg@apache.org> | 2014-04-22 22:52:43 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2014-04-22 22:52:43 +0200 |
commit | c1d7943a7ed78fb434eaa90feb1a3a17b446fc97 (patch) | |
tree | 631c840871bee40ed6f15d78402466c34e58ab7f /test | |
parent | 7201c0d38ffb1505fdddcc9b65b16621f7e493c3 (diff) | |
download | thrift-c1d7943a7ed78fb434eaa90feb1a3a17b446fc97.tar.gz |
THRIFT-2347 C# TLS Transport based on THRIFT-181
Client: C#
Patch: Beat Käslin
This closes #104
commit 21c33abd59a2333c48722933c6894d8ed145e638
Author: Beat Kaeslin <beat.kaeslin@siemens.com>
Date: 2014-04-16T14:07:58Z
Add TLS transport for C#
commit 60a0baa1797b0ef0ea6f8c21e5b81a78cdfcdf16
Author: Beat Kaeslin <beat.kaeslin@siemens.com>
Date: 2014-04-17T06:23:57Z
csharp tests moved to the end
Diffstat (limited to 'test')
-rwxr-xr-x | test/test.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/test/test.sh b/test/test.sh index b73635fe0..91ac175cc 100755 --- a/test/test.sh +++ b/test/test.sh @@ -102,6 +102,10 @@ nodejs_protocols="binary json" nodejs_transports="buffered framed" nodejs_sockets="ip ip-ssl" +csharp_protocols="binary compact json" +csharp_transports="buffered framed" +csharp_sockets="ip ip-ssl" + ant -f ../lib/java/build.xml compile-test 1>/dev/null ######### java client - java server ############# @@ -209,6 +213,24 @@ done # delete Unix Domain Socket used by cpp tests rm -f /tmp/ThriftTest.thrift +######### csharp client - csharp server ############# +export MONO_PATH=../lib/csharp +for proto in $csharp_protocols; do + for trans in $csharp_transports; do + for sock in $csharp_sockets; do + case "$sock" in + "ip" ) extraparam="";; + "ip-ssl" ) extraparam="--ssl";; + esac + do_test "csharp-csharp" "${proto}" "${trans}-${sock}" \ + "../lib/csharp/test/ThriftTest/TestClientServer.exe client --protocol=${proto} --transport=${trans} ${extraparam}" \ + "../lib/csharp/test/ThriftTest/TestClientServer.exe server --protocol=${proto} --transport=${trans} ${extraparam}" \ + "10" "10" + done + done +done + + do_test "py-py" "binary" "buffered-ip" \ "py/TestClient.py --proto=binary --port=9090 --host=localhost --genpydir=py/gen-py" \ "py/TestServer.py --proto=binary --port=9090 --genpydir=py/gen-py TSimpleServer" \ |