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

TestFolderCommands - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.test.cms.commands
Class TestFolderCommands

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

public class TestFolderCommands
extends AbstractCMSTestCase


Constructor Summary
TestFolderCommands(DataSourceSupport.Config dsCfg)
           
 
Method Summary
 void createFolder()
           
 void setUp()
           
static junit.framework.TestSuite suite()
           
 void tearDown()
           
 void testFolderCopy()
          Copy test data from repo
 void testFolderCreate()
           
 void testFolderDelete()
          Deleted test data from repo, and also tests delete cmd.
 void testFolderGet()
           
 void testFolderUpdate()
           
 
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

TestFolderCommands

public TestFolderCommands(DataSourceSupport.Config dsCfg)
Method Detail

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

suite

public static junit.framework.TestSuite suite()
                                       throws java.lang.Exception
Throws:
java.lang.Exception

testFolderDelete

public void testFolderDelete()
                      throws java.lang.Exception
Deleted test data from repo, and also tests delete cmd.

Throws:
java.lang.Exception

testFolderCopy

public void testFolderCopy()
                    throws CMSException
Copy test data from repo

Throws:
CMSException

testFolderCreate

public void testFolderCreate()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testFolderGet

public void testFolderGet()
                   throws CMSException
Throws:
CMSException

testFolderUpdate

public void testFolderUpdate()
                      throws java.lang.Exception
Throws:
java.lang.Exception

createFolder

public void createFolder()
                  throws CMSException
Throws:
CMSException