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

Unified Diff: pkg/source_maps/test/builder_test.dart

Issue 814113004: Pull args, intl, logging, shelf, and source_maps out of the SDK. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also csslib. Created 6 years 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 | « pkg/source_maps/pubspec.yaml ('k') | pkg/source_maps/test/common.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/source_maps/test/builder_test.dart
diff --git a/pkg/source_maps/test/builder_test.dart b/pkg/source_maps/test/builder_test.dart
deleted file mode 100644
index ca0ca8d2d88469d4b580cc9158649306e2736590..0000000000000000000000000000000000000000
--- a/pkg/source_maps/test/builder_test.dart
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright (c) 2013, 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.
-
-library test.source_maps_test;
-
-import 'dart:convert';
-import 'package:unittest/unittest.dart';
-import 'package:source_maps/source_maps.dart';
-import 'common.dart';
-
-main() {
- test('builder - with span', () {
- var map = (new SourceMapBuilder()
- ..addSpan(inputVar1, outputVar1)
- ..addSpan(inputFunction, outputFunction)
- ..addSpan(inputVar2, outputVar2)
- ..addSpan(inputExpr, outputExpr))
- .build(output.url.toString());
- expect(map, equals(EXPECTED_MAP));
- });
-
- test('builder - with location', () {
- var str = (new SourceMapBuilder()
- ..addLocation(inputVar1.start, outputVar1.start, 'longVar1')
- ..addLocation(inputFunction.start, outputFunction.start, 'longName')
- ..addLocation(inputVar2.start, outputVar2.start, 'longVar2')
- ..addLocation(inputExpr.start, outputExpr.start, null))
- .toJson(output.url.toString());
- expect(str, JSON.encode(EXPECTED_MAP));
- });
-}
« no previous file with comments | « pkg/source_maps/pubspec.yaml ('k') | pkg/source_maps/test/common.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698