Summary

Tests Errors Failures Success Rate Time
74 0 0 100.00% 199.03

Note: failures are anticipated and checked for with assertions while errors are unanticipated.

Package List

Package Tests Errors Failures Success Rate Time
com.octo.captcha.engine.bufferedengine 23 0 0 100.00% 132.64
com.octo.captcha.engine.bufferedengine.buffer 38 0 0 100.00% 47.70
com.octo.captcha.engine.bufferedengine.manager 13 0 0 100.00% 18.69

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

com.octo.captcha.engine.bufferedengine

Class Tests Errors Failures Success Rate Time
ContainerConfigurationTest 6 0 0 100.00% 0.01
MockedBufferedEngineContainerTest 5 0 0 100.00% 0.00
QuartzBufferedEngineContainerTest 7 0 0 100.00% 120.22
SimpleBufferedEngineContainerTest 5 0 0 100.00% 12.41

com.octo.captcha.engine.bufferedengine.buffer

Class Tests Errors Failures Success Rate Time
DatabaseCaptchaBufferTest 12 0 0 100.00% 15.42
DiskCaptchaBufferTest 13 0 0 100.00% 20.12
MemoryCaptchaBufferTest 13 0 0 100.00% 12.16

com.octo.captcha.engine.bufferedengine.manager

Class Tests Errors Failures Success Rate Time
QuartzBufferedEngineManagerTest 13 0 0 100.00% 18.69

Test Cases

DatabaseCaptchaBufferTest

testRemoveCaptcha 1.98
testRemoveCaptchaint 1.80
testPutCaptchaCaptcha 0.05
testPutAllCaptchaCollection 1.74
testRemoveCaptchaLocale 0.05
testRemoveCaptchaintLocale 1.81
testPutCaptchaCaptchaLocale 0.05
testPutAllCaptchaCollectionLocale 1.94
testClear 1.78
testGetLocales 2.36
testIntegrity 1.83
testBufferGoesEmpty 0.05

DiskCaptchaBufferTest

testPesistant 2.27
testRemoveCaptcha 2.08
testRemoveCaptchaint 2.08
testPutCaptchaCaptcha 0.05
testPutAllCaptchaCollection 2.08
testRemoveCaptchaLocale 0.03
testRemoveCaptchaintLocale 2.14
testPutCaptchaCaptchaLocale 0.05
testPutAllCaptchaCollectionLocale 2.05
testClear 2.08
testGetLocales 3.20
testIntegrity 1.97
testBufferGoesEmpty 0.06

MemoryCaptchaBufferTest

testRemoveEmptyBuffer 0.39
testRemoveCaptcha 1.66
testRemoveCaptchaint 1.51
testPutCaptchaCaptcha 0.03
testPutAllCaptchaCollection 1.44
testRemoveCaptchaLocale 0.03
testRemoveCaptchaintLocale 1.41
testPutCaptchaCaptchaLocale 0.03
testPutAllCaptchaCollectionLocale 1.38
testClear 1.38
testGetLocales 1.39
testIntegrity 1.47
testBufferGoesEmpty 0.03

ContainerConfigurationTest

testSetFeedSize 0.00
testSetLocaleRatio 0.00
testServeOnlyConfiguredLocales 0.00
testSetMaxPersistentMemorySize 0.00
testSetMaxVolatileMemorySize 0.00
testSetSwapSize 0.00

QuartzBufferedEngineManagerTest

testSetFeedSize 0.02
testSetLocaleRatio 0.01
testSetMaxPersistentMemorySize 0.02
testSetMaxVolatileMemorySize 0.00
testSetSwapSize 0.03
testStartStopToFeedPersistentBuffer 10.50
testStartStopToSwapFromPersistentToVolatileMemory 8.02
testSetFeedCronExpr 0.02
testSetSwapCronExpr 0.01
testPauseResume 0.00
testRemoveLocaleRatio 0.02
testClearVolatileBuffer 0.01
testClearPersistentBuffer 0.02

MockedBufferedEngineContainerTest

testFeedAndSwap 0.00
testGetNextCaptcha 0.00
testGetNextCaptchaLocale 0.00
testSwapCaptchasFromPersistentToVolatileMemory 0.00
testFeedPersistentBuffer 0.00

QuartzBufferedEngineContainerTest

testBasic 10.11
testMockFillingDisk 100.02
testNoBufferdedCaptcha 10.03
testGetNextCaptcha 0.01
testGetNextCaptchaLocale 0.02
testSwapCaptchasFromPersistentToVolatileMemory 0.02
testFeedPersistentBuffer 0.01

SimpleBufferedEngineContainerTest

testExecute 12.34
testGetNextCaptcha 0.01
testGetNextCaptchaLocale 0.02
testSwapCaptchasFromPersistentToVolatileMemory 0.02
testFeedPersistentBuffer 0.00