|
||||||||
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.opencms.test.OpenCmsTestCase
org.opencms.xml.page.TestCmsXmlPage
public class TestCmsXmlPage
Tests for the XML page that doesn't require a running OpenCms system.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.opencms.test.OpenCmsTestCase |
---|
OpenCmsTestCase.ConnectionData |
Field Summary |
---|
Fields inherited from class org.opencms.test.OpenCmsTestCase |
---|
ARTICLE_TYPEID, DB_MYSQL, DB_ORACLE, m_additionalConnection, m_configuration, m_currentResourceStrorage, m_defaultConnection, m_defaultTablespace, m_indexTablespace, m_resourceStorages, m_setupConnection, m_tempTablespace |
Constructor Summary | |
---|---|
TestCmsXmlPage(String arg0)
Default JUnit constructor. |
Method Summary | |
---|---|
static junit.framework.Test |
suite()
Test suite for this test class. |
void |
testUpdateXmlPageLink()
Tests reading and updating link elements from the XML page. |
void |
testValidateXmlPageWithSchema()
Test validating a XML page with the XML page schema. |
void |
testXmlPageAsXmlContentDefinition()
Tests using a XML page with a XML content definition. |
void |
testXmlPageCreateMinimal()
Tests creating a XMl page (final version) with the API. |
void |
testXmlPageElementNames()
Tests accessing element names in the XML page. |
void |
testXmlPageLocaleAccess()
Tests acessing XML page values via locales. |
void |
testXmlPageLocaleCopyMoveRemove()
Tests copying, moving and removing locales from a XML page. |
void |
testXmlPageReadFinalVersion()
Tests reading elements from the updated, final version of the XML page. |
void |
testXmlPageReadOldVersion()
Tests reading elements from the "old", pre 5.5.0 version of the XML page. |
void |
testXmlPageRenameElement()
Tests accessing element names in the XML page. |
void |
testXmlPageWriteFinalVersion()
Tests writing elements to the updated, final version of the XML page. |
void |
testXmlPageWriteOldVersion()
Tests writing elements to the "old", pre 5.5.0 version of the XML page. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TestCmsXmlPage(String arg0)
arg0
- JUnit parametersMethod Detail |
---|
public static junit.framework.Test suite()
public void testUpdateXmlPageLink() throws Exception
Exception
- in case something goes wrongpublic void testValidateXmlPageWithSchema() throws Exception
Exception
- in case something goes wrongpublic void testXmlPageAsXmlContentDefinition() throws Exception
Exception
- in case something goes wrongpublic void testXmlPageCreateMinimal() throws Exception
Exception
- in case something goes wrongpublic void testXmlPageElementNames() throws Exception
Exception
- in case something goes wrongpublic void testXmlPageLocaleAccess() throws Exception
Exception
- in case something goes wrongpublic void testXmlPageLocaleCopyMoveRemove() throws Exception
Exception
- in case something goes wrongpublic void testXmlPageReadFinalVersion() throws Exception
Exception
- in case something goes wrongpublic void testXmlPageReadOldVersion() throws Exception
Exception
- in case something goes wrongpublic void testXmlPageRenameElement() throws Exception
Exception
- in case something goes wrongpublic void testXmlPageWriteFinalVersion() throws Exception
Exception
- in case something goes wrongpublic void testXmlPageWriteOldVersion() throws Exception
Exception
- in case something goes wrong
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |