| 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 analyzer.test.generated.sdk_test; | 5 library analyzer.test.generated.sdk_test; |
| 6 | 6 |
| 7 import 'package:analyzer/file_system/file_system.dart'; | 7 import 'package:analyzer/file_system/file_system.dart'; |
| 8 import 'package:analyzer/file_system/memory_file_system.dart'; | 8 import 'package:analyzer/file_system/memory_file_system.dart'; |
| 9 import 'package:analyzer/src/context/builder.dart' show EmbedderYamlLocator; | 9 import 'package:analyzer/src/context/builder.dart' show EmbedderYamlLocator; |
| 10 import 'package:analyzer/src/dart/sdk/sdk.dart'; | 10 import 'package:analyzer/src/dart/sdk/sdk.dart'; |
| 11 import 'package:analyzer/src/generated/engine.dart'; | 11 import 'package:analyzer/src/generated/engine.dart'; |
| 12 import 'package:analyzer/src/generated/java_engine_io.dart'; | 12 import 'package:analyzer/src/generated/java_engine_io.dart'; |
| 13 import 'package:analyzer/src/generated/sdk.dart'; | 13 import 'package:analyzer/src/generated/sdk.dart'; |
| 14 import 'package:analyzer/src/generated/source.dart'; | 14 import 'package:analyzer/src/generated/source.dart'; |
| 15 import 'package:unittest/unittest.dart'; | 15 import 'package:unittest/unittest.dart'; |
| 16 | 16 |
| 17 import '../../../embedder_tests.dart'; |
| 17 import '../../../generated/test_support.dart'; | 18 import '../../../generated/test_support.dart'; |
| 18 import '../../../reflective_tests.dart'; | 19 import '../../../reflective_tests.dart'; |
| 19 import '../../../resource_utils.dart'; | 20 import '../../../resource_utils.dart'; |
| 20 import '../../../source/embedder_test.dart'; | |
| 21 import '../../../utils.dart'; | 21 import '../../../utils.dart'; |
| 22 | 22 |
| 23 main() { | 23 main() { |
| 24 initializeTestEnvironment(); | 24 initializeTestEnvironment(); |
| 25 runReflectiveTests(EmbedderSdkTest); | 25 runReflectiveTests(EmbedderSdkTest); |
| 26 runReflectiveTests(FolderBasedDartSdkTest); | 26 runReflectiveTests(FolderBasedDartSdkTest); |
| 27 runReflectiveTests(SdkExtensionFinderTest); | 27 runReflectiveTests(SdkExtensionFinderTest); |
| 28 runReflectiveTests(SDKLibrariesReaderTest); | 28 runReflectiveTests(SDKLibrariesReaderTest); |
| 29 } | 29 } |
| 30 | 30 |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 417 expect(second, isNotNull); | 417 expect(second, isNotNull); |
| 418 expect(second.category, "Server"); | 418 expect(second.category, "Server"); |
| 419 expect(second.path, "second/second.dart"); | 419 expect(second.path, "second/second.dart"); |
| 420 expect(second.shortName, "dart:second"); | 420 expect(second.shortName, "dart:second"); |
| 421 expect(second.isDart2JsLibrary, false); | 421 expect(second.isDart2JsLibrary, false); |
| 422 expect(second.isDocumented, false); | 422 expect(second.isDocumented, false); |
| 423 expect(second.isImplementation, true); | 423 expect(second.isImplementation, true); |
| 424 expect(second.isVmLibrary, false); | 424 expect(second.isVmLibrary, false); |
| 425 } | 425 } |
| 426 } | 426 } |
| OLD | NEW |