apps/driver كان يشير إلى `../../Intaleq/packages/get` خارج المستودع — وهو مسار يُحل من apps/driver إلى Tripz/Intaleq/ غير الموجود، فلا يمرّ `flutter pub get` إطلاقاً. (فجوة docs/30 §2.6.) ضُمّت نسخة **انطلق** تحديداً (App/Intaleq/packages) لا فرع apps/rider: الفرعان يختلفان فعلاً — snackbar_controller.dart و get_queue.dart وغيرهما مختلفة بين النسختين، فاستعارة فرع rider كانت ستغيّر سلوك السائق صامتة. apps/driver/packages/get (3.5 م.ب، 202 ملف dart مع get_storage) apps/driver/packages/get_storage pubspec: ../../Intaleq/packages/* → ./packages/* (3 مواضع، منها dependency_overrides سطر 142) المستودع صار مكتفياً ذاتياً: لا تبعية مسار خارج شجرته. لم يُمسّ App/Intaleq. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
103 lines
2.5 KiB
Dart
103 lines
2.5 KiB
Dart
// import 'package:flutter_test/flutter_test.dart';
|
|
// import 'package:get/get.dart';
|
|
|
|
void main() {
|
|
// testWidgets(
|
|
// "GetMaterialApp with routes null",
|
|
// (tester) async {
|
|
// expect(
|
|
// () => GetMaterialApp(
|
|
// routes: null,
|
|
// ),
|
|
// throwsAssertionError);
|
|
// },
|
|
// );
|
|
|
|
// testWidgets(
|
|
// "GetMaterialApp with navigatorObservers null",
|
|
// (tester) async {
|
|
// expect(
|
|
// () => GetMaterialApp(
|
|
// navigatorObservers: null,
|
|
// ),
|
|
// throwsAssertionError);
|
|
// },
|
|
// );
|
|
// testWidgets(
|
|
// "GetMaterialApp with title null",
|
|
// (tester) async {
|
|
// expect(
|
|
// () => GetMaterialApp(
|
|
// title: null,
|
|
// ),
|
|
// throwsAssertionError);
|
|
// },
|
|
// );
|
|
// testWidgets(
|
|
// "GetMaterialApp with debugShowMaterialGrid null",
|
|
// (test) async {
|
|
// expect(
|
|
// () => GetMaterialApp(
|
|
// debugShowMaterialGrid: null,
|
|
// ),
|
|
// throwsAssertionError,
|
|
// );
|
|
// },
|
|
// );
|
|
// testWidgets(
|
|
// "GetMaterialApp with showPerformanceOverlay null",
|
|
// (test) async {
|
|
// expect(
|
|
// () => GetMaterialApp(
|
|
// showPerformanceOverlay: null,
|
|
// ),
|
|
// throwsAssertionError,
|
|
// );
|
|
// },
|
|
// );
|
|
// testWidgets(
|
|
// "GetMaterialApp with showSemanticsDebugger null",
|
|
// (test) async {
|
|
// expect(
|
|
// () => GetMaterialApp(
|
|
// showSemanticsDebugger: null,
|
|
// ),
|
|
// throwsAssertionError,
|
|
// );
|
|
// },
|
|
// );
|
|
// testWidgets(
|
|
// "GetMaterialApp with debugShowCheckedModeBanner null",
|
|
// (tester) async {
|
|
// expect(
|
|
// () => GetMaterialApp(
|
|
// debugShowCheckedModeBanner: null,
|
|
// ),
|
|
// throwsAssertionError);
|
|
// },
|
|
// );
|
|
|
|
// testWidgets(
|
|
// "GetMaterialApp with checkerboardRasterCacheImages null",
|
|
// (tester) async {
|
|
// expect(
|
|
// () => GetMaterialApp(
|
|
// checkerboardRasterCacheImages: null,
|
|
// ),
|
|
// throwsAssertionError);
|
|
// },
|
|
// );
|
|
|
|
// testWidgets(
|
|
// "GetMaterialApp with checkerboardOffscreenLayers null",
|
|
// (tester) async {
|
|
// expect(
|
|
// () => GetMaterialApp(
|
|
// checkerboardOffscreenLayers: null,
|
|
// ),
|
|
// throwsAssertionError,
|
|
// );
|
|
// },
|
|
// );
|
|
}
|