mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
[winuwp] Add removal warning in config help text (#101086)
This commit is contained in:
parent
5f7bc2c943
commit
1a072f9aee
@ -216,6 +216,7 @@ const Feature singleWidgetReload = Feature(
|
||||
const Feature windowsUwpEmbedding = Feature(
|
||||
name: 'Flutter for Windows UWP',
|
||||
configSetting: 'enable-windows-uwp-desktop',
|
||||
extraHelpText: 'Warning: Windows UWP support is obsolete and will be removed.',
|
||||
master: FeatureChannelSetting(
|
||||
available: true,
|
||||
),
|
||||
|
||||
@ -382,6 +382,10 @@ void main() {
|
||||
expect(featureFlags.isWindowsUwpEnabled, true);
|
||||
});
|
||||
|
||||
testWithoutContext('Flutter Windows UWP desktop config includes removal warning', () {
|
||||
expect(windowsUwpEmbedding.extraHelpText, contains('Windows UWP support is obsolete and will be removed'));
|
||||
});
|
||||
|
||||
testWithoutContext('Flutter Windows UWP desktop off by default on stable', () {
|
||||
final FeatureFlags featureFlags = createFlags('stable');
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user