Summary

Tests Errors Failures Skipped Success Rate Time
26 0 1 0 96.154% 121.233

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

Package List

Package Tests Errors Failures Skipped Success Rate Time
org.apache.commons.monitoring.listener 2 0 0 0 100% 0.14
org.apache.commons.monitoring.reporting 10 0 0 0 100% 0.812
org.apache.commons.monitoring 6 0 1 0 83.333% 120.079
org.apache.commons.monitoring.impl 8 0 0 0 100% 0.202

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

org.apache.commons.monitoring.listener

Class Tests Errors Failures Skipped Success Rate Time
SecondaryReposioryTest 1 0 0 0 100% 0.125
ThresholdListenerTest 1 0 0 0 100% 0.015

org.apache.commons.monitoring.reporting

Class Tests Errors Failures Skipped Success Rate Time
RendererTest 6 0 0 0 100% 0.656
SelectorTest 4 0 0 0 100% 0.156

org.apache.commons.monitoring

Class Tests Errors Failures Skipped Success Rate Time
ExecutionStackTest 1 0 0 0 100% 0.032
MonitoringTest 2 0 1 0 50% 120.047
StopWatchTest 2 0 0 0 100% 0
UnitTest 1 0 0 0 100% 0

org.apache.commons.monitoring.impl

Class Tests Errors Failures Skipped Success Rate Time
CompositeValuesMonitorTest 3 0 0 0 100% 0.062
DefaultRepositoryTest 2 0 0 0 100% 0.094
ThreadSafeCounterTest 1 0 0 0 100% 0.015
ThreadSafeGaugeTest 2 0 0 0 100% 0.031

Test Cases

ExecutionStackTest

testExecutionStopWatch 0.016

CompositeValuesMonitorTest

testReset 0
testCompositeCounter 0.016
testCompositeGauge 0.031

DefaultRepositoryTest

testCategories 0.062
testSubsystem 0

ThreadSafeCounterTest

testValue 0.015

ThreadSafeGaugeTest

testValue 0
testCompteMean 0.016

SecondaryReposioryTest

testSecondaryRepository 0.125

ThresholdListenerTest

testThresholdListener 0.015

MonitoringTest

testStopWatchConcurrencyMonitoring 0.016
testThreadSafety 120.015
class org.apache.commons.monitoring.impl.values.CompositeCounter is not thread safe expected:<500000> but was:<150244>

RendererTest

testRenderToJson 0.125
testRenderToXml 0.078
testRenderToTxt 0.078
testRenderToHtml 0.109
testRenderToFlot 0.188
testOptions 0.031

SelectorTest

testSinglePath 0.047
testCollectionPath 0.015
testSinglePathGet 0.047
testMultiplePath 0.047

StopWatchTest

testComputeTime 0
testSupportUnexpectedCalls 0

UnitTest

testScales 0

Failure Details

testThreadSafety
junit.framework.AssertionFailedError: class org.apache.commons.monitoring.impl.values.CompositeCounter is not thread safe expected:<500000> but was:<150244>