OLD | NEW |
1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, 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.src.task.inputs_test; | 5 library analyzer.test.src.task.inputs_test; |
6 | 6 |
7 import 'package:analyzer/src/task/inputs.dart'; | 7 import 'package:analyzer/src/task/inputs.dart'; |
8 import 'package:analyzer/src/task/model.dart'; | 8 import 'package:analyzer/src/task/model.dart'; |
9 import 'package:analyzer/task/model.dart'; | 9 import 'package:analyzer/task/model.dart'; |
10 import 'package:unittest/unittest.dart'; | 10 import 'package:unittest/unittest.dart'; |
11 | 11 |
12 import '../../generated/test_support.dart'; | 12 import '../../generated/test_support.dart'; |
13 import '../../reflective_tests.dart'; | 13 import '../../reflective_tests.dart'; |
14 import '../../utils.dart'; | 14 import '../../utils.dart'; |
15 | 15 |
(...skipping 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1065 test_moveNext_withSet() { | 1065 test_moveNext_withSet() { |
1066 Map<String, TaskInput> inputDescriptors = {'one': input1}; | 1066 Map<String, TaskInput> inputDescriptors = {'one': input1}; |
1067 TopLevelTaskInputBuilder builder = | 1067 TopLevelTaskInputBuilder builder = |
1068 new TopLevelTaskInputBuilder(inputDescriptors); | 1068 new TopLevelTaskInputBuilder(inputDescriptors); |
1069 expect(builder.moveNext(), true); | 1069 expect(builder.moveNext(), true); |
1070 builder.currentValue = 'value1'; | 1070 builder.currentValue = 'value1'; |
1071 expect(builder.moveNext(), false); | 1071 expect(builder.moveNext(), false); |
1072 expect(builder.moveNext(), false); | 1072 expect(builder.moveNext(), false); |
1073 } | 1073 } |
1074 } | 1074 } |
OLD | NEW |