From a679e995ed207e731a8e9d2d8ead0f6b0625860d Mon Sep 17 00:00:00 2001 From: bannzai Date: Wed, 15 Jan 2025 14:33:13 +0900 Subject: [PATCH] Renaem --- .../pill_sheet_group_display_domain_test.dart | 36 +++--- test/entity/pill_sheet_group_test.dart | 120 +++++++++--------- test/features/calendar/util_test.dart | 16 +-- .../initial_setting_state_notifier_test.dart | 4 +- .../provider/add_pill_sheet_group_test.dart | 4 +- .../provider/revert_take_pill_test.dart | 28 ++-- 6 files changed, 104 insertions(+), 104 deletions(-) diff --git a/test/entity/pill_sheet_group_display_domain_test.dart b/test/entity/pill_sheet_group_display_domain_test.dart index 28d398f80a..7032e08257 100644 --- a/test/entity/pill_sheet_group_display_domain_test.dart +++ b/test/entity/pill_sheet_group_display_domain_test.dart @@ -245,7 +245,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2020-09-29"), lastTakenDate: null, @@ -261,7 +261,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], pillSheetAppearanceMode: PillSheetAppearanceMode.number, createdAt: now(), ); @@ -609,7 +609,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2020-09-29"), lastTakenDate: null, @@ -625,7 +625,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], pillSheetAppearanceMode: PillSheetAppearanceMode.number, createdAt: now(), ); @@ -657,7 +657,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2020-09-29"), lastTakenDate: null, @@ -673,7 +673,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(beginPillNumber: 10), pillSheetAppearanceMode: PillSheetAppearanceMode.number, @@ -739,7 +739,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2020-09-29"), lastTakenDate: null, @@ -755,7 +755,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(endPillNumber: 40), pillSheetAppearanceMode: PillSheetAppearanceMode.number, @@ -787,7 +787,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2020-09-29"), lastTakenDate: null, @@ -803,7 +803,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(beginPillNumber: 10, endPillNumber: 40), pillSheetAppearanceMode: PillSheetAppearanceMode.number, @@ -1152,7 +1152,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2020-09-29"), lastTakenDate: null, @@ -1168,7 +1168,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); @@ -1200,7 +1200,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2020-09-29"), lastTakenDate: null, @@ -1216,7 +1216,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(beginPillNumber: 10), pillSheetAppearanceMode: PillSheetAppearanceMode.number, @@ -1248,7 +1248,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2020-09-29"), lastTakenDate: null, @@ -1264,7 +1264,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(endPillNumber: 40), pillSheetAppearanceMode: PillSheetAppearanceMode.number, @@ -1296,7 +1296,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2020-09-29"), lastTakenDate: null, @@ -1312,7 +1312,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(beginPillNumber: 10, endPillNumber: 40), pillSheetAppearanceMode: PillSheetAppearanceMode.number, diff --git a/test/entity/pill_sheet_group_test.dart b/test/entity/pill_sheet_group_test.dart index 3bed91258d..34822b6d9c 100644 --- a/test/entity/pill_sheet_group_test.dart +++ b/test/entity/pill_sheet_group_test.dart @@ -212,7 +212,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-29")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -225,7 +225,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: null, @@ -241,7 +241,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, createdAt: now(), ); @@ -253,7 +253,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-29")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -266,7 +266,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: null, @@ -282,7 +282,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(beginPillNumber: 2), pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, @@ -295,7 +295,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-29")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -308,7 +308,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: null, @@ -324,7 +324,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(endPillNumber: 28), pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, @@ -337,7 +337,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-29")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -350,7 +350,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: null, @@ -366,7 +366,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(beginPillNumber: 2, endPillNumber: 28), pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, @@ -597,7 +597,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-29")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -610,7 +610,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: null, @@ -626,7 +626,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, createdAt: now(), ); @@ -638,7 +638,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-29")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -651,7 +651,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: null, @@ -667,7 +667,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(beginPillNumber: 2), pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, @@ -680,7 +680,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-29")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -693,7 +693,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: null, @@ -709,7 +709,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(endPillNumber: 28), pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, @@ -722,7 +722,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-29")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -735,7 +735,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: null, @@ -751,7 +751,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(beginPillNumber: 2, endPillNumber: 28), pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, @@ -1041,7 +1041,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-30")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -1054,7 +1054,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: DateTime.parse("2022-03-29"), @@ -1070,7 +1070,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, ); @@ -1082,7 +1082,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-30")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -1095,7 +1095,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: DateTime.parse("2022-03-29"), @@ -1111,7 +1111,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(beginPillNumber: 2), pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, @@ -1124,7 +1124,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-30")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -1137,7 +1137,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: DateTime.parse("2022-03-29"), @@ -1153,7 +1153,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(endPillNumber: 28), pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, @@ -1167,7 +1167,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-30")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -1180,7 +1180,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: DateTime.parse("2022-03-29"), @@ -1196,7 +1196,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(endPillNumber: 28), pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, @@ -1209,7 +1209,7 @@ void main() { when(mockTodayRepository.now()).thenReturn(DateTime.parse("2022-03-30")); const sheetType = PillSheetType.pillsheet_21; - final pillShee$1 = PillSheet( + final pillSheet1 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-01"), lastTakenDate: DateTime.parse("2020-03-28"), @@ -1222,7 +1222,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), beginingDate: DateTime.parse("2022-03-29"), lastTakenDate: DateTime.parse("2022-03-29"), @@ -1238,7 +1238,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["sheet_id", "sheet_id2"], - pillSheets: [pillShee$1, pillShee$2], + pillSheets: [pillSheet1, pillSheet2], createdAt: now(), displayNumberSetting: const PillSheetGroupDisplayNumberSetting(beginPillNumber: 2, endPillNumber: 28), pillSheetAppearanceMode: PillSheetAppearanceMode.sequential, @@ -1409,7 +1409,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), groupIndex: 1, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28)), @@ -1422,7 +1422,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$3 = PillSheet( + final pillSheet3 = PillSheet( id: firestoreIDGenerator(), groupIndex: 2, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28 * 2)), @@ -1438,7 +1438,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["1", "2", "3"], - pillSheets: [pillSheet, pillShee$2, pillShee$3], + pillSheets: [pillSheet, pillSheet2, pillSheet3], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); @@ -1469,7 +1469,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), groupIndex: 1, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28)), @@ -1482,7 +1482,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$3 = PillSheet( + final pillSheet3 = PillSheet( id: firestoreIDGenerator(), groupIndex: 2, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28 * 2)), @@ -1498,7 +1498,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["1", "2", "3"], - pillSheets: [pillSheet, pillShee$2, pillShee$3], + pillSheets: [pillSheet, pillSheet2, pillSheet3], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); @@ -1542,7 +1542,7 @@ void main() { endDate: null, ), ]); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), groupIndex: 1, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28 + pastDaysFromBeginRestDuration)), @@ -1555,7 +1555,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$3 = PillSheet( + final pillSheet3 = PillSheet( id: firestoreIDGenerator(), groupIndex: 2, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28 * 2 + pastDaysFromBeginRestDuration)), @@ -1571,7 +1571,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["1", "2", "3"], - pillSheets: [pillSheet, pillShee$2, pillShee$3], + pillSheets: [pillSheet, pillSheet2, pillSheet3], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); @@ -1615,7 +1615,7 @@ void main() { endDate: DateTime.parse("2020-09-10").add(const Duration(days: restDurationDays)), ), ]); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), groupIndex: 1, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28 + restDurationDays)), @@ -1628,7 +1628,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$3 = PillSheet( + final pillSheet3 = PillSheet( id: firestoreIDGenerator(), groupIndex: 2, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28 * 2 + restDurationDays)), @@ -1644,7 +1644,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["1", "2", "3"], - pillSheets: [pillSheet, pillShee$2, pillShee$3], + pillSheets: [pillSheet, pillSheet2, pillSheet3], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); @@ -1680,7 +1680,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), groupIndex: 1, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28)), @@ -1693,7 +1693,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$3 = PillSheet( + final pillSheet3 = PillSheet( id: firestoreIDGenerator(), groupIndex: 2, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28 * 2)), @@ -1709,7 +1709,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["1", "2", "3"], - pillSheets: [pillSheet, pillShee$2, pillShee$3], + pillSheets: [pillSheet, pillSheet2, pillSheet3], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); @@ -1741,7 +1741,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), groupIndex: 1, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28)), @@ -1754,7 +1754,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$3 = PillSheet( + final pillSheet3 = PillSheet( id: firestoreIDGenerator(), groupIndex: 2, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28 * 2)), @@ -1770,7 +1770,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["1", "2", "3"], - pillSheets: [pillSheet, pillShee$2, pillShee$3], + pillSheets: [pillSheet, pillSheet2, pillSheet3], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); @@ -1805,7 +1805,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: firestoreIDGenerator(), groupIndex: 1, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28)), @@ -1818,7 +1818,7 @@ void main() { pillSheetTypeReferencePath: sheetType.rawPath, ), ); - final pillShee$3 = PillSheet( + final pillSheet3 = PillSheet( id: firestoreIDGenerator(), groupIndex: 2, beginingDate: DateTime.parse("2020-09-01").add(const Duration(days: 28 * 2)), @@ -1834,7 +1834,7 @@ void main() { // created at and id are anything value final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["1", "2", "3"], - pillSheets: [pillSheet, pillShee$2, pillShee$3], + pillSheets: [pillSheet, pillSheet2, pillSheet3], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); diff --git a/test/features/calendar/util_test.dart b/test/features/calendar/util_test.dart index 5006b9a9fb..af5ed4f177 100644 --- a/test/features/calendar/util_test.dart +++ b/test/features/calendar/util_test.dart @@ -40,7 +40,7 @@ void main() { lastTakenDate: null, createdAt: now(), ); - var pillShee$2 = PillSheet( + var pillSheet2 = PillSheet( id: firestoreIDGenerator(), typeInfo: PillSheetType.pillsheet_24_0.typeInfo, beginingDate: beginingDate.add(const Duration(days: 28)), @@ -49,7 +49,7 @@ void main() { ); final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["1", "2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); @@ -96,7 +96,7 @@ void main() { lastTakenDate: null, createdAt: now(), ); - var pillShee$2 = PillSheet( + var pillSheet2 = PillSheet( id: firestoreIDGenerator(), typeInfo: PillSheetType.pillsheet_21_0.typeInfo, beginingDate: beginingDate.add(const Duration(days: 28)), @@ -105,7 +105,7 @@ void main() { ); final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["1", "2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); @@ -152,7 +152,7 @@ void main() { lastTakenDate: null, createdAt: now(), ); - var pillShee$2 = PillSheet( + var pillSheet2 = PillSheet( id: firestoreIDGenerator(), typeInfo: PillSheetType.pillsheet_24_0.typeInfo, beginingDate: beginingDate.add(const Duration(days: 28)), @@ -161,7 +161,7 @@ void main() { ); final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["1", "2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); @@ -623,7 +623,7 @@ void main() { lastTakenDate: null, createdAt: now(), ); - var pillShee$2 = PillSheet( + var pillSheet2 = PillSheet( id: firestoreIDGenerator(), typeInfo: PillSheetType.pillsheet_21_0.typeInfo, beginingDate: beginingDate.add(const Duration(days: 28)), @@ -632,7 +632,7 @@ void main() { ); final pillSheetGroup = PillSheetGroup( pillSheetIDs: ["1", "2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.number, ); diff --git a/test/features/initial_setting/initial_setting_state_notifier_test.dart b/test/features/initial_setting/initial_setting_state_notifier_test.dart index a4562b8028..50f8cb5e15 100644 --- a/test/features/initial_setting/initial_setting_state_notifier_test.dart +++ b/test/features/initial_setting/initial_setting_state_notifier_test.dart @@ -370,7 +370,7 @@ void main() { lastTakenDate: DateTime.parse("2020-09-18"), createdAt: now(), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: "sheet_id2", typeInfo: PillSheetType.pillsheet_21.typeInfo, beginingDate: mockToday, @@ -383,7 +383,7 @@ void main() { pillSheetIDs: ["sheet_id", "sheet_id2"], pillSheets: [ pillSheet.copyWith(id: "sheet_id"), - pillShee$2.copyWith(id: "sheet_id2"), + pillSheet2.copyWith(id: "sheet_id2"), ], createdAt: now(), pillSheetAppearanceMode: PillSheetAppearanceMode.date, diff --git a/test/features/record/provider/add_pill_sheet_group_test.dart b/test/features/record/provider/add_pill_sheet_group_test.dart index db959664cf..2d9d41bea1 100644 --- a/test/features/record/provider/add_pill_sheet_group_test.dart +++ b/test/features/record/provider/add_pill_sheet_group_test.dart @@ -121,7 +121,7 @@ void main() { lastTakenDate: null, createdAt: now(), ); - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: "sheet_id2", typeInfo: PillSheetType.pillsheet_21.typeInfo, beginingDate: mockToday.add(const Duration(days: 28)), @@ -134,7 +134,7 @@ void main() { pillSheetIDs: ["sheet_id", "sheet_id2"], pillSheets: [ pillSheet.copyWith(id: "sheet_id"), - pillShee$2.copyWith(id: "sheet_id2"), + pillSheet2.copyWith(id: "sheet_id2"), ], createdAt: now(), ); diff --git a/test/features/record/provider/revert_take_pill_test.dart b/test/features/record/provider/revert_take_pill_test.dart index dca3d2f161..29066b3e91 100644 --- a/test/features/record/provider/revert_take_pill_test.dart +++ b/test/features/record/provider/revert_take_pill_test.dart @@ -357,7 +357,7 @@ void main() { ); // actived pill sheet - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: "2", typeInfo: PillSheetType.pillsheet_21.typeInfo, beginingDate: yesterday, @@ -369,7 +369,7 @@ void main() { final pillSheetGroup = PillSheetGroup( id: "group_id", pillSheetIDs: ["1", "2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), ); final updatedPillSheetGroup = PillSheetGroup( @@ -377,7 +377,7 @@ void main() { pillSheetIDs: ["1", "2"], pillSheets: [ pillSheet, - pillShee$2.copyWith( + pillSheet2.copyWith( lastTakenDate: yesterday, ), ], @@ -388,8 +388,8 @@ void main() { final history = PillSheetModifiedHistoryServiceActionFactory.createRevertTakenPillAction( pillSheetGroupID: "group_id", - before: pillShee$2, - after: pillShee$2.copyWith( + before: pillSheet2, + after: pillSheet2.copyWith( lastTakenDate: yesterday, ), beforePillSheetGroup: pillSheetGroup, @@ -442,7 +442,7 @@ void main() { ); // actived pill sheet - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: "2", typeInfo: PillSheetType.pillsheet_21.typeInfo, beginingDate: yesterday, @@ -454,7 +454,7 @@ void main() { final pillSheetGroup = PillSheetGroup( id: "group_id", pillSheetIDs: ["1", "2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), ); final updatedPillSheetGroup = PillSheetGroup( @@ -464,7 +464,7 @@ void main() { pillSheet.copyWith( lastTakenDate: mockToday.subtract(const Duration(days: 4)), ), - pillShee$2.copyWith( + pillSheet2.copyWith( lastTakenDate: null, ), ], @@ -475,7 +475,7 @@ void main() { final history = PillSheetModifiedHistoryServiceActionFactory.createRevertTakenPillAction( pillSheetGroupID: "group_id", - before: pillShee$2, + before: pillSheet2, after: pillSheet.copyWith(lastTakenDate: mockToday.subtract(const Duration(days: 4))), beforePillSheetGroup: pillSheetGroup, afterPillSheetGroup: updatedPillSheetGroup, @@ -526,7 +526,7 @@ void main() { ); // actived pill sheet - final pillShee$2 = PillSheet( + final pillSheet2 = PillSheet( id: "2", typeInfo: PillSheetType.pillsheet_21.typeInfo, beginingDate: yesterday, @@ -541,7 +541,7 @@ void main() { final pillSheetGroup = PillSheetGroup( id: "group_id", pillSheetIDs: ["1", "2"], - pillSheets: [pillSheet, pillShee$2], + pillSheets: [pillSheet, pillSheet2], createdAt: now(), ); final updatedPillSheetGroup = PillSheetGroup( @@ -551,8 +551,8 @@ void main() { pillSheet.copyWith( lastTakenDate: mockToday.subtract(const Duration(days: 4)), ), - pillShee$2.copyWith( - lastTakenDate: pillShee$2.beginingDate.subtract(const Duration(days: 1)), + pillSheet2.copyWith( + lastTakenDate: pillSheet2.beginingDate.subtract(const Duration(days: 1)), restDurations: [], ) ], @@ -563,7 +563,7 @@ void main() { final history = PillSheetModifiedHistoryServiceActionFactory.createRevertTakenPillAction( pillSheetGroupID: "group_id", - before: pillShee$2, + before: pillSheet2, after: pillSheet.copyWith(lastTakenDate: mockToday.subtract(const Duration(days: 4)), restDurations: []), beforePillSheetGroup: pillSheetGroup, afterPillSheetGroup: updatedPillSheetGroup,