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

Move test projects to SDK-based .csproj #10087

Merged
merged 27 commits into from
Jul 29, 2024
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
8390b18
Move tests to SDK-based .csproj
joelverhagen Jul 27, 2024
1d5c61f
Latest lang
joelverhagen Jul 27, 2024
6bc8e48
Move solution to root
joelverhagen Jul 27, 2024
b8b8bfd
Move functional test csproj to SDK-based
joelverhagen Jul 27, 2024
1b346cc
Add missing import
joelverhagen Jul 27, 2024
6114bb0
VSTest is used now
joelverhagen Jul 27, 2024
a9c9884
Clean up scripts
joelverhagen Jul 27, 2024
8613ffc
Fix
joelverhagen Jul 27, 2024
3ac7243
New build tools to fix signing
joelverhagen Jul 27, 2024
7761f07
Add VSINSTALLDIR
joelverhagen Jul 27, 2024
f5d607e
Clean up
joelverhagen Jul 27, 2024
8e96700
Better way to pass params
joelverhagen Jul 27, 2024
7a003c2
Clean up build command
joelverhagen Jul 27, 2024
e57dd7b
Revert
joelverhagen Jul 28, 2024
7c6f434
Add 3P props to SDK proj
joelverhagen Jul 28, 2024
fa9055b
Add binlog
joelverhagen Jul 28, 2024
8ac2787
Make more dry
joelverhagen Jul 28, 2024
06e0003
A mess to be sure
joelverhagen Jul 28, 2024
6df1623
Fix path
joelverhagen Jul 28, 2024
df60a15
Add binding redirect back
joelverhagen Jul 28, 2024
45e4e54
Add missing IsPackable
joelverhagen Jul 29, 2024
91c4904
Bring a little more clean up in
joelverhagen Jul 29, 2024
815c486
Remove <IsPackable> since xunit.core adds it via IsTestProject
joelverhagen Jul 29, 2024
f5f3fd6
Switch to IsTestProject in functional test projects that don't use xunit
joelverhagen Jul 29, 2024
91ddc77
Fix tabs
joelverhagen Jul 29, 2024
4ff09d2
Assert.NotNull
joelverhagen Jul 29, 2024
f22524b
Latest build tools
joelverhagen Jul 29, 2024
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
Prev Previous commit
Next Next commit
A mess to be sure
joelverhagen committed Jul 28, 2024
commit 06e0003d1cb1e9123b650594087b6a6b643fe403
2 changes: 1 addition & 1 deletion tests/Scripts/BuildGalleryFunctionalTests.ps1
Original file line number Diff line number Diff line change
@@ -26,7 +26,7 @@ if ($LASTEXITCODE -ne 0) {

# Build the solution
Write-Host "Building solution"
& $msbuild $solutionPath "/p:Configuration=$Configuration" "/p:VSINSTALLDIR=$($VsInstallationPath + '\')" /bl
& $msbuild $solutionPath "/p:Configuration=$Configuration" ('/p:VSINSTALLDIR="' + $VsInstallationPath + '"')
if ($LASTEXITCODE -ne 0) {
throw "Failed to build solution!"
}
2 changes: 1 addition & 1 deletion tests/Scripts/Import-GalleryConfiguration.ps1
Original file line number Diff line number Diff line change
@@ -77,7 +77,7 @@ $configObject = New-Object PSObject
$file = "$PSScriptRoot\temp-$filename"
Write-Host "Downloading temporary configuration file $filename"
$requestUri = "https://$Instance.visualstudio.com/DefaultCollection/$Project/_apis/git/repositories/$Repository/items?api-version=1.0&versionDescriptor.version=$Branch&scopePath=GalleryFunctionalConfig\$filename"
$response = Invoke-WebRequest -UseBasicParsing -Uri $requestUri -Headers $headers -OutFile $file
Invoke-WebRequest -UseBasicParsing -Uri $requestUri -Headers $headers -OutFile $file | Out-Null
$configData = Get-Content -Path $file | ConvertFrom-Json
Remove-Item -Path $file
# Merge the current file with the last files