Deprecate DriverOptions.mockSdk

Change-Id: I7f28a8ac1fbbc45693b6fe038bf5490440703ccf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218020
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
This commit is contained in:
Konstantin Shcheglov
2021-10-25 18:33:51 +00:00
committed by commit-bot@chromium.org
parent 1aa6fa4776
commit 9f00d0c94e
+1
View File
@@ -75,6 +75,7 @@ class DriverOptions {
bool strongMode = true;
/// The mock SDK (to speed up testing) or `null` to use the actual SDK.
@Deprecated('Use createMockSdk() and set dartSdkPath')
DartSdk? mockSdk;
/// Return `true` is the parser is able to parse asserts in the initializer