| 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 analyzer.test.src.task.html_work_manager_test; | 5 library analyzer.test.src.task.html_work_manager_test; | 
| 6 | 6 | 
|  | 7 import 'package:analyzer/error/error.dart' show AnalysisError; | 
| 7 import 'package:analyzer/exception/exception.dart'; | 8 import 'package:analyzer/exception/exception.dart'; | 
| 8 import 'package:analyzer/src/context/cache.dart'; | 9 import 'package:analyzer/src/context/cache.dart'; | 
|  | 10 import 'package:analyzer/src/error/codes.dart' show HtmlErrorCode; | 
| 9 import 'package:analyzer/src/generated/engine.dart' | 11 import 'package:analyzer/src/generated/engine.dart' | 
| 10     show | 12     show | 
| 11         AnalysisEngine, | 13         AnalysisEngine, | 
| 12         AnalysisErrorInfo, | 14         AnalysisErrorInfo, | 
| 13         AnalysisErrorInfoImpl, | 15         AnalysisErrorInfoImpl, | 
| 14         CacheState, | 16         CacheState, | 
| 15         ChangeNoticeImpl, | 17         ChangeNoticeImpl, | 
| 16         InternalAnalysisContext; | 18         InternalAnalysisContext; | 
| 17 import 'package:analyzer/src/generated/error.dart' |  | 
| 18     show AnalysisError, HtmlErrorCode; |  | 
| 19 import 'package:analyzer/src/generated/source.dart'; | 19 import 'package:analyzer/src/generated/source.dart'; | 
| 20 import 'package:analyzer/src/task/html.dart'; | 20 import 'package:analyzer/src/task/html.dart'; | 
| 21 import 'package:analyzer/src/task/html_work_manager.dart'; | 21 import 'package:analyzer/src/task/html_work_manager.dart'; | 
| 22 import 'package:analyzer/task/dart.dart'; | 22 import 'package:analyzer/task/dart.dart'; | 
| 23 import 'package:analyzer/task/general.dart'; | 23 import 'package:analyzer/task/general.dart'; | 
| 24 import 'package:analyzer/task/html.dart'; | 24 import 'package:analyzer/task/html.dart'; | 
| 25 import 'package:analyzer/task/model.dart'; | 25 import 'package:analyzer/task/model.dart'; | 
| 26 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 26 import 'package:test_reflective_loader/test_reflective_loader.dart'; | 
| 27 import 'package:typed_mock/typed_mock.dart'; | 27 import 'package:typed_mock/typed_mock.dart'; | 
| 28 import 'package:unittest/unittest.dart'; | 28 import 'package:unittest/unittest.dart'; | 
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 340     return new AnalysisErrorInfoImpl( | 340     return new AnalysisErrorInfoImpl( | 
| 341         errors, getCacheEntry(source).getValue(LINE_INFO)); | 341         errors, getCacheEntry(source).getValue(LINE_INFO)); | 
| 342   } | 342   } | 
| 343 | 343 | 
| 344   @override | 344   @override | 
| 345   ChangeNoticeImpl getNotice(Source source) { | 345   ChangeNoticeImpl getNotice(Source source) { | 
| 346     return _pendingNotices.putIfAbsent( | 346     return _pendingNotices.putIfAbsent( | 
| 347         source, () => new ChangeNoticeImpl(source)); | 347         source, () => new ChangeNoticeImpl(source)); | 
| 348   } | 348   } | 
| 349 } | 349 } | 
| OLD | NEW | 
|---|