summaryrefslogtreecommitdiff
path: root/csharp/test
diff options
context:
space:
mode:
authorJose <pepone@users.noreply.github.com>2019-09-10 22:03:44 +0200
committerGitHub <noreply@github.com>2019-09-10 22:03:44 +0200
commitc7b9f79e8bb324dd407eba8503c24f7bba012844 (patch)
tree934b4c0938d6145db919f41bb3851af83ee14444 /csharp/test
parentDispose the X509Chain with .NET Standard 2.0 - Close #518 (diff)
downloadice-c7b9f79e8bb324dd407eba8503c24f7bba012844.tar.bz2
ice-c7b9f79e8bb324dd407eba8503c24f7bba012844.tar.xz
ice-c7b9f79e8bb324dd407eba8503c24f7bba012844.zip
Fixes for endpoint to string conversion - Close #517 (#519)
Diffstat (limited to 'csharp/test')
-rw-r--r--csharp/test/Ice/proxy/AllTests.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/csharp/test/Ice/proxy/AllTests.cs b/csharp/test/Ice/proxy/AllTests.cs
index 2a337dc47e0..816f89f74b6 100644
--- a/csharp/test/Ice/proxy/AllTests.cs
+++ b/csharp/test/Ice/proxy/AllTests.cs
@@ -91,6 +91,12 @@ namespace Ice
test(b1.ice_getIdentity().name.Equals("test") && b1.ice_getIdentity().category.Equals("category") &&
b1.ice_getAdapterId().Length == 0);
+ b1 = communicator.stringToProxy("test:tcp --sourceAddress \"::1\"");
+ test(b1.Equals(communicator.stringToProxy(b1.ToString())));
+
+ b1 = communicator.stringToProxy("test:udp --sourceAddress \"::1\" --interface \"0:0:0:0:0:0:0:1%lo\"");
+ test(b1.Equals(communicator.stringToProxy(b1.ToString())));
+
b1 = communicator.stringToProxy("");
test(b1 == null);
b1 = communicator.stringToProxy("\"\"");