OLD | NEW |
1 | 1 |
2 | 2 |
3 class TestSource implements Source { | 3 class TestSource implements Source { |
4 String _name; | 4 String _name; |
5 TestSource([this._name = '/test.dart']); | 5 TestSource([this._name = '/test.dart']); |
6 int get hashCode => 0; | 6 int get hashCode => 0; |
7 bool operator ==(Object object) { | 7 bool operator ==(Object object) { |
8 return object is TestSource; | 8 return object is TestSource; |
9 } | 9 } |
10 AnalysisContext get context { | 10 AnalysisContext get context { |
(...skipping 14 matching lines...) Expand all Loading... |
25 int get modificationStamp { | 25 int get modificationStamp { |
26 throw new UnsupportedOperationException(); | 26 throw new UnsupportedOperationException(); |
27 } | 27 } |
28 bool exists() => true; | 28 bool exists() => true; |
29 bool get isInSystemLibrary { | 29 bool get isInSystemLibrary { |
30 throw new UnsupportedOperationException(); | 30 throw new UnsupportedOperationException(); |
31 } | 31 } |
32 Source resolve(String uri) { | 32 Source resolve(String uri) { |
33 throw new UnsupportedOperationException(); | 33 throw new UnsupportedOperationException(); |
34 } | 34 } |
35 Source resolveRelative(Uri uri) { | 35 Uri resolveRelative(Uri uri) { |
36 throw new UnsupportedOperationException(); | 36 throw new UnsupportedOperationException(); |
37 } | 37 } |
38 UriKind get uriKind { | 38 UriKind get uriKind { |
39 throw new UnsupportedOperationException(); | 39 throw new UnsupportedOperationException(); |
40 } | 40 } |
| 41 Uri get uri { |
| 42 throw new UnsupportedOperationException(); |
| 43 } |
41 TimestampedData<String> get contents { | 44 TimestampedData<String> get contents { |
42 throw new UnsupportedOperationException(); | 45 throw new UnsupportedOperationException(); |
43 } | 46 } |
44 } | 47 } |
OLD | NEW |