org.apache.ws.security.handler
Class ResultsOrderTest

java.lang.Object
  extended by org.junit.Assert
      extended by org.apache.ws.security.handler.ResultsOrderTest

public class ResultsOrderTest
extends org.junit.Assert

This is a test for WSS-147. A "checkReceiverResultsAnyOrder" method is added to WSHandler which applications can use if they want.


Constructor Summary
ResultsOrderTest()
           
 
Method Summary
 void testMissingAction()
           
 void testMissingResult()
           
 void testMixedOrder()
           
 void testMixedOrder2()
           
 void testMultipleIdenticalResults()
           
 void testNoAction()
           
 void testNoResult()
           
 void testOrder()
           
 void testReverseOrder()
           
 
Methods inherited from class org.junit.Assert
assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertArrayEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertThat, assertThat, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultsOrderTest

public ResultsOrderTest()
Method Detail

testOrder

public void testOrder()
               throws java.lang.Exception
Throws:
java.lang.Exception

testReverseOrder

public void testReverseOrder()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testMixedOrder

public void testMixedOrder()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testMixedOrder2

public void testMixedOrder2()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testMissingResult

public void testMissingResult()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testMissingAction

public void testMissingAction()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testNoResult

public void testNoResult()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testNoAction

public void testNoAction()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testMultipleIdenticalResults

public void testMultipleIdenticalResults()
                                  throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.