Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
63 0 0 0 100% 9.26

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


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
com.example.graphics.command 7 0 0 0 100% 0.035
com.example.graphics 5 0 0 0 100% 0.007
com.example.graphics.model 4 0 0 0 100% 0.021
com.example.graphics.integration 4 0 0 0 100% 0.079
com.example.graphics.util 2 0 0 0 100% 0.046
com.example.graphics.factory 7 0 0 0 100% 0.018
com.example.graphics.observer 8 0 0 0 100% 0.056
com.example.graphics.visitor 4 0 0 0 100% 0.007
com.example.graphics.singleton 4 0 0 0 100% 0.007
com.example.graphics.adapter 7 0 0 0 100% 0.564
com.example.graphics.proxy 11 0 0 0 100% 8.42

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

com.example.graphics.command

Class Tests Errors Failures Skipped Success Rate Time
CommandManagerTest 7 0 0 0 100% 0.035

com.example.graphics

Class Tests Errors Failures Skipped Success Rate Time
DrawingTest 5 0 0 0 100% 0.007

com.example.graphics.model

Class Tests Errors Failures Skipped Success Rate Time
ShapeModeTest 4 0 0 0 100% 0.021

com.example.graphics.integration

Class Tests Errors Failures Skipped Success Rate Time
GraphicsIntegrationTest 4 0 0 0 100% 0.079

com.example.graphics.util

Class Tests Errors Failures Skipped Success Rate Time
FileManagerTest 2 0 0 0 100% 0.046

com.example.graphics.factory

Class Tests Errors Failures Skipped Success Rate Time
RendererFactoryTest 3 0 0 0 100% 0.012
ShapeFactoryTest 4 0 0 0 100% 0.006

com.example.graphics.observer

Class Tests Errors Failures Skipped Success Rate Time
ShapeObserverTest 8 0 0 0 100% 0.056

com.example.graphics.visitor

Class Tests Errors Failures Skipped Success Rate Time
ShapeVisitorTest 4 0 0 0 100% 0.007

com.example.graphics.singleton

Class Tests Errors Failures Skipped Success Rate Time
RenderingConfigTest 4 0 0 0 100% 0.007

com.example.graphics.adapter

Class Tests Errors Failures Skipped Success Rate Time
ThirdPartyRendererAdapterTest 7 0 0 0 100% 0.564

com.example.graphics.proxy

Class Tests Errors Failures Skipped Success Rate Time
RemoteRendererProxyTest 11 0 0 0 100% 8.42

Test Cases

[Summary] [Package List] [Test Cases]

ThirdPartyRendererAdapterTest

testRenderTriangle 0.523
testClear 0.002
testRenderRectangle 0.002
testRenderLine 0.002
testMockImplementation 0.012
testDisplay 0.002
testRenderCircle 0.001

CommandManagerTest

testExecuteCommand 0.023
testRedo 0.001
testUndo 0.001
testRedoEmptyStack 0.001
testUndoEmptyStack 0.001
testExecuteAfterUndo 0.001
testClearHistory 0.001

DrawingTest

testRemoveShape 0.003
testAddShape 0.001
testUndoRedo 0.001
testRender 0
testMoveShape 0

RendererFactoryTest

testSvgRendererFactory 0.002
testSwingRendererFactory 0.004
testConsoleRendererFactory 0.004

ShapeFactoryTest

testCreateRectangle 0.002
testCreateLine 0.001
testCreateTriangle 0
testCreateCircle 0.001

GraphicsIntegrationTest

testVisitorPatternIntegration 0.075
testDrawingWithFactoryAndRenderer 0
testMoveShapeCommand 0.001
testUndoRedoWithMultipleShapes 0.001

ShapeModeTest

testTriangle 0.016
testLine 0.001
testCircle 0.001
testRectangle 0

ShapeObserverTest

testMultipleObservers 0.04
testIntegrationWithRealShape 0.004
testAddingDuplicateObserver 0.001
testAddRemoveObserver 0.002
testNotifyShapeRemoved 0.002
testNotifyShapeAdded 0.002
testNotifyShapeModified 0.001
testConsoleLogger 0.001

RemoteRendererProxyTest

testConnectWhenAlreadyConnected 0.533
testRenderCircleWithLocalRenderer 0.62
testOperationsWithoutConnection 0.002
testRenderLineWithLocalRenderer 0.705
testRemoteRendererImplementation 1.217
testConnectionLifecycle 0.706
testRenderTriangleWithLocalRenderer 0.781
testOperationsWithoutLocalRenderer 1.868
testClearWithLocalRenderer 0.71
testRenderRectangleWithLocalRenderer 0.607
testDisplayWithLocalRenderer 0.66

RenderingConfigTest

testSingletonInstance 0.003
testDefaultValues 0.001
testSetValues 0.001
testPersistenceAcrossInstances 0

FileManagerTest

testSaveAndLoadJson 0.041
testSaveXml 0.002

ShapeVisitorTest

testXmlExportVisitor 0.002
testClearXmlVisitor 0.002
testJsonExportVisitor 0.001
testClearJsonVisitor 0.001