Skip to content
GitHub Actions / Report (Small test) succeeded Aug 16, 2024 in 0s

163 passed, 0 failed and 0 skipped

Tests passed successfully

✅ reports/test_report.log

163 tests were completed in 37s with 163 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/act_counter/act_counter_test.dart 3✅ 48ms
test/act_counter/select_mem_fab_test.dart 3✅ 899ms
test/components/async_value_view_test.dart 1✅ 781ms
test/components/date_and_time/date_and_time_period_text_form_fields_test.dart 2✅ 1s
test/components/date_and_time/date_and_time_text_form_field_test.dart 15✅ 2s
test/components/date_and_time/date_text_form_field_test.dart 4✅ 2s
test/components/date_and_time/time_of_day_text_form_field_test.dart 4✅ 1s
test/core/act_test.dart 8✅ 45ms
test/core/date_and_time_period_test.dart 46✅ 155ms
test/core/date_and_time_test.dart 3✅ 42ms
test/core/mem_notification_test.dart 8✅ 108ms
test/framework/database/column_definition_test.dart 1✅ 32ms
test/framework/database/database_definition_test.dart 4✅ 41ms
test/framework/database/foreign_key_definition_test.dart 1✅ 53ms
test/framework/database/table_definition_test.dart 5✅ 70ms
test/framework/repository/database_tuple_entity_test.dart 3✅ 42ms
test/framework/repository/entity_test.dart 4✅ 40ms
test/logger/logger_service_test.dart 32✅ 114ms
test/logger/logger_wrapper_test.dart 15✅ 185ms
test/mems/mem_list_body_test.dart 1✅ 1s

✅ test/act_counter/act_counter_test.dart

✅ : constructor.
period
  ✅ : startDate time is 5:00
  ✅ : startDate time is less than 5:00

✅ test/act_counter/select_mem_fab_test.dart

Appearance
  ✅ selectedMemIds is empty
  ✅ selectedMemIds is not empty
Actions
  ✅ : tap

✅ test/components/async_value_view_test.dart

✅ throw

✅ test/components/date_and_time/date_and_time_period_text_form_fields_test.dart

✅ Change null: pick start.
✅ Change null: pick end.

✅ test/components/date_and_time/date_and_time_text_form_field_test.dart

Show
  ✅ : dateAndTime is null.
  ✅ : dateAndTime is all day.
  ✅ : dateAndTime is not all day.
Action
  ✅ : Clear.
Action : Pick date
  ✅ : cancel.
  ✅ : pre value is null.
  ✅ : pre value is all day.
  ✅ : pre value is not all day.
Action : Pick date : can not select date is out of range
  ✅ : start.
  ✅ : end.
Action : Switch all day
  ✅ : cancel.
  ✅ : pre value is all day.
  ✅ : pre value is not all day.
Action : Pick time
  ✅ : cancel.
  ✅ : pick.

✅ test/components/date_and_time/date_text_form_field_test.dart

Show
  ✅ : input null
  ✅ : input now
Pick
  ✅ : cancel
  ✅ : pick

✅ test/components/date_and_time/time_of_day_text_form_field_test.dart

Show
  ✅ : input null
  ✅ : input now
Pick
  ✅ : cancel
  ✅ : pick

✅ test/core/act_test.dart

activeCompare
  ✅ a is null with b is null
  ✅ a is null with b is false
  ✅ a is false with b is null
  ✅ a is false with b is false
activeCompare active with
  ✅ null
  ✅ false
activeCompare active with active
  ✅ same start
  ✅ different start

✅ test/core/date_and_time_period_test.dart

✅ toString.
Create instance
  ✅ : startNow.
Create instance : Constructor
  ✅ : with start.
  ✅ : with end.
  ✅ : with start and end.
  ✅ : with not all day start and all day end
Create instance : Constructor : throw error
  ✅ : start and end are null.
  ✅ : start is after end.
