File tree Expand file tree Collapse file tree 10 files changed +70
-0
lines changed
camera_platform_interface Expand file tree Collapse file tree 10 files changed +70
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ dev_dependencies:
30
30
build_runner : ^2.4.11
31
31
flutter_test :
32
32
sdk : flutter
33
+ leak_tracker_flutter_testing : any
33
34
mockito : ^5.4.4
34
35
pigeon : ^22.4.1
35
36
Original file line number Diff line number Diff line change
1
+ // Copyright 2013 The Flutter Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ import 'dart:async' ;
6
+
7
+ import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart' ;
8
+
9
+ Future <void > testExecutable (FutureOr <void > Function () testMain) async {
10
+ LeakTesting .enable ();
11
+ LeakTracking .warnForUnsupportedPlatforms = false ;
12
+ await testMain ();
13
+ }
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ dev_dependencies:
31
31
sdk : flutter
32
32
integration_test :
33
33
sdk : flutter
34
+ leak_tracker_flutter_testing : any
34
35
mockito : ^5.4.4
35
36
pigeon : ^9.1.0
36
37
Original file line number Diff line number Diff line change
1
+ // Copyright 2013 The Flutter Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ import 'dart:async' ;
6
+
7
+ import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart' ;
8
+
9
+ Future <void > testExecutable (FutureOr <void > Function () testMain) async {
10
+ LeakTesting .enable ();
11
+ LeakTracking .warnForUnsupportedPlatforms = false ;
12
+ await testMain ();
13
+ }
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ dev_dependencies:
27
27
build_runner : ^2.4.9
28
28
flutter_test :
29
29
sdk : flutter
30
+ leak_tracker_flutter_testing : any
30
31
mockito : ^5.4.4
31
32
pigeon : ^22.4.2
32
33
Original file line number Diff line number Diff line change
1
+ // Copyright 2013 The Flutter Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ import 'dart:async' ;
6
+
7
+ import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart' ;
8
+
9
+ Future <void > testExecutable (FutureOr <void > Function () testMain) async {
10
+ LeakTesting .enable ();
11
+ LeakTracking .warnForUnsupportedPlatforms = false ;
12
+ await testMain ();
13
+ }
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ dev_dependencies:
21
21
async : ^2.5.0
22
22
flutter_test :
23
23
sdk : flutter
24
+ leak_tracker_flutter_testing : any
24
25
25
26
topics :
26
27
- camera
Original file line number Diff line number Diff line change
1
+ // Copyright 2013 The Flutter Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ import 'dart:async' ;
6
+
7
+ import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart' ;
8
+
9
+ Future <void > testExecutable (FutureOr <void > Function () testMain) async {
10
+ LeakTesting .enable ();
11
+ LeakTracking .warnForUnsupportedPlatforms = false ;
12
+ await testMain ();
13
+ }
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ dev_dependencies:
28
28
build_runner : ^2.4.9
29
29
flutter_test :
30
30
sdk : flutter
31
+ leak_tracker_flutter_testing : any
31
32
mockito : ^5.4.4
32
33
pigeon : ^22.6.0
33
34
Original file line number Diff line number Diff line change
1
+ // Copyright 2013 The Flutter Authors. All rights reserved.
2
+ // Use of this source code is governed by a BSD-style license that can be
3
+ // found in the LICENSE file.
4
+
5
+ import 'dart:async' ;
6
+
7
+ import 'package:leak_tracker_flutter_testing/leak_tracker_flutter_testing.dart' ;
8
+
9
+ Future <void > testExecutable (FutureOr <void > Function () testMain) async {
10
+ LeakTesting .enable ();
11
+ LeakTracking .warnForUnsupportedPlatforms = false ;
12
+ await testMain ();
13
+ }
You can’t perform that action at this time.
0 commit comments