Index: pkg/analyzer/test/generated/test_support.dart |
diff --git a/pkg/analyzer/test/generated/test_support.dart b/pkg/analyzer/test/generated/test_support.dart |
index 6c1b066f4cc47a61c55fd6779606f37258a9131f..20cc0e2633937cf63bf8b7beb51ac0a9090b6df7 100644 |
--- a/pkg/analyzer/test/generated/test_support.dart |
+++ b/pkg/analyzer/test/generated/test_support.dart |
@@ -558,7 +558,8 @@ class TestSource extends Source { |
bool generateExceptionOnRead = false; |
@override |
- int get modificationStamp => generateExceptionOnRead ? -1 : _modificationStamp; |
+ int get modificationStamp => |
+ generateExceptionOnRead ? -1 : _modificationStamp; |
/** |
* The number of times that the contents of this source have been requested. |
@@ -575,46 +576,58 @@ class TestSource extends Source { |
} |
return new TimestampedData<String>(0, _contents); |
} |
+ |
String get encoding { |
throw new UnsupportedOperationException(); |
} |
+ |
String get fullName { |
return _name; |
} |
+ |
int get hashCode => 0; |
bool get isInSystemLibrary { |
return false; |
} |
+ |
String get shortName { |
return _name; |
} |
+ |
Uri get uri { |
throw new UnsupportedOperationException(); |
} |
+ |
UriKind get uriKind { |
throw new UnsupportedOperationException(); |
} |
+ |
bool operator ==(Object other) { |
if (other is TestSource) { |
return other._name == _name; |
} |
return false; |
} |
+ |
bool exists() => exists2; |
void getContentsToReceiver(Source_ContentReceiver receiver) { |
throw new UnsupportedOperationException(); |
} |
+ |
Source resolve(String uri) { |
throw new UnsupportedOperationException(); |
} |
+ |
Uri resolveRelativeUri(Uri uri) { |
return new Uri(scheme: 'file', path: _name).resolveUri(uri); |
} |
+ |
void setContents(String value) { |
generateExceptionOnRead = false; |
_modificationStamp = new DateTime.now().millisecondsSinceEpoch; |
_contents = value; |
} |
+ |
@override |
String toString() => '$_name'; |
} |