Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(621)

Unified Diff: samples-dev/swarm/test/swarm_test.dart

Issue 2828603002: Format samples and samples-dev directories. (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samples-dev/swarm/swarm_ui_lib/view/view.dart ('k') | samples-dev/swarm/test/swarm_ui_lib/layout/css.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples-dev/swarm/test/swarm_test.dart
diff --git a/samples-dev/swarm/test/swarm_test.dart b/samples-dev/swarm/test/swarm_test.dart
index a3f9c03c04cc15cc2ece0cb0753960e70c60541d..c7f39f9ef46fa949c7082a2a4b7e9ed2c7bff056 100644
--- a/samples-dev/swarm/test/swarm_test.dart
+++ b/samples-dev/swarm/test/swarm_test.dart
@@ -33,15 +33,16 @@ void main() {
getStoryNode() => swarm.frontView.storyView.node;
getView(Section section) {
- return CollectionUtils.find(swarm.frontView.sections.childViews,
- (view) => view.section == section);
+ return CollectionUtils.find(
+ swarm.frontView.sections.childViews, (view) => view.section == section);
}
getHistory(Article article) {
final feed = article.dataSource;
return {
- 'section': CollectionUtils.find(swarm.sections,
- (s) => s.feeds.indexOf(feed, 0) >= 0).id,
+ 'section': CollectionUtils
+ .find(swarm.sections, (s) => s.feeds.indexOf(feed, 0) >= 0)
+ .id,
'feed': feed.id,
'article': article.id
};
@@ -113,7 +114,6 @@ click(Element element) {
element.dispatchEvent(event);
}
-
/** A proxy so we can intercept history calls */
class UIStateProxy extends SwarmState {
List<Map<String, String>> history;
@@ -153,6 +153,7 @@ void _serialInvokeAsync(List closures) {
Timer.run(expectAsync(invokeNext));
}
}
+
Timer.run(expectAsync(invokeNext));
}
}
« no previous file with comments | « samples-dev/swarm/swarm_ui_lib/view/view.dart ('k') | samples-dev/swarm/test/swarm_ui_lib/layout/css.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698