Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(package_info_plus)!: two-package federated architecture (#1236)
- Loading branch information
Showing
39 changed files
with
41 additions
and
601 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
...ux/test/package_info_plus_linux_test.dart → ...us/test/package_info_plus_linux_test.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import 'package:flutter_test/flutter_test.dart'; | ||
import 'package:package_info_plus_linux/src/package_info.dart'; | ||
import 'package:package_info_plus/package_info_plus.dart'; | ||
import 'package:package_info_plus_platform_interface/package_info_platform_interface.dart'; | ||
|
||
void main() { | ||
test('registered instance', () { | ||
PackageInfoLinux.registerWith(); | ||
expect(PackageInfoPlatform.instance, isA<PackageInfoLinux>()); | ||
PackageInfoPlusLinuxPlugin.registerWith(); | ||
expect(PackageInfoPlatform.instance, isA<PackageInfoPlusLinuxPlugin>()); | ||
}); | ||
} |
2 changes: 1 addition & 1 deletion
2
...est/package_info_plus_web_test.mocks.dart → ...est/package_info_plus_web_test.mocks.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
.../test/package_info_plus_windows_test.dart → .../test/package_info_plus_windows_test.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
import 'package:flutter_test/flutter_test.dart'; | ||
import 'package:package_info_plus/src/package_info_plus_windows.dart'; | ||
import 'package:package_info_plus_platform_interface/package_info_platform_interface.dart'; | ||
import 'package:package_info_plus_windows/src/package_info_plus_windows.dart'; | ||
|
||
void main() { | ||
test('registered instance', () { | ||
PackageInfoWindows.registerWith(); | ||
expect(PackageInfoPlatform.instance, isA<PackageInfoWindows>()); | ||
PackageInfoPlusWindowsPlugin.registerWith(); | ||
expect(PackageInfoPlatform.instance, isA<PackageInfoPlusWindowsPlugin>()); | ||
}); | ||
} |
7 changes: 0 additions & 7 deletions
7
packages/package_info_plus/package_info_plus_linux/.gitignore
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
packages/package_info_plus/package_info_plus_linux/.metadata
This file was deleted.
Oops, something went wrong.
36 changes: 0 additions & 36 deletions
36
packages/package_info_plus/package_info_plus_linux/CHANGELOG.md
This file was deleted.
Oops, something went wrong.
27 changes: 0 additions & 27 deletions
27
packages/package_info_plus/package_info_plus_linux/LICENSE
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
packages/package_info_plus/package_info_plus_linux/README.md
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
packages/package_info_plus/package_info_plus_linux/lib/package_info_plus_linux.dart
This file was deleted.
Oops, something went wrong.
28 changes: 0 additions & 28 deletions
28
packages/package_info_plus/package_info_plus_linux/pubspec.yaml
This file was deleted.
Oops, something went wrong.
39 changes: 0 additions & 39 deletions
39
packages/package_info_plus/package_info_plus_macos/CHANGELOG.md
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.