mirror of
https://github.com/flutter/packages.git
synced 2025-06-30 14:47:22 +08:00
Review Changes
This commit is contained in:
@ -64,6 +64,12 @@ pub global run flutter_plugin_tools format --plugins package_name
|
||||
pub global run flutter_plugin_tools analyze --plugins package_name
|
||||
pub global run flutter_plugin_tools test --plugins package_name
|
||||
```
|
||||
* Check that the package can be published (but don't publish it until it has landed!):
|
||||
|
||||
```
|
||||
cd packages/package_name; pub publish --dry-run
|
||||
```
|
||||
|
||||
* `git commit -a -m "<your informative commit message>"`
|
||||
* `git push origin <name_of_your_branch>`
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
# Flutter Packages
|
||||
|
||||
[](https://travis-ci.org/flutter/packages)
|
||||
[](https://cirrus-ci.com/github/flutter/packages)
|
||||
[](https://cirrus-ci.com/github/flutter/packages/master)
|
||||
|
||||
This repo is a companion repo to the main [flutter repo](
|
||||
https://github.com/flutter/flutter). It contains the source code for Flutter's
|
||||
|
@ -65,12 +65,11 @@ void main() async {
|
||||
testImages[name] = await loadImage('$name.png');
|
||||
}
|
||||
|
||||
testWidgets('Initialize the image cache', (WidgetTester tester) {
|
||||
testWidgets('Initialize the image cache', (WidgetTester tester) async {
|
||||
// We need to have a testWidgets test in order to initialize the image
|
||||
// cache for the other tests, but they timeout if they too are testWidgets
|
||||
// tests.
|
||||
tester.pumpWidget(const Placeholder());
|
||||
return new Future<Null>.value();
|
||||
});
|
||||
|
||||
test('PaletteGenerator works on 1-pixel wide blue image', () async {
|
||||
|
Reference in New Issue
Block a user