| Index: pkg/analyzer/test/src/task/targets_test.dart
|
| diff --git a/pkg/analyzer/test/src/task/targets_test.dart b/pkg/analyzer/test/src/task/targets_test.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..eb25284182275eaa096eea947acc559c47572aca
|
| --- /dev/null
|
| +++ b/pkg/analyzer/test/src/task/targets_test.dart
|
| @@ -0,0 +1,27 @@
|
| +// Copyright (c) 2015, 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.src.task.targets_test;
|
| +
|
| +import 'package:analyzer/src/generated/source.dart';
|
| +import 'package:analyzer/src/task/targets.dart';
|
| +import 'package:unittest/unittest.dart';
|
| +
|
| +import '../../generated/test_support.dart';
|
| +import '../../reflective_tests.dart';
|
| +
|
| +main() {
|
| + groupSep = ' | ';
|
| + runReflectiveTests(SourceTargetTest);
|
| +}
|
| +
|
| +@reflectiveTest
|
| +class SourceTargetTest extends EngineTestCase {
|
| + test_create() {
|
| + Source source = new TestSource();
|
| + SourceTarget target = new SourceTarget(source);
|
| + expect(target, isNotNull);
|
| + expect(target.source, source);
|
| + }
|
| +}
|
|
|