Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
67 0 0 0 100% 9.239 s

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
de.spiritscorp.datasync 16 0 0 0 100% 0.210 s
de.spiritscorp.datasync.controller 11 0 0 0 100% 8.318 s
de.spiritscorp.datasync.model 40 0 0 0 100% 0.711 s

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

de.spiritscorp.datasync

- Class Tests Errors Failures Skipped Success Rate Time
MainTest 16 0 0 0 100% 0.210 s

de.spiritscorp.datasync.controller

- Class Tests Errors Failures Skipped Success Rate Time
BgControllerTest 11 0 0 0 100% 8.318 s

de.spiritscorp.datasync.model

- Class Tests Errors Failures Skipped Success Rate Time
FileHandlerTest 36 0 0 0 100% 0.545 s
ModelTest 3 0 0 0 100% 0.162 s
FileScanTest 1 0 0 0 100% 0.004 s

Test Cases

[Summary] [Package List] [Test Cases]

FileHandlerTest

5. Copy Files validates multi-level path resolution and pre-existing target directory layouts 5. 1 -> copyFiles Layout: ""flat_file.txt"" | targetExists: false 0.112 s
5. Copy Files validates multi-level path resolution and pre-existing target directory layouts 5. 2 -> copyFiles Layout: ""flat_file.txt"" | targetExists: true 0.007 s
5. Copy Files validates multi-level path resolution and pre-existing target directory layouts 5. 3 -> copyFiles Layout: ""sub/folder/nested_file.bin"" | targetExists: false 0.005 s
5. Copy Files validates multi-level path resolution and pre-existing target directory layouts 5. 4 -> copyFiles Layout: ""sub/folder/nested_file.bin"" | targetExists: true 0.004 s
5. Copy Files validates multi-level path resolution and pre-existing target directory layouts 5. 5 -> copyFiles Layout: ""flat_file.txt"" | targetExists: false 0.004 s
5. Copy Files validates multi-level path resolution and pre-existing target directory layouts 5. 6 -> copyFiles Layout: ""sub\\folder\\nested_file.bin"" | targetExists: false 0.004 s
5. Copy Files validates multi-level path resolution and pre-existing target directory layouts 5. 7 -> copyFiles Layout: ""deep\\level\\nodes\\item.assets"" | targetExists: true 0.005 s
6. Copy Files gracefully intercepts boundary faults and registers failure states 6.1 -> Copy Files Interception: COPY_SUCCESS 0.072 s
6. Copy Files gracefully intercepts boundary faults and registers failure states 6.2 -> Copy Files Interception: UNEXPECTED_FILESYSTEM 0.005 s
6. Copy Files gracefully intercepts boundary faults and registers failure states 6.3 -> Copy Files Interception: PERMISSION_FAULT_POSIX 0.071 s
6. Copy Files gracefully intercepts boundary faults and registers failure states 6.4 -> Copy Files Interception: PERMISSION_FAULT_DOS 0.030 s
6. Copy Files gracefully intercepts boundary faults and registers failure states 6.5 -> Copy Files Interception: COPY_IO_ERROR 0.006 s
3. Delete Files isolated scenario 3.1 -> deleteFiles isolated scenario for: "/mnt/share/ok.txt" 0.006 s
3. Delete Files isolated scenario 3.2 -> deleteFiles isolated scenario for: "/mnt/share/locked.dat" 0.003 s
3. Delete Files isolated scenario 3.3 -> deleteFiles isolated scenario for: "/mnt/share/corrupt.io" 0.004 s
10. List Files purges redundant path segments and normalizes cross-platform tracking layouts 10.1 -> listFiles Normalization [OS: Configuration{Unix} | SubDir: false] 0.012 s
10. List Files purges redundant path segments and normalizes cross-platform tracking layouts 10.2 -> listFiles Normalization [OS: Configuration{Unix} | SubDir: true] 0.004 s
10. List Files purges redundant path segments and normalizes cross-platform tracking layouts 10.3 -> listFiles Normalization [OS: Configuration{Unix} | SubDir: true] 0.005 s
10. List Files purges redundant path segments and normalizes cross-platform tracking layouts 10.4 -> listFiles Normalization [OS: Configuration{Windows} | SubDir: false] 0.004 s
10. List Files purges redundant path segments and normalizes cross-platform tracking layouts 10.5 -> listFiles Normalization [OS: Configuration{Windows} | SubDir: true] 0.003 s
10. List Files purges redundant path segments and normalizes cross-platform tracking layouts 10.6 -> listFiles Normalization [OS: Configuration{Windows} | SubDir: true] 0.004 s
7. List Files adapts structural path tracking strategies across directory walking scenarios 7. 1 -> listFiles path tracking strategy [subDir: "false"] 0.014 s
7. List Files adapts structural path tracking strategies across directory walking scenarios 7. 2 -> listFiles path tracking strategy [subDir: "true"] 0.003 s
2. Delete Files variations of Trashbin and LogOn 2.1 -> deleteFiles variations [Trashbin: "false", LogOn: "false"] 0.007 s
2. Delete Files variations of Trashbin and LogOn 2.2 -> deleteFiles variations [Trashbin: "false", LogOn: "true"] 0.003 s
2. Delete Files variations of Trashbin and LogOn 2.3 -> deleteFiles variations [Trashbin: "true", LogOn: "false"] 0.003 s
2. Delete Files variations of Trashbin and LogOn 2.4 -> deleteFiles variations [Trashbin: "true", LogOn: "true"] 0.003 s
8. List Files isolates structural disk faults and maintains processing batch continuity 0.013 s
11. Integration -> List Files full lifecycle data population and folder filtering evaluation 0.006 s
12. Integration -> Copy Files successfully replicates file assets and builds target trees 0.004 s
1. Lifecycle Interruption Guard 1.1 Lifecycle Interruption Guard -> Operation: "delete" 0.004 s
1. Lifecycle Interruption Guard 1.2 Lifecycle Interruption Guard -> Operation: "copy" 0.003 s
1. Lifecycle Interruption Guard 1.3 Lifecycle Interruption Guard -> Operation: "list" 0.002 s
13. Integration -> Delete Files successfully purges file assets from disk and flushes job registry 0.002 s
9. List Files ignores non-existent system base path targets silently 0.003 s
4. Delete Files handling permissions, exceptions, and null entries 0.018 s

