Skip to content

Commit 0f71ff3

Browse files
SatwikKrSharmaSatwik Kumar Sharma
and
Satwik Kumar Sharma
authored
BadgeNotification: Onboarding Unit tests to the pipeline test runs (#5140)
* BadgeNotification: Onboarding Unit tests to the pipeline test runs * nit changes --------- Co-authored-by: Satwik Kumar Sharma <[email protected]>
1 parent c4488b4 commit 0f71ff3

File tree

6 files changed

+15
-4
lines changed

6 files changed

+15
-4
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"Tests": [
3+
{
4+
"Description": "BadgeNotification API",
5+
"Filename": "BadgeNotificationTest.dll",
6+
"Parameters": "",
7+
"Architectures": ["x64", "x86", "arm64"],
8+
"Status": "Enabled"
9+
}
10+
]
11+
}

test/BadgeNotificationTest/BadgeNotificationTest.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@
164164
<Target Name="CopyFiles" AfterTargets="AfterBuild">
165165
<Copy SourceFiles="$(OutDir)\..\WindowsAppRuntime_BootstrapDLL\Microsoft.WindowsAppRuntime.Bootstrap.dll" DestinationFolder="$(OutDir)" />
166166
<Copy SourceFiles="$(OutDir)\..\WindowsAppRuntime_DLL\Microsoft.Internal.FrameworkUdk.dll" DestinationFolder="$(OutDir)" />
167+
<Copy SourceFiles="BadgeNotification.testdef" DestinationFolder="$(OutDir)" />
167168
</Target>
168169
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
169170
<PropertyGroup>

test/BadgeNotificationTest/BadgeNotificationTest.vcxproj.filters

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
<None Include="packages.config" />
4141
</ItemGroup>
4242
<ItemGroup>
43-
<ResourceCompile Include="AppNotificationTests.rc">
43+
<ResourceCompile Include="BadgeNotificationTests.rc">
4444
<Filter>Resource Files</Filter>
4545
</ResourceCompile>
4646
</ItemGroup>

test/BadgeNotificationTest/BadgeNotifications-AppxManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<PublisherDisplayName>Windows APP SDK</PublisherDisplayName>
2222
<Logo>taef.png</Logo>
2323
</Properties>
24-
24+
2525
<Dependencies>
2626
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.0.0" MaxVersionTested="12.0.0.0" />
2727
<PackageDependency Name="Microsoft.WindowsAppRuntime.Framework.4.1" Publisher="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" MinVersion="0.0.0.0"/>

test/BadgeNotificationTest/PackagedTests.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ using namespace winrt::Windows::Management::Deployment;
1818
using namespace winrt::Windows::Storage;
1919
using namespace winrt::Windows::System;
2020
using namespace winrt::Microsoft::Windows::BadgeNotifications;
21-
//using namespace AppNotifications::Test;
2221

2322
void PackagedTests::VerifyBadgeNotificationManagerCurrent()
2423
{

test/BadgeNotificationTest/resource.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
//{{NO_DEPENDENCIES}}
55
// Microsoft Visual C++ generated include file.
6-
// Used by AppNotificationTests.rc
6+
// Used by BadgeNotificationTests.rc
77

88
// Next default values for new objects
99
//

0 commit comments

Comments
 (0)