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

Unified Diff: samples/todomvc/todomvc_service_tests.dart

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Created 4 years, 6 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/todomvc/todomvc_service.idl ('k') | samples/todomvc/todomvc_shared.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/todomvc/todomvc_service_tests.dart
diff --git a/samples/todomvc/todomvc_service_tests.dart b/samples/todomvc/todomvc_service_tests.dart
deleted file mode 100644
index 75ca75e2fb72173c313d9f8a21b5f9380fa854ff..0000000000000000000000000000000000000000
--- a/samples/todomvc/todomvc_service_tests.dart
+++ /dev/null
@@ -1,52 +0,0 @@
-// Copyright (c) 2015, 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.
-
-import 'dart:async' show
- Future;
-
-import '../../tests/service_tests/service_tests.dart' show
- CompileServiceRule,
- ServiceTest,
- CcRule,
- CopyRule,
- BuildSnapshotRule,
- RunSnapshotRule;
-
-const String thisDirectory = 'samples/todomvc';
-
-class TodoMVCServiceTest extends ServiceTest {
- TodoMVCServiceTest()
- : super('todomvc');
-
- String get idlPath => '$thisDirectory/todomvc_service.idl';
- String get servicePath => '$outputDirectory/todomvc.dart';
- String get snapshotPath => '$outputDirectory/todomvc.snapshot';
- String get executablePath => '$outputDirectory/todomvc_sample';
-
- Future<Null> prepare() async {
- rules.add(new CompileServiceRule(idlPath, outputDirectory));
- rules.add(new CopyRule(thisDirectory, outputDirectory, [
- 'model.dart',
- 'todomvc.dart',
- 'todomvc_impl.dart',
- 'dart/presentation_graph.dart',
- 'dart/todomvc_presenter.dart',
- 'dart/todomvc_presenter_model.dart',
- ]));
- rules.add(new CcRule(
- executable: executablePath,
- includePaths: [outputDirectory, '$outputDirectory/cc'],
- sources: [
- '$thisDirectory/todomvc.cc',
- '$thisDirectory/todomvc_shared.cc',
- '$thisDirectory/cc/todomvc_presenter.cc',
- '$outputDirectory/cc/struct.cc',
- '$outputDirectory/cc/unicode.cc',
- '$outputDirectory/cc/todomvc_service.cc']));
- rules.add(new BuildSnapshotRule(servicePath, snapshotPath));
- rules.add(new RunSnapshotRule(executablePath, snapshotPath));
- }
-}
-
-final ServiceTest serviceTest = new TodoMVCServiceTest();
« no previous file with comments | « samples/todomvc/todomvc_service.idl ('k') | samples/todomvc/todomvc_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698