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

Side by Side Diff: pkg/analysis_server/test/resource_test.dart

Issue 308703005: Extract constants into separate libarary. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
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.resource; 5 library test.resource;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 import 'dart:io' as io;
9 8
10 import 'mocks.dart'; 9 import 'mocks.dart';
11 10
12 import 'package:analysis_server/src/resource.dart'; 11 import 'package:analysis_server/src/resource.dart';
13 import 'package:analyzer/src/generated/engine.dart' show TimestampedData; 12 import 'package:analyzer/src/generated/engine.dart' show TimestampedData;
14 import 'package:analyzer/src/generated/source_io.dart'; 13 import 'package:analyzer/src/generated/source_io.dart';
15 import 'package:path/path.dart'; 14 import 'package:path/path.dart';
16 import 'package:unittest/unittest.dart'; 15 import 'package:unittest/unittest.dart';
17 import 'package:watcher/watcher.dart'; 16 import 'package:watcher/watcher.dart';
18 17
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
422 expect(relative.fullName, '/foo/bar/baz.dart'); 421 expect(relative.fullName, '/foo/bar/baz.dart');
423 }); 422 });
424 }); 423 });
425 }); 424 });
426 }); 425 });
427 } 426 }
428 427
429 var _isFile = new isInstanceOf<File>(); 428 var _isFile = new isInstanceOf<File>();
430 var _isFolder = new isInstanceOf<Folder>(); 429 var _isFolder = new isInstanceOf<Folder>();
431 var _isMemoryResourceException = new isInstanceOf<MemoryResourceException>(); 430 var _isMemoryResourceException = new isInstanceOf<MemoryResourceException>();
OLDNEW
« no previous file with comments | « pkg/analysis_server/test/physical_resource_provider_test.dart ('k') | pkg/analysis_server/test/socket_server_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698