You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/AppNotificationTests/BaseTestSuite.cpp
+32-8Lines changed: 32 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,7 @@
6
6
#include"AppNotification-Test-Constants.h"
7
7
#include"AppNotifications.Test.h"
8
8
#include"BaseTestSuite.h"
9
+
#include"MddWin11.h"
9
10
10
11
usingnamespaceWEX::Common;
11
12
usingnamespaceWEX::Logging;
@@ -23,6 +24,13 @@ using namespace AppNotifications::Test;
23
24
24
25
voidBaseTestSuite::ClassSetup()
25
26
{
27
+
// Skip tests on Win10 RS5 and earlier due to COM registration issues
28
+
if (!WindowsVersion::IsWindows10_19H1OrGreater())
29
+
{
30
+
WEX::Logging::Log::Result(WEX::Logging::TestResults::Skipped, L"AppNotification require Win10 19H1 or greater due to COM registration compatibility. Skipping tests on this OS version.");
0 commit comments