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

Unified Diff: client/tests/client/samples/swarm/swarm_tests.dart

Issue 9145004: Revert "Example showing alternate async measurement solution" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 11 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
Index: client/tests/client/samples/swarm/swarm_tests.dart
diff --git a/client/tests/client/samples/swarm/swarm_tests.dart b/client/tests/client/samples/swarm/swarm_tests.dart
index 1d0b5e5c2706af351360916f018c62de9e8b7c87..017da3617606a6851c07bdad518614d13c71aa3a 100644
--- a/client/tests/client/samples/swarm/swarm_tests.dart
+++ b/client/tests/client/samples/swarm/swarm_tests.dart
@@ -1,4 +1,4 @@
-// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
@@ -75,9 +75,9 @@ void main() {
Expect.isTrue(getStoryNode().classes.contains(CSS.HIDDEN_STORY));
- final DataSourceView dataSourceView =
+ final dataSourceView =
swarm.frontView.currentSection.dataSourceView.getSubview(0);
- var itemView = dataSourceView.itemsView.getSubview(0);
+ final itemView = dataSourceView.itemsView.getSubview(0);
// TODO(jacobr): remove this null check. This is likely due to tests
// running without the correct CSS to size the window so that some items
// are visible.
« no previous file with comments | « client/tests/client/layout/GridLayoutDemo.dart ('k') | client/tests/client/samples/total/total_test_lib.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698