[winuwp] Add removal warning in config help text (#101086)
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user