Package ninja.utils
Class NinjaModeHelperTest
- java.lang.Object
-
- ninja.utils.NinjaModeHelperTest
-
public class NinjaModeHelperTest extends Object
CookieDataCodec and CookieDataCodecTest are imported from Play Framework. Enables us to use the same sessions as Play Framework if the secret is the same. Also really important because we want to make sure that our client side session mechanism is widely used and stable. We don't want to reinvent the wheel of securely encoding / decoding and signing cookie data. All praise goes to Play Framework and their awesome work.
-
-
Constructor Summary
Constructors Constructor Description NinjaModeHelperTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testNinjaModeHelperWorksWithDevSet()
void
testNinjaModeHelperWorksWithNoModeSet()
void
testNinjaModeHelperWorksWithProdSet()
void
testNinjaModeHelperWorksWithTestSet()
-
-
-
Method Detail
-
testNinjaModeHelperWorksWithNoModeSet
public void testNinjaModeHelperWorksWithNoModeSet()
-
testNinjaModeHelperWorksWithTestSet
public void testNinjaModeHelperWorksWithTestSet()
-
testNinjaModeHelperWorksWithDevSet
public void testNinjaModeHelperWorksWithDevSet()
-
testNinjaModeHelperWorksWithProdSet
public void testNinjaModeHelperWorksWithProdSet()
-
-