Comparable : start only {start: {_: 2024-08-16 00:57:59.027980, isAllDay: false}, end: null}
  ✅ : with {start: {_: 2024-08-15 00:57:59.027980, isAllDay: false}, end: null}.
  ✅ : with {start: {_: 2024-08-16 00:57:59.027980, isAllDay: false}, end: null}.
  ✅ : with {start: {_: 2024-08-17 00:57:59.027980, isAllDay: false}, end: null}.
  ✅ : with {start: null, end: {_: 2024-08-15 00:57:59.027980, isAllDay: false}}.
  ✅ : with {start: null, end: {_: 2024-08-16 00:57:59.027980, isAllDay: false}}.
  ✅ : with {start: null, end: {_: 2024-08-17 00:57:59.027980, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-15 00:57:59.027980, isAllDay: false}, end: {_: 2024-08-17 00:57:59.027980, isAllDay: false}}.
Comparable : end only {start: null, end: {_: 2024-08-16 00:57:59.027980, isAllDay: false}}
  ✅ : with {start: {_: 2024-08-15 00:57:59.027980, isAllDay: false}, end: null}.
  ✅ : with {start: {_: 2024-08-16 00:57:59.027980, isAllDay: false}, end: null}.
  ✅ : with {start: {_: 2024-08-17 00:57:59.027980, isAllDay: false}, end: null}.
  ✅ : with {start: null, end: {_: 2024-08-15 00:57:59.027980, isAllDay: false}}.
  ✅ : with {start: null, end: {_: 2024-08-16 00:57:59.027980, isAllDay: false}}.
  ✅ : with {start: null, end: {_: 2024-08-17 00:57:59.027980, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-15 00:57:59.027980, isAllDay: false}, end: {_: 2024-08-17 00:57:59.027980, isAllDay: false}}.
Comparable : start and end {start: {_: 2024-08-14 00:57:00.000, isAllDay: false}, end: {_: 2024-08-18 00:57:00.000, isAllDay: false}}
  ✅ : with {start: {_: 2024-08-13 00:57:00.000, isAllDay: false}, end: null}.
  ✅ : with {start: {_: 2024-08-14 00:57:00.000, isAllDay: false}, end: null}.
  ✅ : with {start: {_: 2024-08-16 00:57:59.027980, isAllDay: false}, end: null}.
  ✅ : with {start: {_: 2024-08-18 00:57:00.000, isAllDay: false}, end: null}.
  ✅ : with {start: {_: 2024-08-19 00:57:00.000, isAllDay: false}, end: null}.
  ✅ : with {start: null, end: {_: 2024-08-13 00:57:00.000, isAllDay: false}}.
  ✅ : with {start: null, end: {_: 2024-08-14 00:57:00.000, isAllDay: false}}.
  ✅ : with {start: null, end: {_: 2024-08-16 00:57:59.027980, isAllDay: false}}.
  ✅ : with {start: null, end: {_: 2024-08-18 00:57:00.000, isAllDay: false}}.
  ✅ : with {start: null, end: {_: 2024-08-19 00:57:00.000, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-13 00:57:00.000, isAllDay: false}, end: {_: 2024-08-14 00:57:00.000, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-13 00:57:00.000, isAllDay: false}, end: {_: 2024-08-16 00:57:59.027980, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-13 00:57:00.000, isAllDay: false}, end: {_: 2024-08-18 00:57:00.000, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-13 00:57:00.000, isAllDay: false}, end: {_: 2024-08-19 00:57:00.000, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-14 00:57:00.000, isAllDay: false}, end: {_: 2024-08-16 00:57:59.027980, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-14 00:57:00.000, isAllDay: false}, end: {_: 2024-08-18 00:57:00.000, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-14 00:57:00.000, isAllDay: false}, end: {_: 2024-08-19 00:57:00.000, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-15 00:57:59.027980, isAllDay: false}, end: {_: 2024-08-17 00:57:59.027980, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-15 00:57:59.027980, isAllDay: false}, end: {_: 2024-08-18 00:57:00.000, isAllDay: false}}.
  ✅ : with {start: {_: 2024-08-15 00:57:59.027980, isAllDay: false}, end: {_: 2024-08-19 00:57:00.000, isAllDay: false}}.
