test(03-01): add failing tests for DailyPlanDao cross-room query and completion count

- 7 failing tests for watchAllTasksWithRoomName and watchCompletionsToday
- DAO stub with UnimplementedError methods registered in AppDatabase
- TaskWithRoom and DailyPlanState model classes defined

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-16 12:28:21 +01:00
parent 76eee6baa7
commit 74b3bd5543
6 changed files with 250 additions and 1 deletions

View File

@@ -1245,6 +1245,7 @@ abstract class _$AppDatabase extends GeneratedDatabase {
);
late final RoomsDao roomsDao = RoomsDao(this as AppDatabase);
late final TasksDao tasksDao = TasksDao(this as AppDatabase);
late final DailyPlanDao dailyPlanDao = DailyPlanDao(this as AppDatabase);
@override
Iterable<TableInfo<Table, Object?>> get allTables =>
allSchemaEntities.whereType<TableInfo<Table, Object?>>();