| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 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. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library test.engine.src.index; | 5 library test.services.src.index.local_index; |
| 6 | 6 |
| 7 //import 'dart:async'; | 7 //import 'dart:async'; |
| 8 //import 'dart:io' show Directory; | 8 //import 'dart:io' show Directory; |
| 9 // | 9 // |
| 10 //import 'package:analyzer/src/generated/ast.dart'; | 10 //import 'package:analyzer/src/generated/ast.dart'; |
| 11 //import 'package:analyzer/src/generated/element.dart'; | 11 //import 'package:analyzer/src/generated/element.dart'; |
| 12 //import 'package:analyzer/src/generated/html.dart'; | 12 //import 'package:analyzer/src/generated/html.dart'; |
| 13 //import 'package:analyzer/src/generated/source_io.dart'; | 13 //import 'package:analyzer/src/generated/source_io.dart'; |
| 14 //import 'package:unittest/unittest.dart'; | 14 //import 'package:unittest/unittest.dart'; |
| 15 // | 15 // |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 // Source source = addSource(path, content); | 153 // Source source = addSource(path, content); |
| 154 // CompilationUnit dartUnit = resolveLibraryUnit(source); | 154 // CompilationUnit dartUnit = resolveLibraryUnit(source); |
| 155 // index.indexUnit(context, dartUnit); | 155 // index.indexUnit(context, dartUnit); |
| 156 // return source; | 156 // return source; |
| 157 // } | 157 // } |
| 158 // | 158 // |
| 159 // void _indexTest(String content) { | 159 // void _indexTest(String content) { |
| 160 // _indexLibraryUnit('/test.dart', content); | 160 // _indexLibraryUnit('/test.dart', content); |
| 161 // } | 161 // } |
| 162 //} | 162 //} |
| OLD | NEW |