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

Unified Diff: samples/tests/samples/swarm/swarm_test.dart

Issue 11810004: Make browser tests all run from a server instead of the local filesystem. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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: samples/tests/samples/swarm/swarm_test.dart
diff --git a/samples/tests/samples/swarm/swarm_test.dart b/samples/tests/samples/swarm/swarm_test.dart
index ff0c0544e31b6dddc0f496e75676f389954bf12b..6cab3195da24d3a41f59816e42697b66674442b3 100644
--- a/samples/tests/samples/swarm/swarm_test.dart
+++ b/samples/tests/samples/swarm/swarm_test.dart
@@ -18,7 +18,7 @@ import '../../../../pkg/unittest/lib/html_config.dart';
void main() {
useHtmlConfiguration();
- Swarm swarm = new Swarm();
+ Swarm swarm = new Swarm(true);
Jennifer Messerly 2013/01/10 02:18:10 named arg?
Emily Fortuna 2013/01/11 02:57:12 Done.
UIStateProxy state = new UIStateProxy(swarm.sections);
swarm.state = state;
swarm.run();
@@ -56,7 +56,7 @@ void main() {
// transition end event before we can click a story.
SectionView section = getView(swarm.sections[0]);
section.showSources();
- },
+ },
() {
final item = swarm.sections[0].feeds[2].articles[1];
state.loadFromHistory(getHistory(item));

Powered by Google App Engine
This is Rietveld 408576698