Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: pkg/front_end/test/src/byte_store/byte_store_test.dart

Issue 2990323002: Move byte_store.dart and file_byte_store.dart to their own subdirectory. (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698