|
||||||||||
| 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.custommonkey.xmlunit.XMLTestCase
org.fcrepo.test.FedoraTestCase
org.fcrepo.test.FedoraServerTestCase
org.fcrepo.test.api.TestAPIM
public class TestAPIM
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.fcrepo.common.Constants |
|---|
Constants.FedoraHome |
| Field Summary | |
|---|---|
static byte[] |
changeme1FOXMLObjectXML
|
static byte[] |
changeme2METSObjectXML
|
static byte[] |
demo1000ATOMObjectXML
|
static byte[] |
demo1001_relsext
|
static byte[] |
demo1001ATOMZip
|
static byte[] |
demo997FOXML10ObjectXML
|
static byte[] |
demo998FOXMLObjectXML
|
static byte[] |
demo999bMETS10ObjectXML
|
static byte[] |
demo999METSObjectXML
|
static byte[] |
dsXML
|
| Fields inherited from class org.fcrepo.test.FedoraTestCase |
|---|
ssl |
| Fields inherited from interface org.fcrepo.common.FedoraTestConstants |
|---|
BESECURITY, DEMO_DIR_PREFIX, FCFG, FEDORA_HOME_CLIENT, FEDORA_HOME_CLIENT_BIN, FEDORA_HOME_SERVER, FEDORA_HOME_SERVER_CONFIG, FEDORA_PASSWORD, FEDORA_USERNAME, NS_FCFG, NS_FEDORA_TYPES, NS_FEDORA_TYPES_PREFIX |
| Fields inherited from interface org.custommonkey.xmlunit.XSLTConstants |
|---|
JAVA5_XSLTC_FACTORY_NAME, XSLT_END, XSLT_IDENTITY_TEMPLATE, XSLT_START, XSLT_START_NO_VERSION, XSLT_STRIP_COMMENTS_TEMPLATE, XSLT_STRIP_WHITESPACE, XSLT_XML_OUTPUT_NOINDENT |
| Fields inherited from interface org.custommonkey.xmlunit.XMLConstants |
|---|
CLOSE_NODE, END_CDATA, END_COMMENT, END_PROCESSING_INSTRUCTION, OPEN_END_NODE, OPEN_START_NODE, START_CDATA, START_COMMENT, START_DOCTYPE, START_PROCESSING_INSTRUCTION, W3C_XML_SCHEMA_INSTANCE_NO_NAMESPACE_SCHEMA_LOCATION_ATTR, W3C_XML_SCHEMA_INSTANCE_NS_URI, W3C_XML_SCHEMA_INSTANCE_SCHEMA_LOCATION_ATTR, W3C_XML_SCHEMA_NS_URI, XML_DECLARATION, XMLNS_PREFIX, XPATH_ATTRIBUTE_IDENTIFIER, XPATH_CHARACTER_NODE_IDENTIFIER, XPATH_COMMENT_IDENTIFIER, XPATH_NODE_INDEX_END, XPATH_NODE_INDEX_START, XPATH_PROCESSING_INSTRUCTION_IDENTIFIER, XPATH_SEPARATOR |
| Constructor Summary | |
|---|---|
TestAPIM()
|
|
| Method Summary | |
|---|---|
void |
compareDatastreamChecksum()
|
static void |
main(String[] args)
|
void |
setUp()
|
static junit.framework.Test |
suite()
|
void |
tearDown()
|
void |
testAddDatastream()
Until the various datastream tests are not interdependent, they must be executed as a single test |
void |
testGetDatastream()
|
void |
testGetDatastreamHistory()
|
void |
testGetDatastreams()
|
void |
testGetNextPID()
|
void |
testGetObjectXML()
|
void |
testLegacyDOFormats()
|
void |
testModifyDatastreamByReference()
|
void |
testModifyDatastreamByValue()
|
void |
testObjectMethods()
|
void |
testPurgeDatastream()
|
void |
testSetDatastreamState()
|
void |
testSetDatastreamVersionable()
|
void |
testValidate()
|
| Methods inherited from class org.fcrepo.test.FedoraServerTestCase |
|---|
getDemoObjects, getXMLQueryResult, getXMLQueryResult, ingestDemoObjects, ingestDemoObjects, ingestDemoObjects, ingestDemoObjects, purgeDemoObjects, purgeDemoObjects, testingAtom, testingAtomZip, testingMETS |
| Methods inherited from class org.fcrepo.test.FedoraTestCase |
|---|
getBaseURL, getDemoAppServerContext, getDemoBaseURL, getFedoraAppServerContext, getFedoraClient, getFedoraClient, getHost, getPassword, getPort, getProtocol, getServerConfiguration, getUsername |
| Methods inherited from class org.custommonkey.xmlunit.XMLTestCase |
|---|
assertNodeTestPasses, assertNodeTestPasses, assertNodeTestPasses, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLEqual, assertXMLIdentical, assertXMLIdentical, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLNotEqual, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXMLValid, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathEvaluatesTo, assertXpathExists, assertXpathExists, assertXpathExists, assertXpathNotExists, assertXpathNotExists, assertXpathNotExists, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathsNotEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, assertXpathValuesNotEqual, compareXML, compareXML, compareXML, compareXML, compareXML, compareXML |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
| Field Detail |
|---|
public static byte[] dsXML
public static byte[] demo997FOXML10ObjectXML
public static byte[] demo998FOXMLObjectXML
public static byte[] demo999METSObjectXML
public static byte[] demo999bMETS10ObjectXML
public static byte[] demo1000ATOMObjectXML
public static byte[] demo1001ATOMZip
public static byte[] demo1001_relsext
public static byte[] changeme1FOXMLObjectXML
public static byte[] changeme2METSObjectXML
| Constructor Detail |
|---|
public TestAPIM()
| Method Detail |
|---|
public static junit.framework.Test suite()
public void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionpublic void tearDown()
tearDown in class junit.framework.TestCase
public void testGetObjectXML()
throws Exception
Exception
public void testObjectMethods()
throws Exception
Exception
public void testAddDatastream()
throws Exception
Exception
public void testModifyDatastreamByReference()
throws Exception
Exception
public void testModifyDatastreamByValue()
throws Exception
Exception
public void compareDatastreamChecksum()
throws Exception
Exception
public void testPurgeDatastream()
throws Exception
Exception
public void testGetDatastream()
throws Exception
Exception
public void testGetDatastreams()
throws Exception
Exception
public void testGetDatastreamHistory()
throws Exception
Exception
public void testSetDatastreamState()
throws Exception
Exception
public void testSetDatastreamVersionable()
throws Exception
Exception
public void testGetNextPID()
throws Exception
Exception
public void testLegacyDOFormats()
throws Exception
Exception
public void testValidate()
throws Exception
Exceptionpublic static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||