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

Side by Side Diff: lib/src/runner/load_exception_suite.dart

Issue 1426973002: Get rid of an unused library. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 1 month 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 | « no previous file | test/frontend/set_up_all_test.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 Dart 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 file.
4
5 library test.runner.load_exception_suite;
6
7 import 'dart:async';
8
9 import '../backend/group.dart';
10 import '../backend/invoker.dart';
11 import '../backend/metadata.dart';
12 import '../backend/suite.dart';
13 import 'load_exception.dart';
14
15 /// A test suite generated from a load exception.
16 ///
17 /// Load exceptions are exposed as test suites so that they can be presented
18 /// alongside successful tests.
19 class LoadExceptionSuite extends Suite {
20 /// The exception that this suite exposes.
21 final LoadException exception;
22 final StackTrace stackTrace;
23
24 LoadExceptionSuite(LoadException exception, stackTrace)
25 : exception = exception,
26 stackTrace = stackTrace,
27 super(new Group.root([
28 new LocalTest("load error", new Metadata(),
29 () => new Future.error(exception, stackTrace))
30 ]), path: exception.path);
31 }
OLDNEW
« no previous file with comments | « no previous file | test/frontend/set_up_all_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698