Skip to content

Latest commit

 

History

History
48 lines (27 loc) · 1.16 KB

File metadata and controls

48 lines (27 loc) · 1.16 KB

NEXT

  • Adds additional tests for PlatformInterface and MockPlatformInterfaceMixin.

2.1.2

  • Updates README to demonstrate verify rather than verifyToken, and to note that the test mixin applies to fakes as well as mocks.
  • Adds an additional test for verifyToken.

2.1.1

  • Fixes verify to work with fake objects, not just mocks.

2.1.0

  • Introduce verify, which prevents use of const Object() as instance token.
  • Add a comment indicating that verifyToken will be deprecated in a future release.

2.0.2

  • Update package description.

2.0.1

  • Fix federated flutter plugins link in the README.md.

2.0.0

  • Migrate to null safety.

1.0.3

  • Fix homepage in pubspec.yaml.

1.0.2

  • Make the pedantic dev_dependency explicit.

1.0.1

  • Fixed a bug that made all platform interfaces appear as mocks in release builds (flutter/flutter#46941).

1.0.0 - Initial release.

  • Provides PlatformInterface with common mechanism for enforcing that a platform interface is not implemented with implements.
  • Provides test only MockPlatformInterface to enable using Mockito to mock platform interfaces.