| OLD | NEW |
| 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2016, 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 import 'package:front_end/src/incremental/byte_store.dart'; | 5 import 'package:front_end/src/byte_store/byte_store.dart'; |
| 6 import 'package:mockito/mockito.dart'; | 6 import 'package:mockito/mockito.dart'; |
| 7 import 'package:test/test.dart'; | 7 import 'package:test/test.dart'; |
| 8 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 8 import 'package:test_reflective_loader/test_reflective_loader.dart'; |
| 9 | 9 |
| 10 main() { | 10 main() { |
| 11 defineReflectiveSuite(() { | 11 defineReflectiveSuite(() { |
| 12 defineReflectiveTests(MemoryCachingByteStoreTest); | 12 defineReflectiveTests(MemoryCachingByteStoreTest); |
| 13 defineReflectiveTests(NullByteStoreTest); | 13 defineReflectiveTests(NullByteStoreTest); |
| 14 }); | 14 }); |
| 15 } | 15 } |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 var store = new NullByteStore(); | 112 var store = new NullByteStore(); |
| 113 | 113 |
| 114 expect(store.get('1'), isNull); | 114 expect(store.get('1'), isNull); |
| 115 | 115 |
| 116 store.put('1', _b(10)); | 116 store.put('1', _b(10)); |
| 117 expect(store.get('1'), isNull); | 117 expect(store.get('1'), isNull); |
| 118 } | 118 } |
| 119 } | 119 } |
| 120 | 120 |
| 121 class _TestByteStore extends Mock implements ByteStore {} | 121 class _TestByteStore extends Mock implements ByteStore {} |
| OLD | NEW |