Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1045)

Side by Side Diff: pkg/analyzer/lib/src/generated/source.dart

Issue 1681153002: Include dart/test_all into src/test_all and fix element tests. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | pkg/analyzer/test/src/test_all.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 analyzer.src.generated.source; 5 library analyzer.src.generated.source;
6 6
7 import 'dart:collection'; 7 import 'dart:collection';
8 import "dart:math" as math; 8 import "dart:math" as math;
9 9
10 import 'package:analyzer/file_system/file_system.dart'; 10 import 'package:analyzer/file_system/file_system.dart';
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 final UriKind uriKind; 372 final UriKind uriKind;
373 373
374 NonExistingSource(this.fullName, this.uri, this.uriKind); 374 NonExistingSource(this.fullName, this.uri, this.uriKind);
375 375
376 @override 376 @override
377 TimestampedData<String> get contents { 377 TimestampedData<String> get contents {
378 throw new UnsupportedOperationException('$fullName does not exist.'); 378 throw new UnsupportedOperationException('$fullName does not exist.');
379 } 379 }
380 380
381 @override 381 @override
382 String get encoding { 382 String get encoding => uri.toString();
383 throw new UnsupportedOperationException('$fullName does not exist.');
384 }
385 383
386 @override 384 @override
387 int get hashCode => fullName.hashCode; 385 int get hashCode => fullName.hashCode;
388 386
389 @override 387 @override
390 bool get isInSystemLibrary => false; 388 bool get isInSystemLibrary => false;
391 389
392 @override 390 @override
393 int get modificationStamp => -1; 391 int get modificationStamp => -1;
394 392
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
933 Source resolveAbsolute(Uri uri, [Uri actualUri]); 931 Source resolveAbsolute(Uri uri, [Uri actualUri]);
934 932
935 /** 933 /**
936 * Return an absolute URI that represents the given [source], or `null` if a 934 * Return an absolute URI that represents the given [source], or `null` if a
937 * valid URI cannot be computed. 935 * valid URI cannot be computed.
938 * 936 *
939 * The computation should be based solely on [source.fullName]. 937 * The computation should be based solely on [source.fullName].
940 */ 938 */
941 Uri restoreAbsolute(Source source) => null; 939 Uri restoreAbsolute(Source source) => null;
942 } 940 }
OLDNEW
« no previous file with comments | « no previous file | pkg/analyzer/test/src/test_all.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698