@@ -120,7 +120,7 @@ void main() async {
120
120
(WidgetTester tester) async {
121
121
await tester.runAsync (() async {
122
122
await tester.pumpWidget (EasyLocalization (
123
- path: 'i18n' ,
123
+ path: '../../ i18n' ,
124
124
assetLoader: const RootBundleAssetLoader (),
125
125
supportedLocales: const [Locale ('en' , 'US' )],
126
126
child: const MyApp (),
@@ -150,7 +150,7 @@ void main() async {
150
150
(WidgetTester tester) async {
151
151
await tester.runAsync (() async {
152
152
await tester.pumpWidget (EasyLocalization (
153
- path: 'i18n' ,
153
+ path: '../../ i18n' ,
154
154
supportedLocales: const [Locale ('en' , 'US' )],
155
155
child: const MyApp (),
156
156
));
@@ -198,7 +198,7 @@ void main() async {
198
198
(WidgetTester tester) async {
199
199
await tester.runAsync (() async {
200
200
await tester.pumpWidget (EasyLocalization (
201
- path: 'i18n' ,
201
+ path: '../../ i18n' ,
202
202
supportedLocales: const [Locale ('en' , 'US' )],
203
203
child: const MyApp (),
204
204
));
@@ -241,7 +241,7 @@ void main() async {
241
241
(WidgetTester tester) async {
242
242
await tester.runAsync (() async {
243
243
await tester.pumpWidget (EasyLocalization (
244
- path: 'i18n' ,
244
+ path: '../../ i18n' ,
245
245
supportedLocales: const [Locale ('en' , 'US' ), Locale ('ar' , 'DZ' )],
246
246
child: const MyApp (),
247
247
));
@@ -299,7 +299,7 @@ void main() async {
299
299
(WidgetTester tester) async {
300
300
await tester.runAsync (() async {
301
301
await tester.pumpWidget (EasyLocalization (
302
- path: 'i18n' ,
302
+ path: '../../ i18n' ,
303
303
supportedLocales: const [Locale ('en' , 'US' ), Locale ('ar' , 'DZ' )],
304
304
child: const MyApp (),
305
305
));
@@ -340,7 +340,7 @@ void main() async {
340
340
(WidgetTester tester) async {
341
341
await tester.runAsync (() async {
342
342
await tester.pumpWidget (EasyLocalization (
343
- path: 'i18n' ,
343
+ path: '../../ i18n' ,
344
344
saveLocale: false ,
345
345
useOnlyLangCode: true ,
346
346
supportedLocales: const [Locale ('en' ), Locale ('ar' )],
@@ -366,7 +366,7 @@ void main() async {
366
366
(WidgetTester tester) async {
367
367
await tester.runAsync (() async {
368
368
await tester.pumpWidget (EasyLocalization (
369
- path: 'i18n' ,
369
+ path: '../../ i18n' ,
370
370
saveLocale: false ,
371
371
useOnlyLangCode: true ,
372
372
supportedLocales: const [Locale ('en' ), Locale ('ar' )],
@@ -392,7 +392,7 @@ void main() async {
392
392
(WidgetTester tester) async {
393
393
await tester.runAsync (() async {
394
394
await tester.pumpWidget (EasyLocalization (
395
- path: 'i18n' ,
395
+ path: '../../ i18n' ,
396
396
saveLocale: false ,
397
397
useOnlyLangCode: true ,
398
398
supportedLocales: const [Locale ('ar' )],
@@ -417,7 +417,7 @@ void main() async {
417
417
(WidgetTester tester) async {
418
418
await tester.runAsync (() async {
419
419
await tester.pumpWidget (EasyLocalization (
420
- path: 'i18n' ,
420
+ path: '../../ i18n' ,
421
421
saveLocale: false ,
422
422
useOnlyLangCode: true ,
423
423
// fallbackLocale:Locale('en') ,
@@ -448,7 +448,7 @@ void main() async {
448
448
(WidgetTester tester) async {
449
449
await tester.runAsync (() async {
450
450
await tester.pumpWidget (EasyLocalization (
451
- path: 'i18n' ,
451
+ path: '../../ i18n' ,
452
452
// fallbackLocale:Locale('en') ,
453
453
supportedLocales: const [Locale ('en' ), Locale ('ar' )],
454
454
child: const MyApp (), //
@@ -470,7 +470,7 @@ void main() async {
470
470
(WidgetTester tester) async {
471
471
await tester.runAsync (() async {
472
472
await tester.pumpWidget (EasyLocalization (
473
- path: 'i18n' ,
473
+ path: '../../ i18n' ,
474
474
// fallbackLocale:Locale('en') ,
475
475
supportedLocales: const [Locale ('en' , 'US' ), Locale ('ar' , 'DZ' )],
476
476
child: const MyApp (), //
@@ -493,7 +493,7 @@ void main() async {
493
493
(WidgetTester tester) async {
494
494
await tester.runAsync (() async {
495
495
await tester.pumpWidget (EasyLocalization (
496
- path: 'i18n' ,
496
+ path: '../../ i18n' ,
497
497
startLocale: const Locale ('ar' , 'DZ' ),
498
498
// fallbackLocale:Locale('en') ,
499
499
supportedLocales: const [Locale ('en' , 'US' ), Locale ('ar' , 'DZ' )],
@@ -527,7 +527,7 @@ void main() async {
527
527
(WidgetTester tester) async {
528
528
await tester.runAsync (() async {
529
529
await tester.pumpWidget (EasyLocalization (
530
- path: 'i18n' ,
530
+ path: '../../ i18n' ,
531
531
saveLocale: true ,
532
532
// fallbackLocale:Locale('en') ,
533
533
useOnlyLangCode: true ,
@@ -560,7 +560,7 @@ void main() async {
560
560
(WidgetTester tester) async {
561
561
await tester.runAsync (() async {
562
562
await tester.pumpWidget (EasyLocalization (
563
- path: 'i18n' ,
563
+ path: '../../ i18n' ,
564
564
saveLocale: true ,
565
565
// fallbackLocale:Locale('en') ,
566
566
supportedLocales: const [Locale ('en' , 'US' ), Locale ('ar' , 'DZ' )],
@@ -584,7 +584,7 @@ void main() async {
584
584
(WidgetTester tester) async {
585
585
await tester.runAsync (() async {
586
586
await tester.pumpWidget (EasyLocalization (
587
- path: 'i18n' ,
587
+ path: '../../ i18n' ,
588
588
saveLocale: false ,
589
589
// fallbackLocale:Locale('en') ,
590
590
supportedLocales: const [Locale ('en' , 'US' ), Locale ('ar' , 'DZ' )],
@@ -617,7 +617,7 @@ void main() async {
617
617
(WidgetTester tester) async {
618
618
await tester.runAsync (() async {
619
619
await tester.pumpWidget (EasyLocalization (
620
- path: 'i18n' ,
620
+ path: '../../ i18n' ,
621
621
// fallbackLocale:Locale('en') ,
622
622
supportedLocales: const [Locale ('en' , 'US' ), Locale ('ar' , 'DZ' )],
623
623
child: const MyApp (), // Locale('en', 'US'), Locale('ar','DZ')
@@ -638,7 +638,7 @@ void main() async {
638
638
(WidgetTester tester) async {
639
639
await tester.runAsync (() async {
640
640
await tester.pumpWidget (EasyLocalization (
641
- path: 'i18n' ,
641
+ path: '../../ i18n' ,
642
642
// fallbackLocale:Locale('en') ,
643
643
supportedLocales: const [Locale ('en' , 'US' ), Locale ('ar' , 'DZ' )],
644
644
child: const MyApp (), // Locale('en', 'US'), Locale('ar','DZ')
@@ -658,7 +658,7 @@ void main() async {
658
658
(WidgetTester tester) async {
659
659
await tester.runAsync (() async {
660
660
await tester.pumpWidget (EasyLocalization (
661
- path: 'i18n' ,
661
+ path: '../../ i18n' ,
662
662
supportedLocales: const [Locale ('en' , 'US' ), Locale ('ar' , 'DZ' )],
663
663
child: const MyApp (), // Locale('en', 'US'), Locale('ar','DZ')
664
664
));
@@ -677,7 +677,7 @@ void main() async {
677
677
(WidgetTester tester) async {
678
678
await tester.runAsync (() async {
679
679
await tester.pumpWidget (EasyLocalization (
680
- path: 'i18n' ,
680
+ path: '../../ i18n' ,
681
681
supportedLocales: const [
682
682
Locale ('en' , 'US' ),
683
683
Locale ('ar' , 'DZ' )
@@ -705,7 +705,7 @@ void main() async {
705
705
(WidgetTester tester) async {
706
706
await tester.runAsync (() async {
707
707
await tester.pumpWidget (EasyLocalization (
708
- path: 'i18n' ,
708
+ path: '../../ i18n' ,
709
709
supportedLocales: const [Locale ('en' , 'US' ), Locale ('ar' , 'DZ' )],
710
710
child: const MyApp (), // Locale('en', 'US'), Locale('ar','DZ')
711
711
));
@@ -724,7 +724,7 @@ void main() async {
724
724
(WidgetTester tester) async {
725
725
await tester.runAsync (() async {
726
726
await tester.pumpWidget (EasyLocalization (
727
- path: 'i18n' ,
727
+ path: '../../ i18n' ,
728
728
supportedLocales: const [
729
729
Locale ('en' , 'US' ),
730
730
Locale ('ar' , 'DZ' )
@@ -750,7 +750,7 @@ void main() async {
750
750
751
751
group ('Context extensions tests' , () {
752
752
final testWidget = EasyLocalization (
753
- path: 'i18n' ,
753
+ path: '../../ i18n' ,
754
754
supportedLocales: const [
755
755
Locale ('en' , 'US' ),
756
756
Locale ('ar' , 'DZ' )
0 commit comments