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.index.store.collection; | 5 library test.engine.src.index.store.collection; |
6 | 6 |
7 import 'package:analysis_server/src/index/store/collection.dart'; | 7 import 'package:analyzer/src/index/store/collection.dart'; |
8 import 'package:unittest/unittest.dart'; | 8 import 'package:unittest/unittest.dart'; |
9 | 9 |
10 import '../../reflective_tests.dart'; | 10 import '../../reflective_tests.dart'; |
11 | 11 |
12 | 12 |
13 main() { | 13 main() { |
14 groupSep = ' | '; | 14 groupSep = ' | '; |
15 group('IntArrayToIntMap', () { | 15 group('IntArrayToIntMap', () { |
16 runReflectiveTests(_IntArrayToIntMapTest); | 16 runReflectiveTests(_IntArrayToIntMapTest); |
17 }); | 17 }); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 expect(map.length, 1); | 74 expect(map.length, 1); |
75 map.add(1, 11); | 75 map.add(1, 11); |
76 map.add(1, 12); | 76 map.add(1, 12); |
77 expect(map.length, 1); | 77 expect(map.length, 1); |
78 map.add(2, 20); | 78 map.add(2, 20); |
79 expect(map.length, 2); | 79 expect(map.length, 2); |
80 map.add(2, 21); | 80 map.add(2, 21); |
81 expect(map.length, 2); | 81 expect(map.length, 2); |
82 } | 82 } |
83 } | 83 } |
OLD | NEW |