Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
93 0 3 0 96.774% 1.984

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
org.chorem.jtimer.data 20 0 0 0 100% 0.554
org.chorem.jtimer.utils 22 0 0 0 100% 0.017
org.chorem.jtimer.plugin.timebundle 2 0 1 0 50% 0.166
org.chorem.jtimer.system 1 0 0 0 100% 0.039
org.chorem.jtimer.ui.report 19 0 2 0 89.474% 1.071
org.chorem.jtimer 3 0 0 0 100% 0.047
org.chorem.jtimer.entities 13 0 0 0 100% 0.005
org.chorem.jtimer.io 13 0 0 0 100% 0.085

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

org.chorem.jtimer.data

Class Tests Errors Failures Skipped Success Rate Time
CommonVetoableTest 6 0 0 0 100% 0.101
TimerDataManagerTest 14 0 0 0 100% 0.453

org.chorem.jtimer.utils

Class Tests Errors Failures Skipped Success Rate Time
DailySortedMapTest 22 0 0 0 100% 0.017

org.chorem.jtimer.plugin.timebundle

Class Tests Errors Failures Skipped Success Rate Time
TimeBundleSaverTest 1 0 0 0 100% 0.103
TimeBundleHelperTest 1 0 1 0 0% 0.063

org.chorem.jtimer.system

Class Tests Errors Failures Skipped Success Rate Time
SystemInfoFactoryTest 1 0 0 0 100% 0.039

org.chorem.jtimer.ui.report

Class Tests Errors Failures Skipped Success Rate Time
ReportUtilsTest 12 0 0 0 100% 0.019
ReportGeneratorTest 7 0 2 0 71.429% 1.052

org.chorem.jtimer

Class Tests Errors Failures Skipped Success Rate Time
JTimerFactoryTest 3 0 0 0 100% 0.047

org.chorem.jtimer.entities

Class Tests Errors Failures Skipped Success Rate Time
TimerAlertTest 6 0 0 0 100% 0.004
TimerTaskHelperTest 1 0 0 0 100% 0
TimerProjectTest 2 0 0 0 100% 0.001
TimerTaskTest 4 0 0 0 100% 0

org.chorem.jtimer.io

Class Tests Errors Failures Skipped Success Rate Time
AbstractSaverTest 3 0 0 0 100% 0.009
GTimerIncrementalSaverTest 10 0 0 0 100% 0.076

Test Cases

[Summary] [Package List] [Test Cases]

ReportUtilsTest

testGetDailyDates 0.01
testGetDailyDates2 0.001
testGetDailyDates3 0.001
testGetMonthlyDates 0.001
testGetMonthlyDates2 0.001
testGetMonthlyDates4 0.001
testGetWeeklyDates 0.001
testGetWeeklyDates2 0
testGetWeeklyDates3 0.001
testGetYearlyDates 0.001
testGetYearlyDates2 0
testGetYearlyDates3 0.001

TimeBundleSaverTest

parseSyncInfoTest 0.103

ReportGeneratorTest

getReportTextByProject 0.595
getReportTextDaily 0.133
getReportTextDailyAnnotationTime 0.054
expected [true] but found [false]
getReportTextMonthly 0.053
getReportTextMonthlyAnnotationTime 0.111
expected [true] but found [false]
getReportTextWeekly 0.044
getReportTextYearly 0.062

TimeBundleHelperTest

taskToJSONFormatTest 0.063
expected [{"URL":"http://localhost:3000","startDate":"2016-01-01T00:00:00+01:00","endDate":"2018-05-26T00:00:00Z","periods":[{"id":"2016-01-18_42","startDate":"2016-01-18T00:00:00+01:00","duration":452},{"id":"2016-05-12_42","startDate":"2016-05-12T00:00:00+02:00","duration":4533}]}] but found [{"URL":"http://localhost:3000","startDate":"2015-12-31T00:00:00Z","endDate":"2018-05-26T00:00:00Z","periods":[{"id":"2016-01-17_42","startDate":"2016-01-17T00:00:00Z","duration":452},{"id":"2016-05-11_42","startDate":"2016-05-11T00:00:00Z","duration":4533}]}]

JTimerFactoryTest

getFileSaverTest 0
testInitConfiguration 0
testJsonTaskTemplates 0.047

TimerAlertTest

testAlertData 0.003
testAlertList 0
testAlertSet 0
testClone 0
testEquals 0
testEqualsNull 0.001

AbstractSaverTest

deleteBackupFile 0.001
makeBackupFileTest 0.001
restoreBackupFileTest 0.007

TimerTaskHelperTest

getPathFromParentTest 0

GTimerIncrementalSaverTest

autoSaveDelayTest 0
defaultProjectTest 0.019
dontLoadZeroTimeTest 0.017
dontSaveZeroTimeTest 0.021
getProjectFromFileTest 0.001
loadTest 0.016
parseAlertsTest 0.001
parseAnnotationsTest 0.001
parseTaskFromFileTest 0
saveDirectoryTest 0

TimerProjectTest

testClone 0
testProjectName 0.001

SystemInfoFactoryTest

getSystemInfoTest 0.039

TimerTaskTest

testCloneDailyMap 0
testCloneLists 0
testSubtasks 0
testTaskName 0

CommonVetoableTest

testAddProject 0.019
testAddTask 0.016
testMergeTasks 0.017
testMoveMultiplesTasks 0.016
testMoveTask 0.016
testMoveTask2 0.017

DailySortedMapTest

ceilingEntryTest 0.001
ceilingKeyTest 0.001
containsKeyTest 0
floorEntryTest 0.001
floorKeyTest 0.001
getTest 0
headMapBooleanTest 0.001
headMapTest 0
higherEntryTest 0.001
higherKeyTest 0.001
lowerEntryTest 0
lowerKeyTest 0.001
putAllTest 0.001
putTest 0.001
subMapBooleanTest 0.001
subMapTest 0.001
tailMapBooleanTest 0.004
tailMapTest 0
testConsctuctorComparator 0
testConstructor 0
testConstructorMap 0
testConstructorSortedMap 0.001

TimerDataManagerTest

testAddAlert 0.033
testAddProject 0.034
testAddTask 0.03
testDeleteProject 0.025
testDeleteTask 0.031
testEditProject 0.031
testEditTask 0.031
testGetTaskForPath 0.021
testGetTaskForPathProject 0.016
testMergeTasks 0.04
testMergeTasksWithAlerts 0.035
testMergeTasksWithConflict 0.046
testMoveMultiplesTasks 0.051
testMoveTask 0.029

Failure Details

[Summary] [Package List] [Test Cases]


getReportTextDailyAnnotationTime
java.lang.AssertionError: expected [true] but found [false]
getReportTextMonthlyAnnotationTime
java.lang.AssertionError: expected [true] but found [false]
taskToJSONFormatTest
java.lang.AssertionError: expected [{"URL":"http://localhost:3000","startDate":"2016-01-01T00:00:00+01:00","endDate":"2018-05-26T00:00:00Z","periods":[{"id":"2016-01-18_42","startDate":"2016-01-18T00:00:00+01:00","duration":452},{"id":"2016-05-12_42","startDate":"2016-05-12T00:00:00+02:00","duration":4533}]}] but found [{"URL":"http://localhost:3000","startDate":"2015-12-31T00:00:00Z","endDate":"2018-05-26T00:00:00Z","periods":[{"id":"2016-01-17_42","startDate":"2016-01-17T00:00:00Z","duration":452},{"id":"2016-05-11_42","startDate":"2016-05-11T00:00:00Z","duration":4533}]}]