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

Side by Side Diff: tests/fletch_tests/test_suite_consumer.dart

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 10 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
« no previous file with comments | « tests/fletch_tests/snapshot_stacktrace_tests.dart ('k') | tests/fletch_tests/utils.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE.md file.
4
5 /// Command-line utility for helping testing fletch_test_suite.dart outside
6 /// test.py.
7 ///
8 /// Example usage:
9 ///
10 /// Create a file with messages, for example, messages.txt:
11 ///
12 /// {"type":"ListTests"}
13 /// {"type":"RunTest","name":"test1"}
14 /// {"type":"RunTest","name":"test2"}
15 ///
16 /// Then run this command:
17 ///
18 /// cat messages.txt | \
19 /// ./third_party/bin/$OS/dart --packages=.packages/ \
20 /// tests/fletch_tests/fletch_test_suite.dart | \
21 /// ./third_party/bin/$OS/dart --packages=.packages \
22 /// tests/fletch_tests/test_suite_consumer.dart
23 library fletch_tests.test_suite_consumer;
24
25 import 'dart:io' show
26 stdin;
27
28 import 'fletch_test_suite.dart' show
29 utf8Lines;
30
31 import 'messages.dart' show
32 Message,
33 messageTransformer;
34
35 main() async {
36 await for(Message message in utf8Lines(stdin).transform(messageTransformer)) {
37 print(message);
38 }
39 }
OLDNEW
« no previous file with comments | « tests/fletch_tests/snapshot_stacktrace_tests.dart ('k') | tests/fletch_tests/utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698