Skip to content

Commit

Permalink
Prevent tests from running under wasdk, workaround for missing MultiT…
Browse files Browse the repository at this point in the history
  • Loading branch information
Arlodotexe committed Oct 30, 2024
1 parent 5a1c279 commit 24b999c
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/Notifications/tests/TestAssertHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
using CommunityToolkit.Notifications;

Check failure on line 10 in components/Notifications/tests/TestAssertHelper.cs

View workflow job for this annotation

GitHub Actions / build (3, wasdk)

The type or namespace name 'Notifications' does not exist in the namespace 'CommunityToolkit' (are you missing an assembly reference?)
using Microsoft.VisualStudio.TestTools.UnitTesting;

#if WINDOWS_UWP

#nullable disable
namespace NotificationsExperiment.Tests
{
Expand Down Expand Up @@ -449,3 +451,4 @@ private static void ParseXml(XmlReader reader, MyXmlElement intoElement)
}
}
}
#endif
3 changes: 3 additions & 0 deletions components/Notifications/tests/TestMail.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
using CommunityToolkit.Notifications;

Check failure on line 5 in components/Notifications/tests/TestMail.cs

View workflow job for this annotation

GitHub Actions / build (3, wasdk)

The type or namespace name 'Notifications' does not exist in the namespace 'CommunityToolkit' (are you missing an assembly reference?)
using Microsoft.VisualStudio.TestTools.UnitTesting;

#if WINDOWS_UWP

#nullable disable
namespace NotificationsExperiment.Tests
{
Expand Down Expand Up @@ -166,3 +168,4 @@ private static AdaptiveGroup GenerateMessage(string from, string subject, string
}
}
}
#endif
3 changes: 3 additions & 0 deletions components/Notifications/tests/TestTileContentBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
using CommunityToolkit.Notifications;

Check failure on line 6 in components/Notifications/tests/TestTileContentBuilder.cs

View workflow job for this annotation

GitHub Actions / build (3, wasdk)

The type or namespace name 'Notifications' does not exist in the namespace 'CommunityToolkit' (are you missing an assembly reference?)
using Microsoft.VisualStudio.TestTools.UnitTesting;

#if WINDOWS_UWP

#nullable disable
namespace NotificationsExperiment.Tests
{
Expand Down Expand Up @@ -110,3 +112,4 @@ private static AdaptiveText GetTileAdaptiveText(TileContentBuilder builder, Tile
}
}
}
#endif
3 changes: 3 additions & 0 deletions components/Notifications/tests/TestToastArguments.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
using CommunityToolkit.Notifications;

Check failure on line 8 in components/Notifications/tests/TestToastArguments.cs

View workflow job for this annotation

GitHub Actions / build (3, wasdk)

The type or namespace name 'Notifications' does not exist in the namespace 'CommunityToolkit' (are you missing an assembly reference?)
using Microsoft.VisualStudio.TestTools.UnitTesting;

#if WINDOWS_UWP

#nullable disable
namespace NotificationsExperiment.Tests
{
Expand Down Expand Up @@ -497,3 +499,4 @@ private static bool IsSame(ToastArguments expected, ToastArguments actual)
}
}
}
#endif
3 changes: 3 additions & 0 deletions components/Notifications/tests/TestToastContentBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
using CommunityToolkit.Notifications;

Check failure on line 7 in components/Notifications/tests/TestToastContentBuilder.cs

View workflow job for this annotation

GitHub Actions / build (3, wasdk)

The type or namespace name 'Notifications' does not exist in the namespace 'CommunityToolkit' (are you missing an assembly reference?)
using Microsoft.VisualStudio.TestTools.UnitTesting;

#if WINDOWS_UWP

#nullable disable
namespace NotificationsExperiment.Tests
{
Expand Down Expand Up @@ -1196,3 +1198,4 @@ public void AddComboBoxTest_WithMultipleChoiceAndDefaultSelectedAndTitle_ReturnS
}
}
}
#endif
3 changes: 3 additions & 0 deletions components/Notifications/tests/TestWeather.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
using CommunityToolkit.Notifications;

