|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.acegisecurity.captcha.AlwaysTestAfterTimeInMillisCaptchaChannelProcessorTests
public class AlwaysTestAfterTimeInMillisCaptchaChannelProcessorTests
WARNING! This test class make some assumptions concerning the compute speed! For example the two following instructions should be computed in the same millis or the test is not valid.
context.setHuman();
assertFalse(alwaysTestAfterTimeInMillisCaptchaChannelProcessor.isContextValidConcerningHumanity(context));
This should be the case for most environements unless
| Constructor Summary | |
|---|---|
AlwaysTestAfterTimeInMillisCaptchaChannelProcessorTests()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
void |
testEqualsThresold()
|
void |
testNewContext()
|
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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 |
|---|
public AlwaysTestAfterTimeInMillisCaptchaChannelProcessorTests()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionpublic void testEqualsThresold()
public void testNewContext()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||