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

Side by Side Diff: sky/tests/resources/harness.dart

Issue 1215953006: Use sky_shell instead of mojo_shell for testing. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Foo Created 5 years, 5 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 unified diff | Download patch
OLDNEW
(Empty)
1 import "dart:sky.internals" as internals;
2
3 import 'package:sky/mojo/shell.dart' as shell;
4 import 'package:mojom/sky/test_harness.mojom.dart';
5
6 void notifyTestComplete(String result) {
7 TestHarnessProxy test_harness = new TestHarnessProxy.unbound();
8 shell.requestService("mojo:sky_viewer", test_harness);
9 test_harness.ptr.onTestComplete(result, null);
10 test_harness.close();
11
12 // FIXME(eseidel): Remove this once all tests run in sky_shell.
13 internals.notifyTestComplete(result);
14 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698