|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.ourgrid.common.security.KeyToolWrapperTest
public class KeyToolWrapperTest
This class implemetns the test of KeyToolWrapper.
Constructor Summary | |
---|---|
KeyToolWrapperTest(java.lang.String s)
This method constructs a new instance of this TestCase. |
Method Summary | |
---|---|
static void |
main(java.lang.String[] args)
The main method to bring the test runner up. |
protected void |
setUp()
|
protected void |
tearDown()
|
void |
testGenerateKeyNegativeSize()
This method test the Key Generation functionality passing a validity equals to zero and a negative keysize |
void |
testGenerateKeyNegativeValidity()
This method test the Key Generation functionality passing a negative validity |
void |
testGenerateKeyOverSize()
This method test the Key Generation functionality passing a validity equals to zero and a oversized unsupported keysize |
void |
testGenerateKeyRandomSize()
This method test the Key Generation functionality passing a random keysize |
void |
testGenerateKeyZeroValidity()
This method test the Key Generation functionality passing a validity equals to zero |
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 |
Methods inherited from interface junit.framework.Test |
---|
countTestCases, run |
Constructor Detail |
---|
public KeyToolWrapperTest(java.lang.String s)
s
- The name of the TestCase class.Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
protected void tearDown() throws java.lang.Exception
tearDown
in class junit.framework.TestCase
java.lang.Exception
public void testGenerateKeyNegativeValidity()
public void testGenerateKeyZeroValidity()
public void testGenerateKeyOverSize()
public void testGenerateKeyNegativeSize()
public void testGenerateKeyRandomSize()
public static void main(java.lang.String[] args)
args
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |