当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
TestFileCommands - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.test.cms.commands
Class TestFileCommands
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jboss.portal.test.cms.AbstractCMSTestCase
org.jboss.portal.test.cms.commands.TestFileCommands
- All Implemented Interfaces:
- junit.framework.Test
- public class TestFileCommands
- extends AbstractCMSTestCase
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 |
TestFileCommands
public TestFileCommands(DataSourceSupport.Config dsCfg)
suite
public static junit.framework.TestSuite suite()
throws java.lang.Exception
- Throws:
java.lang.Exception
setUp
public void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class AbstractCMSTestCase
- Throws:
java.lang.Exception
tearDown
public void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class AbstractCMSTestCase
- Throws:
java.lang.Exception
testFileDelete
public void testFileDelete()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFileCreate
public void testFileCreate()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFileGet
public void testFileGet()
throws CMSException
- Tests retrieval of the version labeled LIVE.
- Throws:
CMSException
testFileUpdate
public void testFileUpdate()
throws java.lang.Exception
- Tests updating a file and its content.
- Throws:
java.lang.Exception
testFileGetVersion
public void testFileGetVersion()
throws CMSException
- Tests retrieval of a specific version by version number.
- Throws:
CMSException
testFileList
public void testFileList()
throws CMSException
- Tests retrieving a list of contents under a file and the versions for contents.
- Throws:
CMSException
testFileCopy
public void testFileCopy()
throws CMSException
- Throws:
CMSException
testArchiveUpload
public void testArchiveUpload()
throws CMSException,
java.io.IOException
- Throws:
CMSException
java.io.IOException
testFileCreateFailed
public void testFileCreateFailed()
throws java.lang.Exception
- Throws:
java.lang.Exception