super_cache_testing 1.1.0
super_cache_testing: ^1.1.0 copied to clipboard
Test utilities for super_cache. FakeCache and ManualClock for deterministic TTL and eviction tests without Future.delayed. Part of the super_cache family.
1.1.0 #
FakeCacheinternals modernised; no API changes.- Raised minimum SDK to Dart 3.10 / Flutter 3.38 and adopted modern language features (dot shorthands, null-aware elements, patterns, wildcards).
- Upgraded to
flutter_lints6 and the tall-style formatter.
1.0.1 #
- Improved README with badge set and package family links.
- Fixed pubspec description length to comply with pub.dev guidelines.
- Fixed dart format issues in source and example files.
1.0.0 #
- Initial stable release.
FakeCache<K,V>— synchronousCache<K,V>withputs,getscounters andreset().ManualClock— injectable time source withadvance(Duration)andsetTime(DateTime).- Deterministic TTL and eviction tests without
Future.delayed. - Throws
StateErrorafterdispose()— same contract as production caches.