: compare
  ✅ : both are not null.
  ✅ : both are null.
  ✅ : a is null, b is not null.
  ✅ : a is not null, b is null.

✅ test/core/date_and_time_test.dart

✅ toString
Create instance : now
  ✅ : allDay is false
  ✅ : allDay is true

✅ test/core/mem_notification_test.dart

✅ MemNotificationType from unexpected name throw.
MemNotification
  ✅ repeat by day of week.
MemNotification toOneLine
  ✅ no enables.
  ✅ repeat by Tue.
  ✅ after act
MemNotification toOneLine repeat
  ✅ repeat at 0:0.
  ✅ repeat at 05:00 by 2 day.
  ✅ repeat at 12:00 by 3 day on Mon.

✅ test/framework/database/column_definition_test.dart

✅ Column name contains "-".

✅ test/framework/database/database_definition_test.dart

✅ Database name is empty.
✅ Database name contains " ".
✅ Database name contains "-".
✅ Version is less than 1.

✅ test/framework/database/foreign_key_definition_test.dart

✅ Parent table has multiple primary keys.

✅ test/framework/database/table_definition_test.dart

✅ Table name is empty.
✅ Table name contains " ".
✅ Table name contains "-".
✅ ColumnDefinitions are empty.
✅ Duplicate column name.

✅ test/framework/repository/database_tuple_entity_test.dart

DatabaseTupleEntity test
  ✅ #new
  ✅ #fromMap
  ✅ #toMap

✅ test/framework/repository/entity_test.dart

Entity test
  ✅ #new
  ✅ #fromMap
  ✅ #toMap
  ✅ #==

✅ test/logger/logger_service_test.dart

valueLog
valueLog : on service level is info
  ✅ : log level is verbose.
  ✅ : log level is info.
valueLog : target
  ✅ : is null.
valueLog : target : format : simple
  ✅ : List.
  ✅ : Set.
  ✅ : Map.
valueLog : target : format : empty
  ✅ : List.
  ✅ : Set.
  ✅ : Map.
valueLog : target : format : complicated
  ✅ : Map has List has Set has Map
valueLog : target : is Future
  ✅ : no await.
  ✅ : await.
  ✅ : on error: verbose.
  ✅ : on error: info.
valueLog : alias
  ✅ : verbose
  ✅ : info
  ✅ : warn
  ✅ : debug
functionLog : sync
  ✅ : returns.
  ✅ : throws.
functionLog : sync : auto debug : cascading val
  ✅ : that is sync.
  ✅ : that is future.
functionLog : sync : auto debug : cascading function
  ✅ : that returns sync.
  ✅ : that returns future.
functionLog : async
  ✅ : returns.
  ✅ : throws.
functionLog : async : auto debug : cascading val
  ✅ : that is future.
functionLog : async : auto debug : cascading function
  ✅ : that returns future.
functionLog : alias
  ✅ : v
  ✅ : i
  ✅ : w
  ✅ : d

✅ test/logger/logger_wrapper_test.dart

level: Level.verbose
  ✅ log
  ✅ with Exception
  ✅ with StackTrace
level: Level.info
  ✅ log
  ✅ with Exception
  ✅ with StackTrace
level: Level.warning
  ✅ log
  ✅ with Exception
  ✅ with StackTrace
level: Level.error
  ✅ log
  ✅ with Exception
  ✅ with StackTrace
level: Level.debug
  ✅ log
  ✅ with Exception
  ✅ with StackTrace

✅ test/mems/mem_list_body_test.dart

✅ Hide & show ShowNewMemFab.