Skip to content

Conversation

@jcollins-g
Copy link
Contributor

Fixes #1456 and should enable dartdoc tests to work reliably in the SDK.

As discussed before, add a flag to hide the imported SDK docs in the integration tests.

@jcollins-g jcollins-g requested a review from devoncarew June 5, 2017 21:45
@googlebot googlebot added the cla: yes Google CLA check succeeded. label Jun 5, 2017
defaultsTo: false);
parser.addFlag(
'hide-sdk-text',
help:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add hide: true?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops. Fixed.

@override
String get documentation => documentationFrom._documentationLocal;
String get documentation {
String x = documentationFrom._documentationLocal;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use the function shorthand?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. I keep forgetting to undo my manual conditional breakpoints completely.

if (categoryOrder == null) {
categoryOrder = new UnmodifiableListView<String>([]);
}
if (dropTextFrom == null) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

??=

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@devoncarew
Copy link
Contributor

lgtm

@jcollins-g jcollins-g merged commit 80b2a60 into master Jun 6, 2017
@kevmoo kevmoo deleted the hide-sdk-docs branch June 21, 2017 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes Google CLA check succeeded.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants