com.octo.captcha.service.captchastore
Class CaptchaStoreTestAbstract

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.octo.captcha.service.captchastore.CaptchaStoreTestAbstract
All Implemented Interfaces:
junit.framework.Test

public abstract class CaptchaStoreTestAbstract
extends junit.framework.TestCase

Version:
1.0
Author:
Marc-Antoine Garrigue

Field Summary
static int SIZE
           
protected  CaptchaStore store
           
 
Constructor Summary
CaptchaStoreTestAbstract()
           
 
Method Summary
abstract  CaptchaStore getStore()
           
protected  void setUp()
           
protected  void tearDown()
           
 void testEmpty()
           
 void testGetCaptcha()
           
 void testGetKeys()
           
 void testGetSize()
           
 void testHasCaptcha()
           
 void testRemoveCaptcha()
           
 void testStoreCaptcha()
           
 void testStoreCaptchaAndLocale()
           
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

store

protected CaptchaStore store

SIZE

public static final int SIZE
See Also:
Constant Field Values
Constructor Detail

CaptchaStoreTestAbstract

public CaptchaStoreTestAbstract()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
Overrides:
tearDown in class junit.framework.TestCase

getStore

public abstract CaptchaStore getStore()

testHasCaptcha

public void testHasCaptcha()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testStoreCaptcha

public void testStoreCaptcha()
                      throws java.lang.Exception
Throws:
java.lang.Exception

testStoreCaptchaAndLocale

public void testStoreCaptchaAndLocale()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testRemoveCaptcha

public void testRemoveCaptcha()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testGetSize

public void testGetSize()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testGetKeys

public void testGetKeys()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testGetCaptcha

public void testGetCaptcha()
                    throws java.lang.Exception
Throws:
java.lang.Exception

testEmpty

public void testEmpty()
               throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2003-2011 JCaptcha corp.. All Rights Reserved.