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

Side by Side Diff: mojo/dart/test/validation_test.dart

Issue 951783004: Dart: Renames dart:mojo_blah -> mojo:blah (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « mojo/dart/test/timer_test.dart ('k') | mojo/public/dart/application.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 import 'dart:async'; 5 import 'dart:async';
6 import 'dart:convert'; 6 import 'dart:convert';
7 import 'dart:isolate'; 7 import 'dart:isolate';
8 import 'dart:mojo_bindings';
9 import 'dart:mojo_builtin' as builtin;
10 import 'dart:mojo_core';
11 import 'dart:typed_data'; 8 import 'dart:typed_data';
9 import 'mojo:bindings';
10 import 'mojo:builtin' as builtin;
11 import 'mojo:core';
12 12
13 import 'package:mojo/dart/testing/validation_test_input_parser.dart' as parser; 13 import 'package:mojo/dart/testing/validation_test_input_parser.dart' as parser;
14 import 'package:mojo/public/interfaces/bindings/tests/validation_test_interfaces .mojom.dart'; 14 import 'package:mojo/public/interfaces/bindings/tests/validation_test_interfaces .mojom.dart';
15 15
16 class ConfrmanceTestInterfaceImpl extends ConformanceTestInterface { 16 class ConfrmanceTestInterfaceImpl extends ConformanceTestInterface {
17 Completer _completer; 17 Completer _completer;
18 18
19 ConfrmanceTestInterfaceImpl(this._completer, MojoMessagePipeEndpoint endpoint) 19 ConfrmanceTestInterfaceImpl(this._completer, MojoMessagePipeEndpoint endpoint)
20 : super(endpoint) { 20 : super(endpoint) {
21 super.delegate = this; 21 super.delegate = this;
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 93
94 // First test the parser. 94 // First test the parser.
95 parser.parserTests(); 95 parser.parserTests();
96 96
97 // Then run the conformance tests. 97 // Then run the conformance tests.
98 getTestFiles(path, "$path/conformance_").forEach((test) { 98 getTestFiles(path, "$path/conformance_").forEach((test) {
99 runTest(test, readAndParseTest(test), expectedResult(test)); 99 runTest(test, readAndParseTest(test), expectedResult(test));
100 }); 100 });
101 // TODO(zra): Add integration tests when they no longer rely on Client=. 101 // TODO(zra): Add integration tests when they no longer rely on Client=.
102 } 102 }
OLDNEW
« no previous file with comments | « mojo/dart/test/timer_test.dart ('k') | mojo/public/dart/application.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698