Shared helpers for creating framework-dependent/self-contained apps in host tests...
authorElinor Fung <elfung@microsoft.com>
Mon, 13 Mar 2023 17:49:27 +0000 (10:49 -0700)
committerGitHub <noreply@github.com>
Mon, 13 Mar 2023 17:49:27 +0000 (10:49 -0700)
commita84fff950a83c9c3a38e8da9eae89639f83b4f62
treedd9767164f037f4317cb89d2803b32d8d58e0ea0
parentc861106fe4883bc47b20912cfb122ab2da4dcf1d
Shared helpers for creating framework-dependent/self-contained apps in host tests (#83291)

- Add centralized helpers for:
  - Creating framework-dependent or self-contained apps
  - Host binaries' names and paths
- Update native search directories test to validate behaviour with .deps.json (the test was using an app without .deps.json)
27 files changed:
src/installer/tests/HostActivation.Tests/DependencyResolution/AdditionalDeps.cs
src/installer/tests/HostActivation.Tests/DependencyResolution/ComponentDependencyResolutionBase.cs
src/installer/tests/HostActivation.Tests/DependencyResolution/DependencyResolutionBase.cs
src/installer/tests/HostActivation.Tests/DependencyResolution/RidAssetResolution.cs
src/installer/tests/HostActivation.Tests/FrameworkResolution/FrameworkResolutionBase.cs
src/installer/tests/HostActivation.Tests/MultiArchInstallLocation.cs
src/installer/tests/HostActivation.Tests/NativeHostApis.cs
src/installer/tests/HostActivation.Tests/NativeHosting/Comhost.cs
src/installer/tests/HostActivation.Tests/NativeHosting/ComhostSideBySide.cs
src/installer/tests/HostActivation.Tests/NativeHosting/GetNativeSearchDirectories.cs
src/installer/tests/HostActivation.Tests/NativeHosting/HostContext.cs
src/installer/tests/HostActivation.Tests/NativeHosting/Ijwhost.cs
src/installer/tests/HostActivation.Tests/NativeHosting/LoadAssembly.cs
src/installer/tests/HostActivation.Tests/NativeHosting/Nethost.cs
src/installer/tests/HostActivation.Tests/NativeHosting/SharedTestStateBase.cs
src/installer/tests/HostActivation.Tests/NativeUnitTests.cs
src/installer/tests/HostActivation.Tests/PortableAppActivation.cs
src/installer/tests/HostActivation.Tests/StandaloneAppActivation.cs
src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/BundleTestBase.cs
src/installer/tests/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/SingleFileSharedState.cs
src/installer/tests/TestUtils/Binaries.cs [new file with mode: 0644]
src/installer/tests/TestUtils/DotNetBuilder.cs
src/installer/tests/TestUtils/DotNetCli.cs
src/installer/tests/TestUtils/NetCoreAppBuilder.cs
src/installer/tests/TestUtils/RepoDirectoriesProvider.cs
src/installer/tests/TestUtils/RuntimeInformationExtensions.cs [deleted file]
src/installer/tests/TestUtils/TestApp.cs