Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unit tests for OAuth2Manager API #4975

Merged
merged 5 commits into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions WindowsAppRuntime.sln
Original file line number Diff line number Diff line change
Expand Up @@ -592,6 +592,12 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Test_CompatibilitySetter_CP
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Test_CompatibilitySetter_CS", "test\Compatibility\Test_CompatibilitySetter_CS\Test_CompatibilitySetter_CS.csproj", "{42B6776C-2CCA-4C0B-8555-7121AA9AEDA9}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OAuthTestApp", "test\TestApps\OAuthTestApp\OAuthTestApp.vcxproj", "{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}"
EndProject
Project("{C7167F0D-BC9F-4E6E-AFE1-012C56B48DB5}") = "OAuthTestAppPackage", "test\TestApps\OAuthTestAppPackage\OAuthTestAppPackage.wapproj", "{455C01F8-0A3E-42C4-9F22-13992EB909EC}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OAuth2ManagerTests", "test\OAuth2ManagerTests\OAuth2ManagerTests.vcxproj", "{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -2044,6 +2050,62 @@ Global
{A243A58D-ABD7-4520-8C71-F492247B7B92}.Release|x64.Build.0 = Release|Any CPU
{A243A58D-ABD7-4520-8C71-F492247B7B92}.Release|x86.ActiveCfg = Release|Any CPU
{A243A58D-ABD7-4520-8C71-F492247B7B92}.Release|x86.Build.0 = Release|Any CPU
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Debug|Any CPU.ActiveCfg = Debug|x64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Debug|Any CPU.Build.0 = Debug|x64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Debug|ARM64.ActiveCfg = Debug|x64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Debug|ARM64.Build.0 = Debug|x64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Debug|x64.ActiveCfg = Debug|x64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Debug|x64.Build.0 = Debug|x64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Debug|x86.ActiveCfg = Debug|Win32
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Debug|x86.Build.0 = Debug|Win32
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Release|Any CPU.ActiveCfg = Release|x64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Release|Any CPU.Build.0 = Release|x64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Release|ARM64.ActiveCfg = Release|ARM64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Release|ARM64.Build.0 = Release|ARM64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Release|x64.ActiveCfg = Release|x64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Release|x64.Build.0 = Release|x64
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Release|x86.ActiveCfg = Release|Win32
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991}.Release|x86.Build.0 = Release|Win32
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|Any CPU.Deploy.0 = Debug|Any CPU
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|ARM64.ActiveCfg = Debug|ARM64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|ARM64.Build.0 = Debug|ARM64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|ARM64.Deploy.0 = Debug|ARM64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|x64.ActiveCfg = Debug|x64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|x64.Build.0 = Debug|x64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|x64.Deploy.0 = Debug|x64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|x86.ActiveCfg = Debug|x86
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|x86.Build.0 = Debug|x86
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Debug|x86.Deploy.0 = Debug|x86
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|Any CPU.Build.0 = Release|Any CPU
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|Any CPU.Deploy.0 = Release|Any CPU
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|ARM64.ActiveCfg = Release|ARM64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|ARM64.Build.0 = Release|ARM64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|ARM64.Deploy.0 = Release|ARM64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|x64.ActiveCfg = Release|x64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|x64.Build.0 = Release|x64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|x64.Deploy.0 = Release|x64
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|x86.ActiveCfg = Release|x86
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|x86.Build.0 = Release|x86
{455C01F8-0A3E-42C4-9F22-13992EB909EC}.Release|x86.Deploy.0 = Release|x86
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Debug|Any CPU.ActiveCfg = Debug|x64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Debug|Any CPU.Build.0 = Debug|x64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Debug|ARM64.ActiveCfg = Debug|x64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Debug|ARM64.Build.0 = Debug|x64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Debug|x64.ActiveCfg = Debug|x64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Debug|x64.Build.0 = Debug|x64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Debug|x86.ActiveCfg = Debug|Win32
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Debug|x86.Build.0 = Debug|Win32
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Release|Any CPU.ActiveCfg = Release|x64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Release|Any CPU.Build.0 = Release|x64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Release|ARM64.ActiveCfg = Release|ARM64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Release|ARM64.Build.0 = Release|ARM64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Release|x64.ActiveCfg = Release|x64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Release|x64.Build.0 = Release|x64
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Release|x86.ActiveCfg = Release|Win32
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA}.Release|x86.Build.0 = Release|Win32
{040BB64B-012E-4E4F-BB02-E85EF46D3475}.Debug|Any CPU.ActiveCfg = Debug|x64
{040BB64B-012E-4E4F-BB02-E85EF46D3475}.Debug|Any CPU.Build.0 = Debug|x64
{040BB64B-012E-4E4F-BB02-E85EF46D3475}.Debug|ARM64.ActiveCfg = Debug|ARM64
Expand Down Expand Up @@ -2277,6 +2339,9 @@ Global
{85D111C7-B720-4E19-A56D-03C87B953983} = {50205ED9-0E08-4878-B124-9AC0EBA138D6}
{2BD7A1BB-D3D8-484F-9180-409D781DCCF9} = {586EA218-74C8-420B-B47E-0B307AA4B82D}
{A243A58D-ABD7-4520-8C71-F492247B7B92} = {716C26A0-E6B0-4981-8412-D14A4D410531}
{4CAA3052-7FAE-4C5B-A1CB-02D7F910C991} = {AC5FFC80-92FE-4933-BED2-EC5519AC4440}
{455C01F8-0A3E-42C4-9F22-13992EB909EC} = {AC5FFC80-92FE-4933-BED2-EC5519AC4440}
{0FF6A68F-6C7F-4E66-8CB8-C0B9501060CA} = {8630F7AA-2969-4DC9-8700-9B468C1DC21D}
{1F7B9E9F-9987-490B-9E6E-093C7F63FEC4} = {35972D8A-F47E-4875-A341-E8C25DB7A098}
{35972D8A-F47E-4875-A341-E8C25DB7A098} = {448ED2E5-0B37-4D97-9E6B-8C10A507976A}
{040BB64B-012E-4E4F-BB02-E85EF46D3475} = {423E7BAC-0125-46F4-944D-E8F138B3C654}
Expand All @@ -2289,6 +2354,7 @@ Global
EndGlobalSection
GlobalSection(SharedMSBuildProjectFiles) = preSolution
test\inc\inc.vcxitems*{08bc78e0-63c6-49a7-81b3-6afc3deac4de}*SharedItemsImports = 4
test\inc\inc.vcxitems*{0ff6a68f-6c7f-4e66-8cb8-c0b9501060ca}*SharedItemsImports = 4
dev\PushNotifications\PushNotifications.vcxitems*{103c0c23-7ba8-4d44-a63c-83488e2e3a81}*SharedItemsImports = 9
dev\Notifications\BaseNotifications\BaseNotifications.vcxitems*{2bd7a1bb-d3d8-484f-9180-409d781dccf9}*SharedItemsImports = 9
dev\CompatibilityOptions\CompatibilityOptions.vcxitems*{1f7b9e9f-9987-490b-9e6e-093c7f63fec4}*SharedItemsImports = 9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,21 @@
in the same manifest with the same ActivatableClassId (regardless in same
or different <Extension>s).
-->
<Extension Category="windows.activatableClass.inProcessServer">
<InProcessServer>
<Path>Microsoft.WindowsAppRuntime.dll</Path>
<ActivatableClass ActivatableClassId="Microsoft.Security.Authentication.OAuth.AuthRequestParams" ThreadingModel="both" />
<ActivatableClass ActivatableClassId="Microsoft.Security.Authentication.OAuth.ClientAuthentication" ThreadingModel="both" />
<ActivatableClass ActivatableClassId="Microsoft.Security.Authentication.OAuth.OAuth2Manager" ThreadingModel="both" />
<ActivatableClass ActivatableClassId="Microsoft.Security.Authentication.OAuth.AuthResponse" ThreadingModel="both" />
<ActivatableClass ActivatableClassId="Microsoft.Security.Authentication.OAuth.AuthFailure" ThreadingModel="both" />
<ActivatableClass ActivatableClassId="Microsoft.Security.Authentication.OAuth.AuthRequestResult" ThreadingModel="both" />
<ActivatableClass ActivatableClassId="Microsoft.Security.Authentication.OAuth.TokenRequestParams" ThreadingModel="both" />
<ActivatableClass ActivatableClassId="Microsoft.Security.Authentication.OAuth.TokenResponse" ThreadingModel="both" />
<ActivatableClass ActivatableClassId="Microsoft.Security.Authentication.OAuth.TokenFailure" ThreadingModel="both" />
<ActivatableClass ActivatableClassId="Microsoft.Security.Authentication.OAuth.TokenRequestResult" ThreadingModel="both" />
</InProcessServer>
</Extension>
<Extension Category="windows.activatableClass.inProcessServer">
<InProcessServer>
<Path>Microsoft.WindowsAppRuntime.dll</Path>
Expand Down
Loading