Check failure on line 5 in components/Notifications/tests/TestWeather.cs

View workflow job for this annotation

GitHub Actions / build (3, wasdk)

The type or namespace name 'Notifications' does not exist in the namespace 'CommunityToolkit' (are you missing an assembly reference?)
using Microsoft.VisualStudio.TestTools.UnitTesting;

#if WINDOWS_UWP

#nullable disable
namespace NotificationsExperiment.Tests
{
Expand Down Expand Up @@ -290,3 +292,4 @@ private static AdaptiveSubgroup GenerateLargeSubgroup(string day, string image,
}
}
}
#endif
3 changes: 3 additions & 0 deletions components/Notifications/tests/Test_Adaptive_Xml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
using CommunityToolkit.Notifications;

Check failure on line 6 in components/Notifications/tests/Test_Adaptive_Xml.cs

View workflow job for this annotation

GitHub Actions / build (3, wasdk)

The type or namespace name 'Notifications' does not exist in the namespace 'CommunityToolkit' (are you missing an assembly reference?)
using Microsoft.VisualStudio.TestTools.UnitTesting;

#if WINDOWS_UWP

#nullable disable
namespace NotificationsExperiment.Tests
{
Expand Down Expand Up @@ -595,3 +597,4 @@ private static void AssertAdaptiveChildInTile(string expectedAdaptiveChildXml, I
}
}
}
#endif
3 changes: 3 additions & 0 deletions components/Notifications/tests/Test_Badge_Xml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
using CommunityToolkit.Notifications;

Check failure on line 5 in components/Notifications/tests/Test_Badge_Xml.cs

View workflow job for this annotation

GitHub Actions / build (3, wasdk)

The type or namespace name 'Notifications' does not exist in the namespace 'CommunityToolkit' (are you missing an assembly reference?)
using Microsoft.VisualStudio.TestTools.UnitTesting;

#if WINDOWS_UWP

#nullable disable
namespace NotificationsExperiment.Tests
{
Expand Down Expand Up @@ -72,3 +74,4 @@ private static void AssertPayload(string expectedXml, INotificationContent notif
}
}
}
#endif
3 changes: 3 additions & 0 deletions components/Notifications/tests/Test_Tile_Xml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
using CommunityToolkit.Notifications;

Check failure on line 6 in components/Notifications/tests/Test_Tile_Xml.cs

View workflow job for this annotation

GitHub Actions / build (3, wasdk)

The type or namespace name 'Notifications' does not exist in the namespace 'CommunityToolkit' (are you missing an assembly reference?)
using Microsoft.VisualStudio.TestTools.UnitTesting;

#if WINDOWS_UWP

#nullable disable
namespace NotificationsExperiment.Tests
{
Expand Down Expand Up @@ -1674,3 +1676,4 @@ private static void AssertPayload(string expectedXml, TileContent tile)
}
}
}
#endif
3 changes: 3 additions & 0 deletions components/Notifications/tests/Test_Toast_Xml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
using CommunityToolkit.Notifications;

Check failure on line 6 in components/Notifications/tests/Test_Toast_Xml.cs

View workflow job for this annotation

GitHub Actions / build (3, wasdk)

The type or namespace name 'Notifications' does not exist in the namespace 'CommunityToolkit' (are you missing an assembly reference?)
using Microsoft.VisualStudio.TestTools.UnitTesting;

#if WINDOWS_UWP

#nullable disable
namespace NotificationsExperiment.Tests
{
Expand Down Expand Up @@ -2190,3 +2192,4 @@ private static void AssertPayload(string expectedXml, ToastContent toast)
}
}
}
#endif
3 changes: 3 additions & 0 deletions components/Notifications/tests/TextXboxModern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
using CommunityToolkit.Notifications;
using Microsoft.VisualStudio.TestTools.UnitTesting;

#if WINDOWS_UWP

#nullable disable
namespace NotificationsExperiment.Tests
{
Expand Down Expand Up @@ -161,3 +163,4 @@ public void TestXboxModernTile()
}
}
}
#endif

0 comments on commit 24b999c

Please sign in to comment.