[H] Cleanup (#21542)

* Improve documentation and clean up code.

* Remove "Note that".

The phrase "note that" is basically meaningless as a prefix to an
otherwise fine sentence.
This commit is contained in:
Ian Hickson
2018-09-22 02:02:56 -07:00
committed by GitHub
parent 5991f1f866
commit 989cf18b0d
23 changed files with 94 additions and 66 deletions

View File

@@ -151,14 +151,17 @@ components need to be updated or installed, follow the steps below:
## Flutter codelabs build test
The Flutter codelabs exercise Material Components in the form of a demo application. Note that the
code for the codelabs is similar to but distinct from the code for the Shrine demo app in Flutter Gallery.
The Flutter codelabs build test ensures that the final version of
[Material Components for Flutter Codelabs](https://github.com/material-components/material-components-flutter-codelabs)
can be built. This test serves as a smoke test for the Flutter framework and should not fail. Please
address the issue from within your PR and rerun the test. If you feel that the test failing is not a
direct result of changes made in your PR or that breaking this test is absolutely necessary, escalate this issue by
[submitting an issue](https://github.com/material-components/material-components-flutter-codelabs/issues/new?title=%5BURGENT%5D%20Flutter%20Framework%20breaking%20PR)
The Flutter codelabs exercise Material Components in the form of a
demo application. The code for the codelabs is similar to, but
distinct from, the code for the Shrine demo app in Flutter Gallery.
The Flutter codelabs build test ensures that the final version of the
[Material Components for Flutter
Codelabs](https://github.com/material-components/material-components-flutter-codelabs)
can be built. This test serves as a smoke test for the Flutter
framework and should not fail. Please address the issue from within
your PR and rerun the test. If you feel that the test failing is not a
direct result of changes made in your PR or that breaking this test is
absolutely necessary, escalate this issue by [submitting an
issue](https://github.com/material-components/material-components-flutter-codelabs/issues/new?title=%5BURGENT%5D%20Flutter%20Framework%20breaking%20PR)
to the MDC-Flutter Team.

View File

@@ -567,8 +567,8 @@ class ArchivePublisher {
/// packages, and the flutter cache in bin/cache with the appropriate
/// dependencies and snapshots.
///
/// Note that archives contain the executables and customizations for the
/// platform that they are created on.
/// Archives contain the executables and customizations for the platform that
/// they are created on.
Future<Null> main(List<String> argList) async {
final ArgParser argParser = ArgParser();
argParser.addOption(

View File

@@ -81,7 +81,7 @@ class FakeProcessManager extends Mock implements ProcessManager {
}
void _setupMock() {
// Note that not all possible types of invocations are covered here, just the ones
// Not all possible types of invocations are covered here, just the ones
// expected to be called.
// TODO(gspencer): make this more general so that any call will be captured.
when(start(