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

PortletPreferencesTestCase - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.test.portlet
Class PortletPreferencesTestCase

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

public class PortletPreferencesTestCase
extends junit.framework.TestCase

Test portlet preferences implementation.


Constructor Summary
PortletPreferencesTestCase(java.lang.String key)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testIsReadOnly()
           
 void testMap()
           
 void testNullKeyThrowsIllegalArgumentException()
           
 void testNullWrite()
           
 void testRead()
           
 void testWrite()
           
 
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

PortletPreferencesTestCase

public PortletPreferencesTestCase(java.lang.String key)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testNullKeyThrowsIllegalArgumentException

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

testRead

public void testRead()

testWrite

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

testNullWrite

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

testIsReadOnly

public void testIsReadOnly()

testMap

public void testMap()