summaryrefslogtreecommitdiff
path: root/java/test/Ice/proxy/AllTests.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/proxy/AllTests.java')
-rw-r--r--java/test/Ice/proxy/AllTests.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/java/test/Ice/proxy/AllTests.java b/java/test/Ice/proxy/AllTests.java
index 4910517c0db..959caa610b0 100644
--- a/java/test/Ice/proxy/AllTests.java
+++ b/java/test/Ice/proxy/AllTests.java
@@ -709,7 +709,7 @@ public class AllTests
try
{
// Invalid -x option
- Ice.ObjectPrx p = communicator.stringToProxy("id:opaque -t 99 -v abc -x abc");
+ communicator.stringToProxy("id:opaque -t 99 -v abc -x abc");
test(false);
}
catch(Ice.EndpointParseException ex)
@@ -719,7 +719,7 @@ public class AllTests
try
{
// Missing -t and -v
- Ice.ObjectPrx p = communicator.stringToProxy("id:opaque");
+ communicator.stringToProxy("id:opaque");
test(false);
}
catch(Ice.EndpointParseException ex)
@@ -729,7 +729,7 @@ public class AllTests
try
{
// Repeated -t
- Ice.ObjectPrx p = communicator.stringToProxy("id:opaque -t 1 -t 1 -v abc");
+ communicator.stringToProxy("id:opaque -t 1 -t 1 -v abc");
test(false);
}
catch(Ice.EndpointParseException ex)
@@ -739,7 +739,7 @@ public class AllTests
try
{
// Repeated -v
- Ice.ObjectPrx p = communicator.stringToProxy("id:opaque -t 1 -v abc -v abc");
+ communicator.stringToProxy("id:opaque -t 1 -v abc -v abc");
test(false);
}
catch(Ice.EndpointParseException ex)
@@ -749,7 +749,7 @@ public class AllTests
try
{
// Missing -t
- Ice.ObjectPrx p = communicator.stringToProxy("id:opaque -v abc");
+ communicator.stringToProxy("id:opaque -v abc");
test(false);
}
catch(Ice.EndpointParseException ex)
@@ -759,7 +759,7 @@ public class AllTests
try
{
// Missing -v
- Ice.ObjectPrx p = communicator.stringToProxy("id:opaque -t 1");
+ communicator.stringToProxy("id:opaque -t 1");
test(false);
}
catch(Ice.EndpointParseException ex)
@@ -769,7 +769,7 @@ public class AllTests
try
{
// Missing arg for -t
- Ice.ObjectPrx p = communicator.stringToProxy("id:opaque -t -v abc");
+ communicator.stringToProxy("id:opaque -t -v abc");
test(false);
}
catch(Ice.EndpointParseException ex)
@@ -779,7 +779,7 @@ public class AllTests
try
{
// Missing arg for -v
- Ice.ObjectPrx p = communicator.stringToProxy("id:opaque -t 1 -v");
+ communicator.stringToProxy("id:opaque -t 1 -v");
test(false);
}
catch(Ice.EndpointParseException ex)
@@ -789,7 +789,7 @@ public class AllTests
try
{
// Not a number for -t
- Ice.ObjectPrx p = communicator.stringToProxy("id:opaque -t x -v abc");
+ communicator.stringToProxy("id:opaque -t x -v abc");
test(false);
}
catch(Ice.EndpointParseException ex)
@@ -799,7 +799,7 @@ public class AllTests
try
{
// < 0 for -t
- Ice.ObjectPrx p = communicator.stringToProxy("id:opaque -t -1 -v abc");
+ communicator.stringToProxy("id:opaque -t -1 -v abc");
test(false);
}
catch(Ice.EndpointParseException ex)
@@ -809,7 +809,7 @@ public class AllTests
try
{
// Invalid char for -v
- Ice.ObjectPrx p = communicator.stringToProxy("id:opaque -t 99 -v x?c");
+ communicator.stringToProxy("id:opaque -t 99 -v x?c");
test(false);
}
catch(Ice.EndpointParseException ex)