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