未验证 提交 41287b78 编写于 作者: M Martin Zikmund 提交者: GitHub

Merge pull request #13074 from ramezgerges/repeater_tests_cleanup

......@@ -42,7 +42,6 @@ namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests.RepeaterTests
#if __ANDROID__ || __WASM__
[Ignore] // TODO: Android and WASM tests are failing
#endif
[Uno.UI.RuntimeTests.RunsOnUIThread]
public class RepeaterTests : MUXApiTestBase
{
[TestMethod]
......@@ -268,6 +267,8 @@ namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests.RepeaterTests
</ScrollViewer>
</controls:ItemsRepeaterScrollHost>");
Content = scrollhost;
rootRepeater = (ItemsRepeater)scrollhost.FindName("rootRepeater");
scrollViewer = (ScrollViewer)scrollhost.FindName("scrollviewer");
scrollViewer.ViewChanged += (sender, args) =>
......@@ -279,7 +280,6 @@ namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests.RepeaterTests
};
rootRepeater.ItemsSource = Enumerable.Range(0, 500);
Content = scrollhost;
});
// scroll down several times and validate current anchor
......@@ -313,8 +313,6 @@ namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests.RepeaterTests
[TestMethod]
#if __MACOS__
[Ignore("Currently fails on macOS, part of #9282 epic")]
#else
[Ignore("Currently fails on all platforms https://github.com/unoplatform/uno/issues/9080")]
#endif
public void NestedRepeaterWithDataTemplateScenario()
{
......@@ -325,7 +323,7 @@ namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests.RepeaterTests
[TestMethod]
#if __MACOS__
[Ignore("Currently fails on macOS, part of #9282 epic")]
#elif __IOS__ || __SKIA__
#elif __IOS__
[Ignore("Currently fails on iOS/Skia https://github.com/unoplatform/uno/issues/9080")]
#endif
public void VerifyFocusedItemIsRecycledOnCollectionReset()
......@@ -560,7 +558,6 @@ namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests.RepeaterTests
[TestMethod]
[Ignore("Currently fails on all targets https://github.com/unoplatform/uno/issues/9080")]
public void VerifyStoreScenarioCache()
{
ItemsRepeater rootRepeater = null;
......@@ -626,7 +623,6 @@ namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests.RepeaterTests
[TestMethod]
[Ignore("Currently fails on all targets https://github.com/unoplatform/uno/issues/9080")]
public void VerifyUIElementsInItemsSource()
{
ItemsRepeater repeater = null;
......@@ -680,8 +676,8 @@ namespace Windows.UI.Xaml.Tests.MUXControls.ApiTests.RepeaterTests
[TestMethod]
#if __MACOS__
[Ignore("Currently fails on macOS, part of #9282 epic")]
#else
[Ignore("Currently fails on all targets https://github.com/unoplatform/uno/issues/9080")]
#elif __IOS__
[Ignore("Fails")]
#endif
public void VerifyRepeaterDoesNotLeakItemContainers()
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册