Class DefaultCouponCodeCipherTextGenerationStrategyUnitTest
- java.lang.Object
-
- de.hybris.platform.couponservices.couponcodegeneration.impl.DefaultCouponCodeCipherTextGenerationStrategyUnitTest
-
@UnitTest public class DefaultCouponCodeCipherTextGenerationStrategyUnitTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultCouponCodeCipherTextGenerationStrategyUnitTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.StringdoTestForGivenLength(MultiCodeCouponModel coupon, java.lang.String clearText, int length)voidsetUp()voidtestCodeForLength12()voidtestCodeForLength16()voidtestCodeForLength2()voidtestCodeForLength20()voidtestCodeForLength24()voidtestCodeForLength28()voidtestCodeForLength32()voidtestCodeForLength4()voidtestCodeForLength6()voidtestCodeForLength8()voidtestWithDifferentAlphabet()voidtestWithDifferentClearTexts()voidtestWithDifferentSignatures()voidtestWrongInputLengths()
-
-
-
Method Detail
-
setUp
public void setUp() throws java.lang.Exception- Throws:
java.lang.Exception
-
testWrongInputLengths
public void testWrongInputLengths()
-
testCodeForLength2
public void testCodeForLength2()
-
testCodeForLength4
public void testCodeForLength4()
-
testCodeForLength6
public void testCodeForLength6()
-
testCodeForLength8
public void testCodeForLength8()
-
testCodeForLength12
public void testCodeForLength12()
-
testCodeForLength16
public void testCodeForLength16()
-
testCodeForLength20
public void testCodeForLength20()
-
testCodeForLength24
public void testCodeForLength24()
-
testCodeForLength28
public void testCodeForLength28()
-
testCodeForLength32
public void testCodeForLength32()
-
doTestForGivenLength
protected java.lang.String doTestForGivenLength(MultiCodeCouponModel coupon, java.lang.String clearText, int length)
-
testWithDifferentAlphabet
public void testWithDifferentAlphabet()
-
testWithDifferentSignatures
public void testWithDifferentSignatures()
-
testWithDifferentClearTexts
public void testWithDifferentClearTexts()
-
-