OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| 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. |
| 4 |
| 5 import 'package:test/test.dart'; |
| 6 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| 7 |
| 8 import '../integration_tests.dart'; |
| 9 |
| 10 main() { |
| 11 defineReflectiveSuite(() { |
| 12 defineReflectiveTests(CreateContextTest); |
| 13 }); |
| 14 } |
| 15 |
| 16 @reflectiveTest |
| 17 class CreateContextTest extends AbstractAnalysisServerIntegrationTest { |
| 18 test_create() async { |
| 19 standardAnalysisSetup(); |
| 20 String contextId = |
| 21 (await sendExecutionCreateContext(sourceDirectory.path)).id; |
| 22 expect(contextId, isNotNull); |
| 23 } |
| 24 |
| 25 @override |
| 26 bool get enableNewAnalysisDriver => true; |
| 27 } |
OLD | NEW |