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

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..df942b789bbd33ad2a4d0715f4f1c816d4eb03fd 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(useCannedData: true);
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