当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
PortletPreferencesTestCase - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.test.portlet
Class PortletPreferencesTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jboss.portal.test.portlet.PortletPreferencesTestCase
- All Implemented Interfaces:
- junit.framework.Test
- public class PortletPreferencesTestCase
- extends junit.framework.TestCase
Test portlet preferences implementation.
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 |
PortletPreferencesTestCase
public PortletPreferencesTestCase(java.lang.String key)
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()