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

TestFileUpdate - JBOSS Portal 2.6 API 英文版文档


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

java.lang.Object
  extended byTestCase
      extended byorg.jboss.portal.test.cms.AbstractCMSTestCase
          extended byorg.jboss.portal.test.cms.commands.AbstractCommandTestCase
              extended byorg.jboss.portal.test.cms.commands.TestFileUpdate

public class TestFileUpdate
extends AbstractCommandTestCase

Author:
Roy Russo, Thomas Heute, Sohil Shah
See Also:
Serialized Form

Field Summary
(package private)  java.lang.String sCopyToFilePath
           
(package private)  java.lang.String sFilePath
           
(package private)  java.lang.String sJPG
           
(package private)  java.lang.String sText
           
(package private)  java.lang.String sZipFile
           
(package private)  java.lang.String sZipPath
           
 
Fields inherited from class org.jboss.portal.test.cms.commands.AbstractCommandTestCase
service
 
Fields inherited from class org.jboss.portal.test.cms.AbstractCMSTestCase
 
Constructor Summary
TestFileUpdate(java.util.Map parametrization)
           
 
Method Summary
private  void createFile()
           
static TestSuite suite()
           
 void testFileUpdate()
          Tests updating a file and its content.
 
Methods inherited from class org.jboss.portal.test.cms.commands.AbstractCommandTestCase
setUp, tearDown
 
Methods inherited from class org.jboss.portal.test.cms.AbstractCMSTestCase
createTestSuite
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sFilePath

java.lang.String sFilePath

sCopyToFilePath

java.lang.String sCopyToFilePath

sZipPath

java.lang.String sZipPath

sZipFile

java.lang.String sZipFile

sJPG

java.lang.String sJPG

sText

java.lang.String sText
Constructor Detail

TestFileUpdate

public TestFileUpdate(java.util.Map parametrization)
Method Detail

suite

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

testFileUpdate

public void testFileUpdate()
                    throws java.lang.Exception
Tests updating a file and its content.

Throws:
java.lang.Exception

createFile

private void createFile()
                 throws CMSException
Throws:
CMSException