Skip to content

Commit

Permalink
Tweaks for MockSdk.
Browse files Browse the repository at this point in the history
Change-Id: I43385a92862fd159439e6859cfed22fe4a3597d1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/217445
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
  • Loading branch information
scheglov authored and commit-bot@chromium.org committed Oct 20, 2021
1 parent 0f75cb1 commit 88f7bfa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/analyzer/lib/src/test_utilities/mock_sdk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ final List<MockSdkLibrary> _LIBRARIES = [
_LIB_INTERNAL,
];

/// Create a reduced approximation of Dart SDK in the [path].
/// Create a reduced approximation of Dart SDK in the [root].
///
/// It has enough libraries to run analyzer and analysis server tests,
/// but some libraries, classes, and methods are missing.
Expand Down Expand Up @@ -1300,6 +1300,7 @@ class MockSdk extends FolderBasedDartSdk {
}
}

@internal
class MockSdkLibrary implements SdkLibrary {
final String name;
final String categories;
Expand Down

0 comments on commit 88f7bfa

Please sign in to comment.