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

Unified Diff: pkg/docgen/test/generate_json_test.dart

Issue 1364553002: remove docgen source and targets from build (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: remove scripts Created 5 years, 3 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
« no previous file with comments | « pkg/docgen/test/constant_argument_test.dart ('k') | pkg/docgen/test/inherited_comments_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/docgen/test/generate_json_test.dart
diff --git a/pkg/docgen/test/generate_json_test.dart b/pkg/docgen/test/generate_json_test.dart
deleted file mode 100644
index c22ae13a264de4f420c3f4dd0b4a818ab2a8bf20..0000000000000000000000000000000000000000
--- a/pkg/docgen/test/generate_json_test.dart
+++ /dev/null
@@ -1,50 +0,0 @@
-// Copyright (c) 2014, 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 docgen.generate_json_test;
-
-import 'dart:io';
-
-import 'package:path/path.dart' as p;
-import 'package:scheduled_test/descriptor.dart' as d;
-import 'package:scheduled_test/scheduled_test.dart';
-
-import 'util.dart';
-import '../lib/docgen.dart' as dg;
-
-void main() {
-
- setUp(() {
- scheduleTempDir();
- });
-
- test('json output', () {
- schedule(() {
- var codeDir = getMultiLibraryCodePath();
- expect(FileSystemEntity.isDirectorySync(codeDir), isTrue);
- return dg.docgen([codeDir], out: p.join(d.defaultRoot, 'docs'));
- });
-
- d.dir('docs', [
- d.matcherFile('index.json', isJsonMap),
- d.matcherFile('index.txt', hasSortedLines),
- d.matcherFile('library_list.json', isJsonMap),
- d.matcherFile('library_list.json',
- startsWith(_LIBRARY_LIST_UNINDENT_START)),
- d.matcherFile('sub_lib.json', isJsonMap),
- d.matcherFile('sub_lib.SubLibClass.json', isJsonMap),
- d.matcherFile('sub_lib.SubLibPart.json', isJsonMap),
- d.matcherFile('test_lib-bar.C.json', isJsonMap),
- d.matcherFile('test_lib-bar.json', isJsonMap),
- d.matcherFile('test_lib-foo.B.json', isJsonMap),
- d.matcherFile('test_lib-foo.json', isJsonMap),
- d.matcherFile('test_lib.A.json', isJsonMap),
- d.matcherFile('test_lib.B.json', isJsonMap),
- d.matcherFile('test_lib.C.json', isJsonMap),
- d.matcherFile('test_lib.json', isJsonMap),
- ]).validate();
- });
-}
-
-const _LIBRARY_LIST_UNINDENT_START = '{"libraries":[{"packageName":""';
« no previous file with comments | « pkg/docgen/test/constant_argument_test.dart ('k') | pkg/docgen/test/inherited_comments_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698