cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf git commit: Some STS tests fails locally and on CI server - This closes #112
Date Mon, 22 Feb 2016 10:13:42 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 04c05b148 -> 31d685f1e


Some STS tests fails locally and on CI server - This closes #112


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/31d685f1
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/31d685f1
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/31d685f1

Branch: refs/heads/master
Commit: 31d685f1ea2d0af72c0d4a0cbf99bd86e7e55f3a
Parents: 04c05b1
Author: Andrea Cosentino <ancosen@gmail.com>
Authored: Sat Feb 20 13:08:17 2016 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Feb 22 10:09:34 2016 +0000

----------------------------------------------------------------------
 .../cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java       | 4 ++--
 .../test/java/org/apache/cxf/systest/sts/jaas/JAASTest.java  | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/31d685f1/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java
----------------------------------------------------------------------
diff --git a/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java
b/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java
index d55f47a..cb6b6f9 100644
--- a/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java
+++ b/services/sts/systests/advanced/src/test/java/org/apache/cxf/systest/sts/basic_auth/JaxrsBasicAuthTest.java
@@ -66,13 +66,13 @@ public class JaxrsBasicAuthTest extends AbstractBusClientServerTestBase
{
         doubleIt("alice", "clarinet", false);
     }
     
-    @org.junit.Test
+    @org.junit.Test(expected = RuntimeException.class)
     public void testBadBasicAuth() throws Exception {
 
         doubleIt("alice", "trombon", true);
     }
     
-    @org.junit.Test
+    @org.junit.Test(expected = RuntimeException.class)
     public void testNoBasicAuth() throws Exception {
 
         doubleIt(null, null, true);

http://git-wip-us.apache.org/repos/asf/cxf/blob/31d685f1/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/jaas/JAASTest.java
----------------------------------------------------------------------
diff --git a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/jaas/JAASTest.java
b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/jaas/JAASTest.java
index 63421f6..80283f2 100644
--- a/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/jaas/JAASTest.java
+++ b/services/sts/systests/basic/src/test/java/org/apache/cxf/systest/sts/jaas/JAASTest.java
@@ -345,13 +345,13 @@ public class JAASTest extends AbstractBusClientServerTestBase {
         doubleIt("alice", "clarinet", address, false);
     }
     
-    @org.junit.Test
+    @org.junit.Test(expected = RuntimeException.class)
     public void testJAXRSUnsuccessfulAuthentication() throws Exception {
         final String address = "https://localhost:" + PORT + "/doubleit/services/doubleit-rs";
         doubleIt("alice", "clarinet2", address, true);
     }
     
-    @org.junit.Test
+    @org.junit.Test(expected = RuntimeException.class)
     public void testJAXRSUnsuccessfulAuthorization() throws Exception {
         final String address = "https://localhost:" + PORT + "/doubleit/services/doubleit-rs";
         doubleIt("bob", "trombone", address, true);
@@ -363,13 +363,13 @@ public class JAASTest extends AbstractBusClientServerTestBase {
         doubleIt("alice", "clarinet", address, false);
     }
     
-    @org.junit.Test
+    @org.junit.Test(expected = RuntimeException.class)
     public void testJAXRSUnsuccessfulAuthenticationPassthroughInvocation() throws Exception
{
         final String address = "https://localhost:" + PORT + "/doubleit/services/doubleit-rs3";
         doubleIt("alice", "clarinet2", address, true);
     }
     
-    @org.junit.Test
+    @org.junit.Test(expected = RuntimeException.class)
     public void testJAXRSUnsuccessfulAuthorizationPassthroughInvocation() throws Exception
{
         final String address = "https://localhost:" + PORT + "/doubleit/services/doubleit-rs3";
         doubleIt("bob", "trombone", address, true);


Mime
View raw message