ModelTest

testBackupFiles 0.129 s
testSyncFiles 0.022 s
testGetSyncFiles 0.010 s

MainTest

6. Should handle complex platform paths containing spaces or backslashes 0.052 s
4. Should successfully resolve all 4 variations of config directory routing parameters 1 ==> Variant: "Long flag with equals" 0.012 s
4. Should successfully resolve all 4 variations of config directory routing parameters 2 ==> Variant: "Short flag with equals" 0.005 s
4. Should successfully resolve all 4 variations of config directory routing parameters 3 ==> Variant: "Long flag with space lookahead" 0.003 s
4. Should successfully resolve all 4 variations of config directory routing parameters 4 ==> Variant: "Short flag with space lookahead" 0.003 s
10. Should resiliently ignore null or empty input arguments 0.003 s
9. Should gracefully pass over unknown options without interrupting standard parameter processing 0.017 s
3. Should redirect debug logs to file when file logging flags are provided[1] "--debug-to-file" 0.006 s
3. Should redirect debug logs to file when file logging flags are provided[2] "-f" 0.003 s
5. Should gracefully handle configuration flag missing its value token at the array end boundary 0.003 s
7. Should not consume subsequent flag as configuration directory path 0.003 s
2. Should enable debug mode when console debug flags are provided[1] "--debug" 0.003 s
2. Should enable debug mode when console debug flags are provided[2] "-d" 0.003 s
1. Should enable boot delay when corresponding flags are provided[1] "--boot-delay" 0.004 s
1. Should enable boot delay when corresponding flags are provided[2] "-b" 0.002 s
8. Should handle complex mixed execution arguments gracefully 0.004 s

FileScanTest

testFileScan 0.003 s

BgControllerTest

03: Executor Boot Verification - startBgJob maps interval into initial_delay after system boot 1.441 s
08: Stress Case - Fast application shutdown directly after background routine initialization 0.017 s
04: UI & SystemTray Lifecycle - Verify strict orchestration of UI stage hiding and tray mounting 0.009 s
06: Interrupt & Exception Resilience - Worker thread failures or abort signals must fully roll back active execution states 0.125 s
11: Exception Fallback - Should restore GUI visibility and abort execution if TrayIcon registration fails 0.011 s
02: Executor Ticking Verification - startBgJob maps interval math perfectly into the executor core parameters 0.010 s
07: Teardown Coordination - Decoupling thread frames, unmounting hardware notification shells, and exposing UI surfaces 0.030 s
09: Skip Conditions - Polling routine must ignore jobs where background synchronization is disabled 0.018 s
05: Asynchronous Execution Lifecycle - Tracking job state mutation hooks, thread injection, and Model execution loops 0.012 s
10: Boundary Verification - Polling routine must skip executions when intervals are within valid time limits 0.020 s
01: Private Reflection - determineOptimalCheckTime should resolve the shortest interval configuration 0.013 s