Skip to content

Commit

Permalink
Try to exclude tests from macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
hartez committed Nov 2, 2023
1 parent 06f0a38 commit f48c427
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -9,6 +9,7 @@

namespace Microsoft.Maui.DeviceTests
{
#if !MACCATALYST
public partial class CollectionViewTests
{
public class CacheTestCollectionView : CollectionView { }
Expand Down Expand Up @@ -147,4 +148,5 @@ public async Task EnsureCellSizesAreCached()
});
}
}
#endif
}
Expand Up @@ -35,7 +35,7 @@ void SetupBuilder()
handlers.AddHandler<Grid, LayoutHandler>();
handlers.AddHandler<Label, LabelHandler>();
#if IOS
#if IOS && !MACCATALYST
handlers.AddHandler<CacheTestCollectionView, CacheTestCollectionViewHandler>();
#endif
});
Expand Down

0 comments on commit f48c427

Please sign in to comment.