// SPDX-FileCopyrightText: 2026 FocusFlow contributors
// SPDX-License-Identifier: AGPL-3.0-only

/// Aggregates Scheduler Core workspace tests.
library;

import '../packages/scheduler_backup/test/encrypted_backup_test.dart'
    as encrypted_backup_test;
import '../packages/scheduler_core/test/application_commands_test.dart'
    as application_commands_test;
import '../packages/scheduler_core/test/application_layer_test.dart'
    as application_layer_test;
import '../packages/scheduler_core/test/application_management_test.dart'
    as application_management_test;
import '../packages/scheduler_core/test/application_recovery_test.dart'
    as application_recovery_test;
import '../packages/scheduler_core/test/child_tasks_test.dart'
    as child_tasks_test;
import '../packages/scheduler_core/test/document_mapping_test.dart'
    as document_mapping_test;
import '../packages/scheduler_core/test/document_migration_test.dart'
    as document_migration_test;
import '../packages/scheduler_core/test/domain_contracts_test.dart'
    as domain_contracts_test;
import '../packages/scheduler_core/test/domain_invariants_test.dart'
    as domain_invariants_test;
import '../packages/scheduler_core/test/edge_case_regression_test.dart'
    as edge_case_regression_test;
import '../packages/scheduler_core/test/free_slots_test.dart'
    as free_slots_test;
import '../packages/scheduler_core/test/occupancy_policy_test.dart'
    as occupancy_policy_test;
import '../packages/scheduler_core/test/persistence_edge_cases_test.dart'
    as persistence_edge_cases_test;
import '../packages/scheduler_core/test/persistence_index_contract_test.dart'
    as persistence_index_contract_test;
import '../packages/scheduler_core/test/project_statistics_test.dart'
    as project_statistics_test;
import '../packages/scheduler_core/test/reminder_policy_test.dart'
    as reminder_policy_test;
import '../packages/scheduler_core/test/repositories_test.dart'
    as repositories_test;
import '../packages/scheduler_core/test/required_task_actions_test.dart'
    as required_task_actions_test;
import '../packages/scheduler_core/test/scheduling_engine_test.dart'
    as scheduling_engine_test;
import '../packages/scheduler_core/test/scheduling_invariants_test.dart'
    as scheduling_invariants_test;
import '../packages/scheduler_core/test/surprise_task_logging_test.dart'
    as surprise_task_logging_test;
import '../packages/scheduler_core/test/task_lifecycle_test.dart'
    as task_lifecycle_test;
import '../packages/scheduler_core/test/time_contracts_test.dart'
    as time_contracts_test;
import '../packages/scheduler_core/test/timeline_state_test.dart'
    as timeline_state_test;
import '../packages/scheduler_core/test/today_state_test.dart'
    as today_state_test;
import '../packages/scheduler_notifications/test/fake_adapter_test.dart'
    as fake_adapter_test;
import '../packages/scheduler_notifications_desktop/test/desktop_notification_adapter_test.dart'
    as desktop_notification_adapter_test;
import '../packages/scheduler_export/test/export_controller_test.dart'
    as export_controller_test;
import '../packages/scheduler_export_json/test/export_json_test.dart'
    as export_json_test;
import '../packages/scheduler_integration_tests/integration/scheduler_flow_test.dart'
    as scheduler_flow_test;
import '../packages/scheduler_persistence/test/repo_contract_smoke_test.dart'
    as repo_contract_smoke_test;
import '../packages/scheduler_persistence_memory/test/memory_repository_conformance_test.dart'
    as memory_repository_conformance_test;
import '../packages/scheduler_persistence_sqlite/test/sqlite_repository_conformance_test.dart'
    as sqlite_repository_conformance_test;
import '../packages/scheduler_persistence_sqlite/test/scheduler_db_test.dart'
    as sqlite_scheduler_db_test;
import '../packages/scheduler_persistence_sqlite/test/sqlite_application_unit_of_work_test.dart'
    as sqlite_application_unit_of_work_test;

/// Entry point for this executable Dart file.
/// It wires the local command, test, or application behavior needed by this repository without exposing additional public API.
void main() {
  encrypted_backup_test.main();
  application_commands_test.main();
  application_layer_test.main();
  application_management_test.main();
  application_recovery_test.main();
  child_tasks_test.main();
  document_mapping_test.main();
  document_migration_test.main();
  domain_contracts_test.main();
  domain_invariants_test.main();
  edge_case_regression_test.main();
  free_slots_test.main();
  occupancy_policy_test.main();
  persistence_edge_cases_test.main();
  persistence_index_contract_test.main();
  project_statistics_test.main();
  reminder_policy_test.main();
  repositories_test.main();
  required_task_actions_test.main();
  scheduling_engine_test.main();
  scheduling_invariants_test.main();
  surprise_task_logging_test.main();
  task_lifecycle_test.main();
  time_contracts_test.main();
  timeline_state_test.main();
  today_state_test.main();
  fake_adapter_test.main();
  desktop_notification_adapter_test.main();
  export_controller_test.main();
  export_json_test.main();
  scheduler_flow_test.main();
  repo_contract_smoke_test.main();
  memory_repository_conformance_test.main();
  sqlite_repository_conformance_test.main();
  sqlite_scheduler_db_test.main();
  sqlite_application_unit_of_work_test.main();
}
