| 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 // This code was auto-generated, is not intended to be edited, and is subject to | 5 // This code was auto-generated, is not intended to be edited, and is subject to |
| 6 // significant change. Please see the README file for more information. | 6 // significant change. Please see the README file for more information. |
| 7 | 7 |
| 8 library engine.test_support; | 8 library engine.test_support; |
| 9 | 9 |
| 10 import 'dart:collection'; | 10 import 'dart:collection'; |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 553 infoCount++; | 553 infoCount++; |
| 554 } | 554 } |
| 555 | 555 |
| 556 @override | 556 @override |
| 557 void logInformation2(String message, Object exception) { | 557 void logInformation2(String message, Object exception) { |
| 558 infoCount++; | 558 infoCount++; |
| 559 } | 559 } |
| 560 } | 560 } |
| 561 | 561 |
| 562 | 562 |
| 563 class TestSource implements Source { | 563 class TestSource extends AbstractSource { |
| 564 String _name; | 564 String _name; |
| 565 String _contents; | 565 String _contents; |
| 566 int modificationStamp = 0; | 566 int modificationStamp = 0; |
| 567 bool exists2 = true; | 567 bool exists2 = true; |
| 568 | 568 |
| 569 /** | 569 /** |
| 570 * A flag indicating whether an exception should be generated when an attempt | 570 * A flag indicating whether an exception should be generated when an attempt |
| 571 * is made to access the contents of this source. | 571 * is made to access the contents of this source. |
| 572 */ | 572 */ |
| 573 bool generateExceptionOnRead = false; | 573 bool generateExceptionOnRead = false; |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 620 throw new UnsupportedOperationException(); | 620 throw new UnsupportedOperationException(); |
| 621 } | 621 } |
| 622 Uri resolveRelativeUri(Uri uri) { | 622 Uri resolveRelativeUri(Uri uri) { |
| 623 return new Uri(scheme: 'file', path: _name).resolveUri(uri); | 623 return new Uri(scheme: 'file', path: _name).resolveUri(uri); |
| 624 } | 624 } |
| 625 void setContents(String value) { | 625 void setContents(String value) { |
| 626 modificationStamp = new DateTime.now().millisecondsSinceEpoch; | 626 modificationStamp = new DateTime.now().millisecondsSinceEpoch; |
| 627 _contents = value; | 627 _contents = value; |
| 628 } | 628 } |
| 629 } | 629 } |
| OLD | NEW |