Viewing version 3.0.2. Open the latest package page.
leak_tracker_testing
3.0.2Leak tracking code intended for usage in tests.
Readme
Coming soon! See https://github.com/flutter/devtools/issues/3951.
What is this?
This package contains the test-only leak tracking APIs for pure dart projects.
They are separated from leak_tracker to make sure
testing code is not used in production.
Read more in leak tracking overview.
Changelog
3.0.2
- Update
leak_trackerdependency to>=9.0.0 <12.0.0.
3.0.1
- Fixed typo by renaming
experimantalAllNotGCedtoexperimentalAllNotGCed.
3.0.0
- Rename
IgnoredLeaks.notGCedtoIgnoredLeaks.experimentalNotGCedand make notGCed leaks ignored by leak tracking tests by default.
2.0.3
- Require Dart SDK 3.2.0 or later.
2.0.2
- Allow to ignore objects created by test helpers.
- Set
ignore = falseby default.
2.0.1
- Add LeakTesting.enabled.
2.0.0
- Remove fields
failOnLeaksCollectedandonLeaksfromLeakTesting.
1.0.6
- Updated to use
package:lints/recommended.yamlfor analysis. - Move LeakTesting from leak_tracker to this library.
1.0.5
- Stop depending on test.
1.0.4
- Bump version of SDK to 3.1.2.
1.0.3
- Update version of leak_tracker to
^9.0.0.
1.0.2
- Update version of leak_tracker to
^8.0.0. - Set version of leak_tracker to
any.
1.0.0
- Create version.
Installing
export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'leak_tracker_testing:3.0.2'pubspec.yaml
name: leak_tracker_testing
version: 3.0.2
description: Leak tracking code intended for usage in tests.
repository: https://github.com/dart-lang/leak_tracker/tree/main/pkgs/leak_tracker_testing
environment:
sdk: ^3.2.0
# All dependencies here will become Flutter transitive dependencies.
# Follow the process when adding:
# https://github.com/flutter/flutter/blob/2be9b613099250cf8e84e1498a7624d9d2e04023/dev/bots/allowlist.dart#L13
dependencies:
leak_tracker: '>=9.0.0 <12.0.0'
matcher: ^0.12.16
meta: ^1.11.0
dev_dependencies:
dart_flutter_team_lints: ^3.1.0
layerlens: ^1.0.16
test: ^1.16.0
Version history
| Version | Published | Archive | SHA-256 |
|---|---|---|---|
| 1.0.0 | On demand | Download | c94a99b6…1191b5 |
| 1.0.2 | On demand | Download | bfeec36d…b21de9 |
| 1.0.3 | On demand | Download | 5639e396…5cb1f0 |
| 1.0.4 | On demand | Download | 7b02706e…b01cc7 |
| 1.0.5 | On demand | Download | b0673934…79a6ff |
| 1.0.6 | On demand | Download | 7e71be3c…2c9116 |
| 2.0.1 | On demand | Download | a597f72a…f3ab47 |
| 2.0.2 | On demand | Download | e62042d4…6d9df4 |
| 2.0.3 | On demand | Download | d4c8f568…de42ce |
| 3.0.0 | On demand | Download | fd3cd66c…a0d23d |
| 3.0.1 | On demand | Download | 6ba465d5…fb06d3 |
| 3.0.2 | Cached · Upstream SHA-256 matched | Download | 8d5a2d49…cb2eb1 |
Dependencies
leak_tracker "\u003e=9.0.0 \u003c12.0.0"
matcher "^0.12.16"
meta "^1.11.0"