|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.junit.Assert
org.apache.ws.security.message.TimestampTest
public class TimestampTest
WS-Security Test Case for Timestamps.
| Constructor Summary | |
|---|---|
TimestampTest()
|
|
| Method Summary | |
|---|---|
void |
testCreatedSeconds()
This is a test for processing an Timestamp where it contains a Created element with seconds > 60. |
void |
testCreatedValueType()
This is a test for processing an Timestamp where it contains a Created element with a ValueType. |
void |
testCustomElement()
This is a test for processing an Timestamp where it contains a CustomElement. |
void |
testExpiredTimestamp()
This is a test for processing an expired Timestamp. |
void |
testExpiresBeforeCreated()
This is a test for processing an Timestamp where the "Created" element is greater than the expiration time. |
void |
testExpiresInFrontOfCreated()
This is a test for processing an Timestamp where it contains an "Expires" element before the Created element. |
void |
testFutureCreated()
This is a test for processing an Timestamp where the "Created" element is in the future. |
void |
testMultipleCreated()
This is a test for processing an Timestamp where it contains multiple "Created" elements. |
void |
testMultipleExpires()
This is a test for processing an Timestamp where it contains multiple "Expires" elements. |
void |
testMultipleTimestamps()
This is a test for processing multiple Timestamps in the security header |
void |
testNearFutureCreated()
This is a test for processing an Timestamp where the "Created" element is in the (near) future. |
void |
testNoCreated()
This is a test for processing an Timestamp where it contains no "Created" element. |
void |
testOldTimestamp()
This is a test for processing an "old" Timestamp, i.e. |
void |
testValidTimestamp()
This is a test for processing a valid Timestamp. |
void |
testValidTimestampNoExpires()
This is a test for processing a valid Timestamp with no expires element |
| 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 |
|---|
public TimestampTest()
| Method Detail |
|---|
public void testValidTimestamp()
throws java.lang.Exception
java.lang.Exception
public void testValidTimestampNoExpires()
throws java.lang.Exception
java.lang.Exception
public void testExpiredTimestamp()
throws java.lang.Exception
java.lang.Exception
public void testOldTimestamp()
throws java.lang.Exception
java.lang.Exception
public void testNearFutureCreated()
throws java.lang.Exception
java.lang.Exception
public void testFutureCreated()
throws java.lang.Exception
java.lang.Exception
public void testExpiresBeforeCreated()
throws java.lang.Exception
java.lang.Exception
public void testMultipleTimestamps()
throws java.lang.Exception
java.lang.Exception
public void testMultipleCreated()
throws java.lang.Exception
java.lang.Exception
public void testNoCreated()
throws java.lang.Exception
java.lang.Exception
public void testMultipleExpires()
throws java.lang.Exception
java.lang.Exception
public void testExpiresInFrontOfCreated()
throws java.lang.Exception
java.lang.Exception
public void testCreatedSeconds()
throws java.lang.Exception
java.lang.Exception
public void testCreatedValueType()
throws java.lang.Exception
java.lang.Exception
public void testCustomElement()
throws java.lang.Exception
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||