| 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 testing.mocks; | 5 library testing.mocks; |
| 6 | 6 |
| 7 import 'package:analyzer/src/generated/element.dart'; | 7 import 'package:analyzer/src/generated/element.dart'; |
| 8 import 'package:analyzer/src/generated/engine.dart'; | 8 import 'package:analyzer/src/generated/engine.dart'; |
| 9 import 'package:analyzer/src/generated/source.dart'; | 9 import 'package:analyzer/src/generated/source.dart'; |
| 10 import 'package:typed_mock/typed_mock.dart'; | 10 import 'package:typed_mock/typed_mock.dart'; |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 StringTypedMock(this._toString); | 144 StringTypedMock(this._toString); |
| 145 | 145 |
| 146 @override | 146 @override |
| 147 String toString() { | 147 String toString() { |
| 148 if (_toString != null) { | 148 if (_toString != null) { |
| 149 return _toString; | 149 return _toString; |
| 150 } | 150 } |
| 151 return super.toString(); | 151 return super.toString(); |
| 152 } | 152 } |
| 153 } | 153 } |
| OLD | NEW |