站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.2 API 英文版文档

TestFileCommands - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.test.cms
Class TestFileCommands

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.jboss.portal.test.cms.TestFileCommands
All Implemented Interfaces:
junit.framework.Test

public class TestFileCommands
extends junit.framework.TestCase


Constructor Summary
TestFileCommands(java.lang.String testName)
           
 
Method Summary
protected  void setUp()
           
static junit.framework.Test suite()
           
 void tearDown()
           
 void testArchiveUpload()
           
 void testFileCopy()
           
 void testFileCreate()
           
 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

TestFileCommands

public TestFileCommands(java.lang.String testName)
Method Detail

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()