Unverified Commit 1a072f9a authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

[winuwp] Add removal warning in config help text (#101086)

parent 5f7bc2c9
...@@ -216,6 +216,7 @@ const Feature singleWidgetReload = Feature( ...@@ -216,6 +216,7 @@ const Feature singleWidgetReload = Feature(
const Feature windowsUwpEmbedding = Feature( const Feature windowsUwpEmbedding = Feature(
name: 'Flutter for Windows UWP', name: 'Flutter for Windows UWP',
configSetting: 'enable-windows-uwp-desktop', configSetting: 'enable-windows-uwp-desktop',
extraHelpText: 'Warning: Windows UWP support is obsolete and will be removed.',
master: FeatureChannelSetting( master: FeatureChannelSetting(
available: true, available: true,
), ),
......
...@@ -382,6 +382,10 @@ void main() { ...@@ -382,6 +382,10 @@ void main() {
expect(featureFlags.isWindowsUwpEnabled, true); 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', () { testWithoutContext('Flutter Windows UWP desktop off by default on stable', () {
final FeatureFlags featureFlags = createFlags('stable'); final FeatureFlags featureFlags = createFlags('stable');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment