Author: coheigea
Date: Mon Jul 15 11:29:23 2013
New Revision: 1503182
URL: http://svn.apache.org/r1503182
Log:
Minor updates
Modified:
cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/policy/JavaFirstPolicyServiceTest.java
Modified:
cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/policy/JavaFirstPolicyServiceTest.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/policy/JavaFirstPolicyServiceTest.java?rev=1503182&r1=1503181&r2=1503182&view=diff
==============================================================================
---
cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/policy/JavaFirstPolicyServiceTest.java
(original)
+++
cxf/trunk/systests/ws-security/src/test/java/org/apache/cxf/systest/ws/policy/JavaFirstPolicyServiceTest.java
Mon Jul 15 11:29:23 2013
@@ -106,6 +106,8 @@ public class JavaFirstPolicyServiceTest
} catch (Exception e) {
assertTrue(true);
}
+
+ ctx.close();
}
@org.junit.Test
@@ -140,6 +142,8 @@ public class JavaFirstPolicyServiceTest
} catch (Exception e) {
assertTrue(true);
}
+
+ ctx.close();
}
@Test
@@ -172,6 +176,8 @@ public class JavaFirstPolicyServiceTest
wssOut.setProperties(getPasswordProperties("alice", "password"));
simpleService.doStuff();
+
+ clientContext.close();
}
@Test
@@ -201,6 +207,8 @@ public class JavaFirstPolicyServiceTest
// this is successful because the alternative policy allows a password
to be specified.
simpleService.doStuff();
+
+ clientContext.close();
}
@Test
@@ -250,6 +258,8 @@ public class JavaFirstPolicyServiceTest
wssOut.setProperties(getPasswordProperties("alice", "password"));
simpleService.ping();
+
+ clientContext.close();
}
@Test
@@ -294,6 +304,8 @@ public class JavaFirstPolicyServiceTest
wssOut.setProperties(getPasswordProperties("alice", "password"));
simpleService.ping();
+
+ clientContext.close();
}
@Test
@@ -330,6 +342,8 @@ public class JavaFirstPolicyServiceTest
// this is successful because the alternative policy allows a password
to be specified.
wssOut.setProperties(getPasswordProperties("alice", "password"));
simpleService.doStuff();
+
+ clientContext.close();
}
@Test
@@ -361,6 +375,8 @@ public class JavaFirstPolicyServiceTest
// this is successful because the alternative policy allows a password
to be specified.
wssOut.setProperties(getPasswordProperties("alice", "password"));
simpleService.doStuff();
+
+ clientContext.close();
}
private WSS4JOutInterceptor addToClient(Object svc) {