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

PreferencesSpecTestCase - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.test.portlet.preferences.spec
Class PreferencesSpecTestCase

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

public class PreferencesSpecTestCase
extends AbstractTestCase


Constructor Summary
PreferencesSpecTestCase(java.lang.String name)
           
 
Method Summary
 void testCanModifyNonReadOnlyPreference()
          PLT.14.1 XCIX
 void testChangesMadeButNotStoredAreDiscarded()
          PLT.14.1 XCVI
 void testCreateASingleInstanceOfValidator()
          PLT.14.1 CI PLT.14.1 CII
 void testDynamicPreferenceTreatedLikeModifiablePreference()
          PLT.14.1 C
 void testInvalidationCancelsStore()
          PLT.14.1 CIV
 void testInvokeValidatorValidateBeforeWritingChanges()
          PLT.14.1 CIII
 void testPortletPreferencesObjectMustReflectCurrentValuesOfThePersistentStore()
          PLT.14.1 XCVIII
 void testPreferencesCanBeSetToNull()
          PLT.14.1 XC
 void testPreferencesMapModificationDoesNotModifyPreferencesValues()
          PLT.14.1 XCI
 void testReadOnlyPreferenceCannotBeModified()
          PLT.14.1 XCIII
 void testResetPreferenceHavingNoDefaultValueDeletesIt()
          PLT.14.1 XCII
 void testStoreCalledDuringRenderThrowsIllegalArgumentException()
          PLT.14.1 XCVII
 void testStoreMethodMustBeAtomic()
          PLT.14.1 XCV
 void testStoreMustPersistAllChanges()
          PLT.14.1 XCIV
 void testValidationStores()
          PLT.14.1 CV
 
Methods inherited from class org.jboss.portal.junit.AbstractTestCase
check, createSession, doGet, getClient, getHost, getRMIAdaptor, setUp, start, start, tearDown
 
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

PreferencesSpecTestCase

public PreferencesSpecTestCase(java.lang.String name)
Method Detail

testPreferencesCanBeSetToNull

public void testPreferencesCanBeSetToNull()
                                   throws java.lang.Throwable
PLT.14.1 XC

Throws:
java.lang.Throwable

testPreferencesMapModificationDoesNotModifyPreferencesValues

public void testPreferencesMapModificationDoesNotModifyPreferencesValues()
                                                                  throws java.lang.Throwable
PLT.14.1 XCI

Throws:
java.lang.Throwable

testResetPreferenceHavingNoDefaultValueDeletesIt

public void testResetPreferenceHavingNoDefaultValueDeletesIt()
                                                      throws java.lang.Throwable
PLT.14.1 XCII

Throws:
java.lang.Throwable

testReadOnlyPreferenceCannotBeModified

public void testReadOnlyPreferenceCannotBeModified()
                                            throws java.lang.Throwable
PLT.14.1 XCIII

Throws:
java.lang.Throwable

testStoreMustPersistAllChanges

public void testStoreMustPersistAllChanges()
                                    throws java.lang.Throwable
PLT.14.1 XCIV

Throws:
java.lang.Throwable

testStoreMethodMustBeAtomic

public void testStoreMethodMustBeAtomic()
PLT.14.1 XCV


testChangesMadeButNotStoredAreDiscarded

public void testChangesMadeButNotStoredAreDiscarded()
                                             throws java.lang.Throwable
PLT.14.1 XCVI

Throws:
java.lang.Throwable

testStoreCalledDuringRenderThrowsIllegalArgumentException

public void testStoreCalledDuringRenderThrowsIllegalArgumentException()
                                                               throws java.lang.Throwable
PLT.14.1 XCVII

Throws:
java.lang.Throwable

testPortletPreferencesObjectMustReflectCurrentValuesOfThePersistentStore

public void testPortletPreferencesObjectMustReflectCurrentValuesOfThePersistentStore()
                                                                              throws java.lang.Throwable
PLT.14.1 XCVIII

Throws:
java.lang.Throwable

testCanModifyNonReadOnlyPreference

public void testCanModifyNonReadOnlyPreference()
                                        throws java.lang.Throwable
PLT.14.1 XCIX

Throws:
java.lang.Throwable

testDynamicPreferenceTreatedLikeModifiablePreference

public void testDynamicPreferenceTreatedLikeModifiablePreference()
                                                          throws java.lang.Throwable
PLT.14.1 C

Throws:
java.lang.Throwable

testCreateASingleInstanceOfValidator

public void testCreateASingleInstanceOfValidator()
                                          throws java.lang.Throwable
PLT.14.1 CI PLT.14.1 CII

Throws:
java.lang.Throwable

testInvokeValidatorValidateBeforeWritingChanges

public void testInvokeValidatorValidateBeforeWritingChanges()
PLT.14.1 CIII


testInvalidationCancelsStore

public void testInvalidationCancelsStore()
                                  throws java.lang.Throwable
PLT.14.1 CIV

Throws:
java.lang.Throwable

testValidationStores

public void testValidationStores()
                          throws java.lang.Throwable
PLT.14.1 CV

Throws:
java.lang.Throwable