|
||||||||||
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.jboss.portal.test.cms.AbstractCMSTestCase
org.jboss.portal.test.cms.commands.TestFileCommands
Constructor Summary | |
TestFileCommands(DataSourceSupport.Config dsCfg)
|
Method Summary | |
void |
setUp()
|
static junit.framework.TestSuite |
suite()
|
void |
tearDown()
|
void |
testArchiveUpload()
|
void |
testFileCopy()
|
void |
testFileCreate()
|
void |
testFileCreateFailed()
|
void |
testFileDelete()
|
void |
testFileGet()
Tests retrieval of the version labeled LIVE. |
void |
testFileGetVersion()
Tests retrieval of a specific version by version number. |
void |
testFileList()
Tests retrieving a list of contents under a file and the versions for contents. |
void |
testFileUpdate()
Tests updating a file and its content. |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TestFileCommands(DataSourceSupport.Config dsCfg)
Method Detail |
public static junit.framework.TestSuite suite() throws java.lang.Exception
java.lang.Exception
public void setUp() throws java.lang.Exception
setUp
in class AbstractCMSTestCase
java.lang.Exception
public void tearDown() throws java.lang.Exception
tearDown
in class AbstractCMSTestCase
java.lang.Exception
public void testFileDelete() throws java.lang.Exception
java.lang.Exception
public void testFileCreate() throws java.lang.Exception
java.lang.Exception
public void testFileGet() throws CMSException
CMSException
public void testFileUpdate() throws java.lang.Exception
java.lang.Exception
public void testFileGetVersion() throws CMSException
CMSException
public void testFileList() throws CMSException
CMSException
public void testFileCopy() throws CMSException
CMSException
public void testArchiveUpload() throws CMSException, java.io.IOException
CMSException
java.io.IOException
public void testFileCreateFailed() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |