Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
68 0 0 0 100% 7.967

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
it.tidalwave.datamanager.dao.impl.jpa 22 0 0 0 100% 1.095
it.tidalwave.datamanager.application.nogui 1 0 0 0 100% 6.069
it.tidalwave.datamanager.application.nogui.args 20 0 0 0 100% 0.052
it.tidalwave.datamanager.application.nogui.impl 15 0 0 0 100% 0.034
it.tidalwave.datamanager.model 10 0 0 0 100% 0.717

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

it.tidalwave.datamanager.dao.impl.jpa

Class Tests Errors Failures Skipped Success Rate Time
BackupEntityTest 3 0 0 0 100% 0.209
BackupFileEntityTest 2 0 0 0 100% 0.035
FingerprintEntityTest 2 0 0 0 100% 0.019
JpaDataManagerDaoTest 11 0 0 0 100% 0.727
ManagedFileEntityTest 3 0 0 0 100% 0.015
ProductionDataSourceFactoryTest 1 0 0 0 100% 0.09

it.tidalwave.datamanager.application.nogui

Class Tests Errors Failures Skipped Success Rate Time
MainTest 1 0 0 0 100% 6.069

it.tidalwave.datamanager.application.nogui.args

Class Tests Errors Failures Skipped Success Rate Time
ListBackupsArgsInterpreterTest 6 0 0 0 100% 0.043
ListManagedFilesArgsInterpreterTest 10 0 0 0 100% 0.008
UsageArgsInterpreterTest 4 0 0 0 100% 0.001

it.tidalwave.datamanager.application.nogui.impl

Class Tests Errors Failures Skipped Success Rate Time
BackupDisplayableTest 1 0 0 0 100% 0.009
DefaultDataManagerPresentationControlTest 10 0 0 0 100% 0.023
FingerprintDisplayableTest 1 0 0 0 100% 0.001
ManagedFileDisplayableTest 1 0 0 0 100% 0
TerminalDataManagerPresentationTest 2 0 0 0 100% 0.001

it.tidalwave.datamanager.model

Class Tests Errors Failures Skipped Success Rate Time
BackupFileTest 2 0 0 0 100% 0.607
BackupTest 3 0 0 0 100% 0.066
FingerprintTest 2 0 0 0 100% 0.028
ManagedFileTest 3 0 0 0 100% 0.016

Test Cases

[Summary] [Package List] [Test Cases]

BackupFileTest

test_equals_and_hashCode 0.603
test_toString 0.004

BackupTest

test_equals_and_hashCode 0.058
test_toString_with_supplier_invoked 0.008
test_toString_without_supplier_invoked 0

FingerprintTest

test_equals_and_hashCode 0.024
test_toString 0.004

ManagedFileTest

test_equals_and_hashCode 0.015
test_toString_with_supplier_invoked 0.001
test_toString_without_supplier_invoked 0

BackupEntityTest

test_equals_and_hashCode 0.196
test_toString_with_proxy 0.013
test_toString_without_proxy 0

BackupFileEntityTest

test_equals_and_hashCode 0.034
test_toString_without_proxy 0.001

FingerprintEntityTest

test_equals_and_hashcode 0.014
test_toString 0.005

JpaDataManagerDaoTest

test_database_schema 0.025
test_findBackups[Optional.empty, Optional.empty, Optional.empty](1) 0.606
test_findBackups[Optional[missing], Optional.empty, Optional.empty](2) 0.018
test_findBackups[Optional[label 4], Optional.empty, Optional.empty](3) 0.004
test_findBackups[Optional.empty, Optional[missing], Optional.empty](4) 0.005
test_findBackups[Optional.empty, Optional[volumeId 7], Optional.empty](5) 0.004
test_findBackups[Optional.empty, Optional.empty, Optional[missing]](6) 0.009
test_findBackups[Optional.empty, Optional.empty, Optional[id]](7) 0.005
test_findManagedFiles[Optional.empty](1) 0.034
test_findManagedFiles[Optional[missing]](2) 0.005
test_findManagedFiles[Optional[80fe035fe88f37471862c5ba5013b472]](3) 0.012

ManagedFileEntityTest

test_equals_and_hashCode 0.011
test_toString_with_proxy 0.004
test_toString_without_proxy 0

ProductionDataSourceFactoryTest

test_database_is_created_from_scratch 0.09

MainTest

test_main 6.069

ListBackupsArgsInterpreterTest

must_do_nothing_when_no_args 0.004
must_emit_error_when_invalid_args 0.002
must_render_data[[list-backups], DataManagerPresentationControl.BackupOptions.Builder(label$value=null, volumeId$value=null, fileId$value=null, renderFiles=false)](1) 0.033
must_render_data[[list-backups, --label=foo], DataManagerPresentationControl.BackupOptions.Builder(label$value=Optional[foo], volumeId$value=null, fileId$value=null, renderFiles=false)](2) 0.002
must_render_data[[list-backups, --file-id=id], DataManagerPresentationControl.BackupOptions.Builder(label$value=null, volumeId$value=null, fileId$value=Optional[id], renderFiles=false)](3) 0.001
must_render_data[[list-backups, --volume-id=bar], DataManagerPresentationControl.BackupOptions.Builder(label$value=null, volumeId$value=Optional[bar], fileId$value=null, renderFiles=false)](4) 0.001

ListManagedFilesArgsInterpreterTest

must_do_nothing_when_no_args 0
must_emit_error_when_both_max_and_filter[[Ljava.lang.String;@7797e2cc](1) 0.001
must_emit_error_when_both_max_and_filter[[Ljava.lang.String;@28e57396](2) 0
must_emit_error_when_invalid_args 0
must_render_data[[list-files], DataManagerPresentationControl.ManagedFileOptions.Builder(renderFingerprints=false, max$value=null, regex$value=null, fingerprint$value=null, missingFiles=false)](1) 0.002
must_render_data[[list-files, --max=1], DataManagerPresentationControl.ManagedFileOptions.Builder(renderFingerprints=false, max$value=Optional[1], regex$value=null, fingerprint$value=null, missingFiles=false)](2) 0.001
must_render_data[[list-files, --regex=.*2], DataManagerPresentationControl.ManagedFileOptions.Builder(renderFingerprints=false, max$value=null, regex$value=Optional[.*2], fingerprint$value=null, missingFiles=false)](3) 0.001
must_render_data[[list-files, --fingerprints], DataManagerPresentationControl.ManagedFileOptions.Builder(renderFingerprints=true, max$value=null, regex$value=null, fingerprint$value=null, missingFiles=false)](4) 0.002
must_render_data[[list-files, --fingerprint=fp], DataManagerPresentationControl.ManagedFileOptions.Builder(renderFingerprints=false, max$value=null, regex$value=null, fingerprint$value=Optional[fp], missingFiles=false)](5) 0
must_render_data[[list-files, --missing], DataManagerPresentationControl.ManagedFileOptions.Builder(renderFingerprints=false, max$value=null, regex$value=null, fingerprint$value=null, missingFiles=true)](6) 0.001

UsageArgsInterpreterTest

must_do_nothing_when_a_command_ran 0
must_print_usage_and_emit_error_when_no_command_ran_and_args 0.001
must_print_usage_when_help_arg 0
must_print_usage_when_no_command_ran 0

BackupDisplayableTest

testDisplayable 0.009

DefaultDataManagerPresentationControlTest

must_render_backups 0.01
must_render_backups_with_fileId 0.001
must_render_backups_with_files 0
must_render_backups_with_label 0
must_render_backups_with_volumeId 0
must_render_data 0.009
must_render_data_with_fingerprint 0.001
must_render_data_with_fingerprints 0.002
must_render_data_with_max 0
must_render_data_with_regex 0

FingerprintDisplayableTest

testDisplayable 0.001

ManagedFileDisplayableTest

testDisplayable 0

TerminalDataManagerPresentationTest

test_renderBackups 0.001
test_renderManagedFiles 0