Package ninja.session
Class FlashScopeTest
- java.lang.Object
-
- ninja.session.FlashScopeTest
-
public class FlashScopeTest extends Object
-
-
Constructor Summary
Constructors Constructor Description FlashScopeTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
removeClearsBothCurrentAndOutgoing()
void
setUp()
void
testFlashCookieSettingWorks()
void
testFlashScopeDoesNothingWhenFlashCookieEmpty()
void
testThatCookieUsesContextPath()
void
testThatCorrectMethodOfNinjaPropertiesIsUsedSoThatStuffBreaksWhenPropertyIsAbsent()
void
testThatFlashCookieClearOfOutgoingWorks()
void
testThatFlashCookieClearWorks()
void
testThatFlashCookieKeepWorks()
void
testThatFlashCookieWorksAndIsActiveOnlyOneTime()
-
-
-
Method Detail
-
setUp
public final void setUp()
-
testFlashScopeDoesNothingWhenFlashCookieEmpty
public void testFlashScopeDoesNothingWhenFlashCookieEmpty()
-
testFlashCookieSettingWorks
public void testFlashCookieSettingWorks()
-
testThatFlashCookieWorksAndIsActiveOnlyOneTime
public void testThatFlashCookieWorksAndIsActiveOnlyOneTime()
-
testThatFlashCookieClearWorks
public void testThatFlashCookieClearWorks()
-
testThatFlashCookieClearOfOutgoingWorks
public void testThatFlashCookieClearOfOutgoingWorks()
-
testThatFlashCookieKeepWorks
public void testThatFlashCookieKeepWorks()
-
testThatCorrectMethodOfNinjaPropertiesIsUsedSoThatStuffBreaksWhenPropertyIsAbsent
public void testThatCorrectMethodOfNinjaPropertiesIsUsedSoThatStuffBreaksWhenPropertyIsAbsent()
-
testThatCookieUsesContextPath
public void testThatCookieUsesContextPath()
-
removeClearsBothCurrentAndOutgoing
public void removeClearsBothCurrentAndOutgoing()
-
-