|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.axiom.testutils.suite.TestCaseEx
org.apache.axiom.ts.AxiomTestCase
org.apache.axiom.ts.om.DigestTestCase
public abstract class DigestTestCase
Base class for unit tests validating the DOMHASH implementation.
Note that the only DOMHASH implementation available for reference is IBM's XSS4J. Unfortunately,
XSS4J is no longer available for download, but it can still be found in WebSphere (see the
com.ibm.ws.wssecurity.xss4j.domutil.Digest
class).
Field Summary |
---|
Fields inherited from class org.apache.axiom.ts.AxiomTestCase |
---|
metaFactory, TEST_PARSER_CONFIGURATION |
Constructor Summary | |
---|---|
DigestTestCase(OMMetaFactory metaFactory,
String algorithm,
String expectedDigest)
|
Method Summary | |
---|---|
protected abstract OMInformationItem |
createInformationItem()
|
protected void |
runTest()
|
Methods inherited from class org.apache.axiom.ts.AxiomTestCase |
---|
assertConsumed, getChildrenCount, getNumberOfOccurrences |
Methods inherited from class org.apache.axiom.testutils.suite.TestCaseEx |
---|
addTestProperty, getTestProperties |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DigestTestCase(OMMetaFactory metaFactory, String algorithm, String expectedDigest)
Method Detail |
---|
protected final void runTest() throws Throwable
runTest
in class org.apache.axiom.testutils.suite.TestCaseEx
Throwable
protected abstract OMInformationItem createInformationItem() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |