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

Unified Diff: test/end_to_end_test.dart

Issue 1840203002: More analyzer updates, and handle negative_tests (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: test/end_to_end_test.dart
diff --git a/test/end_to_end_test.dart b/test/end_to_end_test.dart
deleted file mode 100644
index b3b8d2760517c0bc7b04776e016c0308e21d166f..0000000000000000000000000000000000000000
--- a/test/end_to_end_test.dart
+++ /dev/null
@@ -1,42 +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.
-
-/// Tests that run the checker end-to-end using the file system, but with a mock
-/// SDK.
-library dev_compiler.test.end_to_end;
-
-import 'package:dev_compiler/devc.dart';
-import 'package:dev_compiler/src/options.dart';
-import 'package:test/test.dart';
-import 'testing.dart' show realSdkContext, testDirectory;
-
-main() {
- var mockSdkContext = createAnalysisContextWithSources(
- new SourceResolverOptions(useMockSdk: true));
- var compiler = new BatchCompiler(mockSdkContext, new CompilerOptions());
- _check(file) => compiler.compileFromUriString('$testDirectory/$file.dart');
-
- test('checker runs correctly (end-to-end)', () {
- _check('samples/funwithtypes');
- });
-
- test('checker accepts files with imports', () {
- _check('samples/import_test');
- });
-
- test('checker tests function types', () {
- // TODO(vsm): Check for correct down casts.
- _check('samples/function_type_test');
- });
-
- test('checker tests runtime checks', () {
- // TODO(sigmund,vsm): Check output for invalid checks.
- _check('samples/runtimetypechecktest');
- });
-
- test('checker tests return values', () {
- // TODO(vsm): Check for conversions.
- _check('samples/return_test');
- });
-}
« lib/src/report.dart ('K') | « test/codegen_test.dart ('k') | test/testing.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698