diff --git a/dev/AutoSuggestBox/AutoSuggestBox.vcxitems b/dev/AutoSuggestBox/AutoSuggestBox.vcxitems
index eb030912f8..7a91a4b3fe 100644
--- a/dev/AutoSuggestBox/AutoSuggestBox.vcxitems
+++ b/dev/AutoSuggestBox/AutoSuggestBox.vcxitems
@@ -18,13 +18,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
diff --git a/dev/CalendarDatePicker/CalendarDatePicker.vcxitems b/dev/CalendarDatePicker/CalendarDatePicker.vcxitems
index 8bd9aca51a..88867335f4 100644
--- a/dev/CalendarDatePicker/CalendarDatePicker.vcxitems
+++ b/dev/CalendarDatePicker/CalendarDatePicker.vcxitems
@@ -18,13 +18,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
\ No newline at end of file
diff --git a/dev/CalendarView/CalendarView.vcxitems b/dev/CalendarView/CalendarView.vcxitems
index ef937003d7..b7ecb8caeb 100644
--- a/dev/CalendarView/CalendarView.vcxitems
+++ b/dev/CalendarView/CalendarView.vcxitems
@@ -19,13 +19,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
\ No newline at end of file
diff --git a/dev/CheckBox/CheckBox.vcxitems b/dev/CheckBox/CheckBox.vcxitems
index 25471063b7..68338efb85 100644
--- a/dev/CheckBox/CheckBox.vcxitems
+++ b/dev/CheckBox/CheckBox.vcxitems
@@ -18,13 +18,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
\ No newline at end of file
diff --git a/dev/ColorPicker/ColorPicker.vcxitems b/dev/ColorPicker/ColorPicker.vcxitems
index 99f8960b4b..899358b37b 100644
--- a/dev/ColorPicker/ColorPicker.vcxitems
+++ b/dev/ColorPicker/ColorPicker.vcxitems
@@ -42,13 +42,11 @@
Latest
RS1
DefaultStyle
- true
V2dot5
RS1
DefaultStyle
- true
Latest
@@ -64,13 +62,11 @@
Latest
RS1
DefaultStyle
- true
V2dot5
RS1
DefaultStyle
- true
diff --git a/dev/ComboBox/ComboBox.vcxitems b/dev/ComboBox/ComboBox.vcxitems
index 7377d0a5a9..61d112b32c 100644
--- a/dev/ComboBox/ComboBox.vcxitems
+++ b/dev/ComboBox/ComboBox.vcxitems
@@ -18,13 +18,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
diff --git a/dev/CommonStyles/CommonStyles.vcxitems b/dev/CommonStyles/CommonStyles.vcxitems
index 580d1edfcd..54a1fafab7 100644
--- a/dev/CommonStyles/CommonStyles.vcxitems
+++ b/dev/CommonStyles/CommonStyles.vcxitems
@@ -30,163 +30,136 @@
Latest
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
@@ -202,25 +175,21 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
\ No newline at end of file
diff --git a/dev/DatePicker/DatePicker.vcxitems b/dev/DatePicker/DatePicker.vcxitems
index f616a0d0d5..ea2b1972e1 100644
--- a/dev/DatePicker/DatePicker.vcxitems
+++ b/dev/DatePicker/DatePicker.vcxitems
@@ -18,25 +18,21 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
\ No newline at end of file
diff --git a/dev/FlipView/FlipView.vcxitems b/dev/FlipView/FlipView.vcxitems
index d6435e2226..0a3c86de1f 100644
--- a/dev/FlipView/FlipView.vcxitems
+++ b/dev/FlipView/FlipView.vcxitems
@@ -18,13 +18,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
diff --git a/dev/Materials/Reveal/RevealBrush.vcxitems b/dev/Materials/Reveal/RevealBrush.vcxitems
index 7a0b84ccc0..abf8cded2c 100644
--- a/dev/Materials/Reveal/RevealBrush.vcxitems
+++ b/dev/Materials/Reveal/RevealBrush.vcxitems
@@ -34,52 +34,44 @@
RS1
ThemeResources
2
- true
Latest
RS2
ThemeResources
2
- true
V2dot5
RS1
ThemeResources
2
- true
V2dot5
RS2
ThemeResources
2
- true
RS3
ThemeResources
3
- true
RS4
ThemeResources
4
- true
RS5
ThemeResources
5
- true
19H1
ThemeResources
6
- true
diff --git a/dev/MenuFlyout/MenuFlyout.vcxitems b/dev/MenuFlyout/MenuFlyout.vcxitems
index d338fb0cf6..09ebaee9a8 100644
--- a/dev/MenuFlyout/MenuFlyout.vcxitems
+++ b/dev/MenuFlyout/MenuFlyout.vcxitems
@@ -20,7 +20,6 @@
ThemeResources
2
Designer
- true
V2dot5
@@ -28,7 +27,6 @@
ThemeResources
2
Designer
- true
\ No newline at end of file
diff --git a/dev/NavigationView/NavigationView.vcxitems b/dev/NavigationView/NavigationView.vcxitems
index 6ccb35fc83..ce2277b950 100644
--- a/dev/NavigationView/NavigationView.vcxitems
+++ b/dev/NavigationView/NavigationView.vcxitems
@@ -73,39 +73,33 @@
Latest
RS1
DefaultStyle
- true
V2dot5
RS1
DefaultStyle
- true
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS2
Designer
ThemeResources
- true
V2dot5
RS2
Designer
ThemeResources
- true
Latest
diff --git a/dev/Pivot/Pivot.vcxitems b/dev/Pivot/Pivot.vcxitems
index bf3d5ab9f9..f9d75a0ee8 100644
--- a/dev/Pivot/Pivot.vcxitems
+++ b/dev/Pivot/Pivot.vcxitems
@@ -18,13 +18,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
\ No newline at end of file
diff --git a/dev/ProgressBar/ProgressBar.vcxitems b/dev/ProgressBar/ProgressBar.vcxitems
index 0dc4c5a90f..063de732e0 100644
--- a/dev/ProgressBar/ProgressBar.vcxitems
+++ b/dev/ProgressBar/ProgressBar.vcxitems
@@ -43,13 +43,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
diff --git a/dev/ScrollBar/ScrollBar.vcxitems b/dev/ScrollBar/ScrollBar.vcxitems
index f993c3ce0f..c7b6e48ab7 100644
--- a/dev/ScrollBar/ScrollBar.vcxitems
+++ b/dev/ScrollBar/ScrollBar.vcxitems
@@ -18,13 +18,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
\ No newline at end of file
diff --git a/dev/Slider/Slider.vcxitems b/dev/Slider/Slider.vcxitems
index be655c65d9..083cac7909 100644
--- a/dev/Slider/Slider.vcxitems
+++ b/dev/Slider/Slider.vcxitems
@@ -18,13 +18,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
\ No newline at end of file
diff --git a/dev/SplitView/SplitView.vcxitems b/dev/SplitView/SplitView.vcxitems
index 93a4eb4a2f..8686e10e0b 100644
--- a/dev/SplitView/SplitView.vcxitems
+++ b/dev/SplitView/SplitView.vcxitems
@@ -19,13 +19,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
\ No newline at end of file
diff --git a/dev/TabView/TabView.vcxitems b/dev/TabView/TabView.vcxitems
index 913b79b6d4..273d93114b 100644
--- a/dev/TabView/TabView.vcxitems
+++ b/dev/TabView/TabView.vcxitems
@@ -36,13 +36,11 @@
Latest
RS1
DefaultStyle
- true
V2dot5
RS1
DefaultStyle
- true
Latest
diff --git a/dev/TimePicker/TimePicker.vcxitems b/dev/TimePicker/TimePicker.vcxitems
index fd74f67291..265dd1b059 100644
--- a/dev/TimePicker/TimePicker.vcxitems
+++ b/dev/TimePicker/TimePicker.vcxitems
@@ -18,13 +18,11 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
\ No newline at end of file
diff --git a/dev/ToolTip/ToolTip.vcxitems b/dev/ToolTip/ToolTip.vcxitems
index 87d1ee5a51..15b9af4171 100644
--- a/dev/ToolTip/ToolTip.vcxitems
+++ b/dev/ToolTip/ToolTip.vcxitems
@@ -18,25 +18,21 @@
Latest
RS1
ThemeResources
- true
V2dot5
RS1
ThemeResources
- true
Latest
RS5
ThemeResources
- true
V2dot5
RS5
ThemeResources
- true
\ No newline at end of file
diff --git a/dev/TreeView/TreeView.vcxitems b/dev/TreeView/TreeView.vcxitems
index e21e27b1a9..a2c2273e4a 100644
--- a/dev/TreeView/TreeView.vcxitems
+++ b/dev/TreeView/TreeView.vcxitems
@@ -71,13 +71,11 @@
Latest
RS2
DefaultStyle
- true
V2dot5
RS2
DefaultStyle
- true
Latest
diff --git a/test/MUXControlsTestApp/MUXControlsTestApp.Shared.projitems b/test/MUXControlsTestApp/MUXControlsTestApp.Shared.projitems
index 804258677f..6a1103ee03 100644
--- a/test/MUXControlsTestApp/MUXControlsTestApp.Shared.projitems
+++ b/test/MUXControlsTestApp/MUXControlsTestApp.Shared.projitems
@@ -139,12 +139,6 @@
true
-
-
-
-
-
{ad0c90b0-4845-4d4b-88f1-86f653f8171b}
@@ -294,10 +288,6 @@
-
-
-
-
Designer
@@ -332,9 +322,6 @@
Designer
-
-
-
@@ -344,11 +331,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
$(TargetName)
.appx
diff --git a/test/MUXControlsTestApp/ThemeResourcesTests.cs b/test/MUXControlsTestApp/ThemeResourcesTests.cs
index 96a33ad688..a33cd57ea9 100644
--- a/test/MUXControlsTestApp/ThemeResourcesTests.cs
+++ b/test/MUXControlsTestApp/ThemeResourcesTests.cs
@@ -36,7 +36,7 @@
namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests
{
[TestClass]
- public partial class ThemeResourcesTests : ApiTestBase
+ public class ThemeResourcesTests : ApiTestBase
{
[ClassInitialize]
[TestProperty("Classification", "Integration")]
@@ -121,391 +121,5 @@ public void VerifyOverrides()
});
IdleSynchronizer.TryWait();
}
-
- // TO DO [Task 30818605]: Disabling to replace with reflection-based tests in release test app
- // [TestMethod]
- public void VerifyRS2DefaultStyleDictionariesWereMergedCorrectly()
- {
- if (PlatformConfiguration.IsOsVersionGreaterThan(OSVersion.Redstone1))
- {
- VerifyDictionariesWereMergedCorrectly(GetRS2DefaultStyleDictionaries(), "Microsoft.UI.Xaml/Themes/rs2_generic.xaml");
- }
- }
-
- [TestMethod]
- public void VerifyRS3DefaultStyleDictionariesWereMergedCorrectly()
- {
- if (PlatformConfiguration.IsOsVersionGreaterThan(OSVersion.Redstone2))
- {
- VerifyDictionariesWereMergedCorrectly(GetRS3DefaultStyleDictionaries(), "Microsoft.UI.Xaml/Themes/rs3_generic.xaml");
- }
- }
-
- [TestMethod]
- public void VerifyRS4DefaultStyleDictionariesWereMergedCorrectly()
- {
- if (PlatformConfiguration.IsOsVersionGreaterThan(OSVersion.Redstone3))
- {
- VerifyDictionariesWereMergedCorrectly(GetRS4DefaultStyleDictionaries(), "Microsoft.UI.Xaml/Themes/rs4_generic.xaml");
- }
- }
-
- [TestMethod]
- public void VerifyRS5DefaultStyleDictionariesWereMergedCorrectly()
- {
- if (PlatformConfiguration.IsOsVersionGreaterThan(OSVersion.Redstone4))
- {
- VerifyDictionariesWereMergedCorrectly(GetRS5DefaultStyleDictionaries(), "Microsoft.UI.Xaml/Themes/rs5_generic.xaml");
- }
- }
-
- [TestMethod]
- public void Verify19H1DefaultStyleDictionariesWereMergedCorrectly()
- {
- if (PlatformConfiguration.IsOsVersionGreaterThan(OSVersion.Redstone5))
- {
- VerifyDictionariesWereMergedCorrectly(Get19H1DefaultStyleDictionaries(), "Microsoft.UI.Xaml/Themes/19h1_generic.xaml");
- }
- }
-
- [TestMethod]
- public void VerifyRS2ThemeResourceDictionariesWereMergedCorrectly()
- {
- if (PlatformConfiguration.IsOsVersionGreaterThan(OSVersion.Redstone1))
- {
- VerifyDictionariesWereMergedCorrectly(GetRS2ThemeResourceDictionaries(), "Microsoft.UI.Xaml/Themes/rs2_themeresources.xaml");
- }
- }
-
- [TestMethod]
- public void VerifyRS3ThemeResourceDictionariesWereMergedCorrectly()
- {
- if (PlatformConfiguration.IsOsVersionGreaterThan(OSVersion.Redstone2))
- {
- VerifyDictionariesWereMergedCorrectly(GetRS3ThemeResourceDictionaries(), "Microsoft.UI.Xaml/Themes/rs3_themeresources.xaml");
- }
- }
-
- [TestMethod]
- public void VerifyRS4ThemeResourceDictionariesWereMergedCorrectly()
- {
- if (PlatformConfiguration.IsOsVersionGreaterThan(OSVersion.Redstone3))
- {
- VerifyDictionariesWereMergedCorrectly(GetRS4ThemeResourceDictionaries(), "Microsoft.UI.Xaml/Themes/rs4_themeresources.xaml");
- }
- }
-
- [TestMethod]
- public void VerifyRS5ThemeResourceDictionariesWereMergedCorrectly()
- {
- if (PlatformConfiguration.IsOsVersionGreaterThan(OSVersion.Redstone4))
- {
- VerifyDictionariesWereMergedCorrectly(GetRS5ThemeResourceDictionaries(), "Microsoft.UI.Xaml/Themes/rs5_themeresources.xaml");
- }
- }
-
- [TestMethod]
- public void Verify19H1ThemeResourceDictionariesWereMergedCorrectly()
- {
- if (PlatformConfiguration.IsOsVersionGreaterThan(OSVersion.Redstone5))
- {
- VerifyDictionariesWereMergedCorrectly(Get19H1ThemeResourceDictionaries(), "Microsoft.UI.Xaml/Themes/19h1_themeresources.xaml");
- }
- }
-
- #region Dictionary verification
-
- List keysWithDifferentValues = new List();
-
- private void VerifyDictionariesWereMergedCorrectly(List dictionaries, string mergedDictionary)
- {
- RunOnUIThread.Execute(() =>
- {
- keysWithDifferentValues.Clear();
- TestDictionariesAgainstMergedDictionary(dictionaries, mergedDictionary);
-
- if (keysWithDifferentValues.Count > 0)
- {
- string errorMessage = Environment.NewLine + "Verification FAILED. The following keys were not the same in the merged dictionaries as in the unmerged dictionaries:" + Environment.NewLine;
-
- foreach (string key in keysWithDifferentValues)
- {
- errorMessage += " " + key;
- }
-
- errorMessage += Environment.NewLine;
-
- Log.Comment(errorMessage);
- }
- else
- {
- Log.Comment(Environment.NewLine + "Verification succeeded!" + Environment.NewLine);
- }
- });
- }
-
- private void TestDictionariesAgainstMergedDictionary(List dictionaries, string mergedDictionary)
- {
- ResourceDictionary parsedMergedDictionary = new ResourceDictionary() { Source = new Uri("ms-appx:///" + mergedDictionary) };
-
- foreach (string dictionary in dictionaries)
- {
- Log.Comment(Environment.NewLine + "Testing {0} against {1}..." + Environment.NewLine, dictionary, mergedDictionary);
- ResourceDictionary parsedDictionary = new ResourceDictionary() { Source = new Uri("ms-appx:///" + dictionary) };
-
- List keysToCheck = new List();
-
- foreach (object themeDictionaryKey in parsedDictionary.ThemeDictionaries.Keys)
- {
- string themeDictionaryKeyString = themeDictionaryKey as string;
-
- ResourceDictionary themeDictionary = parsedDictionary.ThemeDictionaries[themeDictionaryKeyString] as ResourceDictionary;
- keysToCheck.AddRange(SafeRetrieveKeys(themeDictionary).Where((key) => !keysToCheck.Contains(key)));
- }
-
- foreach (ResourceDictionary innerMergedDictionary in parsedDictionary.MergedDictionaries)
- {
- keysToCheck.AddRange(SafeRetrieveKeys(innerMergedDictionary).Where((key) => !keysToCheck.Contains(key)));
- }
-
- keysToCheck.AddRange(SafeRetrieveKeys(parsedDictionary).Where((key) => !keysToCheck.Contains(key)));
-
- foreach (string key in keysToCheck)
- {
- Log.Comment("Comparing key '{0}' between dictionaries...", key);
-
- if (CompareObjects(parsedDictionary[key], parsedMergedDictionary[key], 0) == false)
- {
- keysWithDifferentValues.Add(key);
- }
- }
- }
- }
-
- // There's a bug in RS1 where trying to iterate through a ResourceDictionary containing an element with no key
- // causes E_FAIL to be returned. We'll just ignore those failures.
- private static IEnumerable SafeRetrieveKeys(ResourceDictionary dictionary)
- {
- IEnumerator