Permalink
Browse files

Add test cases for DotNetCore

  • Loading branch information...
LaylaLiu committed Nov 15, 2016
1 parent dc9632b commit 3ea2d70d14c97344f43383d867a9edd81eb407a3
Showing with 12,104 additions and 45 deletions.
  1. +12 −3 build.ps1
  2. BIN sln/.nuget/NuGet.exe
  3. +19 −19 sln/Microsoft.OData.E2E.Portable.sln
  4. +191 −0 sln/Microsoft.Test.OData.DotNetCore.sln
  5. +19 −19 sln/Microsoft.Test.OData.Tests.Client.Portable.Desktop.sln
  6. +451 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/AsynchronousTests/AsyncMethodTests.cs
  7. +517 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/AsynchronousTests/AsynchronousDelayQueryTests.cs
  8. +1,234 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/AsynchronousTests/AsynchronousQueryTests.cs
  9. +410 −0 ...tNetCoreTests/Microsoft.OData.E2E.DotNetCore/AsynchronousTests/AsynchronousSingletonClientTest.cs
  10. +76 −0 ...ests/Microsoft.OData.E2E.DotNetCore/AsynchronousTests/AsynchronousTestsExtensionMethodsDesktop.cs
  11. +622 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/AsynchronousTests/AsynchronousUpdateTests.cs
  12. +397 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/BindingTests.cs
  13. +32 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/DesktopExternalUriGenerator.cs
  14. +93 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/EndToEndTestBase.cs
  15. +32 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/Microsoft.OData.E2E.DotNetCore.xproj
  16. +43 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/PlatformHelper.cs
  17. +18 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/ServiceGeneratorFactory.cs
  18. +23 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/project.json
  19. +7,695 −0 test/DotNetCoreTests/Microsoft.OData.E2E.DotNetCore/project.lock.json
  20. +74 −0 test/DotNetCoreTests/Microsoft.Test.OData.NuGetPackages/Microsoft.Test.OData.NuGetPackages.csproj
  21. +6 −0 test/DotNetCoreTests/Microsoft.Test.OData.NuGetPackages/NuGet.Config
  22. +30 −0 ...tNetCoreTests/Microsoft.Test.OData.NuGetPackages/nuspecs/Microsoft.OData.Client.dotnetcore.nuspec
  23. +27 −0 ...DotNetCoreTests/Microsoft.Test.OData.NuGetPackages/nuspecs/Microsoft.OData.Core.dotnetcore.nuspec
  24. +23 −0 .../DotNetCoreTests/Microsoft.Test.OData.NuGetPackages/nuspecs/Microsoft.OData.Edm.dotnetcore.nuspec
  25. +23 −0 test/DotNetCoreTests/Microsoft.Test.OData.NuGetPackages/nuspecs/Microsoft.Spatial.dotnetcore.nuspec
  26. +17 −0 ...Tests/Microsoft.Test.OData.NuGetPackages/nuspecs/Microsoft.Test.OData.Framework.dotnetcore.nuspec
  27. +17 −0 ...oft.Test.OData.NuGetPackages/nuspecs/Microsoft.Test.OData.Services.TestServices.dotnetcore.nuspec
  28. +3 −4 ...EndToEndTests/Framework/Core/Build.PortableLibrary/Microsoft.Test.OData.Framework.Portable.csproj
@@ -52,9 +52,10 @@ $SN = $PROGRAMFILESX86 + "\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\sn
$SNx64 = $PROGRAMFILESX86 + "\Microsoft SDKs\Windows\v8.1A\bin\NETFX 4.5.1 Tools\x64\sn.exe"
# Fall back to Visual Studio 2015.
$VS14MSBUILD=$PROGRAMFILESX86 + "\MSBuild\14.0\Bin\MSBuild.exe"
if (!(Test-Path $MSBUILD) -or !(Test-Path $VSTEST) -or !(Test-Path $FXCOPDIR))
{
$MSBUILD = $PROGRAMFILESX86 + "\MSBuild\14.0\Bin\MSBuild.exe"
$MSBUILD = $VS14MSBUILD
$VSTEST = $PROGRAMFILESX86 + "\Microsoft Visual Studio 14.0\Common7\IDE\CommonExtensions\Microsoft\TestWindow\vstest.console.exe"
$FXCOPDIR = $PROGRAMFILESX86 + "\Microsoft Visual Studio 14.0\Team Tools\Static Analysis Tools\FxCop"
}
@@ -256,12 +257,17 @@ Function CleanBeforeScorch
}
# Incremental build and rebuild
Function RunBuild ($sln)
Function RunBuild ($sln, $vsToolVersion)
{
Write-Host "*** Building $sln ***"
$slnpath = $ENLISTMENT_ROOT + "\sln\$sln"
$Conf = "/p:Configuration=" + "$Configuration"
if($vsToolVersion -eq '14.0')
{
$MSBUILD=$VS14MSBUILD
}
& $MSBUILD $slnpath /t:$Build /m /nr:false /fl "/p:Platform=Any CPU" $Conf /p:Desktop=true `
/flp:LogFile=$LOGDIR/msbuild.log /flp:Verbosity=Normal 1>$null 2>$null
if($LASTEXITCODE -eq 0)
@@ -454,7 +460,10 @@ Function BuildProcess
RunBuild ('Microsoft.Test.OData.Tests.Client.Portable.WindowsStore.sln')
RunBuild ('Microsoft.OData.CodeGen.sln')
RunBuild ('Microsoft.OData.E2E.sln')
RunBuild ('Microsoft.OData.Performance.sln')
if(Test-Path $VS14MSBUILD)
{
RunBuild -sln 'Microsoft.Test.OData.DotNetCore.sln' -vsToolVersion '14.0'
}
Write-Host "Build Done" -ForegroundColor $Success
$script:BUILD_END_TIME = Get-Date
}
BIN +3.76 MB (330%) sln/.nuget/NuGet.exe
Binary file not shown.
@@ -14,7 +14,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Spatial", "..\src
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Test.OData.Services.TestServices.Portable", "..\test\EndToEndTests\Services\TestServices\Build.PortableLibrary\Microsoft.Test.OData.Services.TestServices.Portable.csproj", "{4382D649-1A86-48D0-9156-AC37C3D568C0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Test.OData.Framework.Portable", "..\test\EndToEndTests\Framework\Core\Build.PortableLibrary\Microsoft.Test.OData.Framework.Portable.csproj", "{134D2AD7-3C82-45C9-AC43-75F482081F8D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.Test.OData.Framework.Portable", "..\test\EndToEndTests\Framework\Core\Build.PortableLibrary\Microsoft.Test.OData.Framework.Portable.csproj", "{74295872-F930-497B-A70E-ED4FAAB395C4}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Microsoft.OData.E2E.Profile7", "..\test\EndToEndTests\Microsoft.OData.E2E.Portable\Microsoft.OData.E2E.Profile7.csproj", "{A5A3F799-3B12-4BE6-85C7-51AD75565DE8}"
EndProject
@@ -133,24 +133,24 @@ Global
{4382D649-1A86-48D0-9156-AC37C3D568C0}.Release|x64.Build.0 = Release|x64
{4382D649-1A86-48D0-9156-AC37C3D568C0}.Release|x86.ActiveCfg = Release|x86
{4382D649-1A86-48D0-9156-AC37C3D568C0}.Release|x86.Build.0 = Release|x86
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Cover|Any CPU.ActiveCfg = Cover|Any CPU
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Cover|Any CPU.Build.0 = Cover|Any CPU
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Cover|x64.ActiveCfg = Cover|x64
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Cover|x64.Build.0 = Cover|x64
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Cover|x86.ActiveCfg = Cover|x86
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Cover|x86.Build.0 = Cover|x86
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Debug|x64.ActiveCfg = Debug|x64
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Debug|x64.Build.0 = Debug|x64
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Debug|x86.ActiveCfg = Debug|x86
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Debug|x86.Build.0 = Debug|x86
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Release|Any CPU.Build.0 = Release|Any CPU
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Release|x64.ActiveCfg = Release|x64
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Release|x64.Build.0 = Release|x64
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Release|x86.ActiveCfg = Release|x86
{134D2AD7-3C82-45C9-AC43-75F482081F8D}.Release|x86.Build.0 = Release|x86
{74295872-F930-497B-A70E-ED4FAAB395C4}.Cover|Any CPU.ActiveCfg = Cover|Any CPU
{74295872-F930-497B-A70E-ED4FAAB395C4}.Cover|Any CPU.Build.0 = Cover|Any CPU
{74295872-F930-497B-A70E-ED4FAAB395C4}.Cover|x64.ActiveCfg = Cover|x64
{74295872-F930-497B-A70E-ED4FAAB395C4}.Cover|x64.Build.0 = Cover|x64
{74295872-F930-497B-A70E-ED4FAAB395C4}.Cover|x86.ActiveCfg = Cover|x86
{74295872-F930-497B-A70E-ED4FAAB395C4}.Cover|x86.Build.0 = Cover|x86
{74295872-F930-497B-A70E-ED4FAAB395C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{74295872-F930-497B-A70E-ED4FAAB395C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
{74295872-F930-497B-A70E-ED4FAAB395C4}.Debug|x64.ActiveCfg = Debug|x64
{74295872-F930-497B-A70E-ED4FAAB395C4}.Debug|x64.Build.0 = Debug|x64
{74295872-F930-497B-A70E-ED4FAAB395C4}.Debug|x86.ActiveCfg = Debug|x86
{74295872-F930-497B-A70E-ED4FAAB395C4}.Debug|x86.Build.0 = Debug|x86
{74295872-F930-497B-A70E-ED4FAAB395C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
{74295872-F930-497B-A70E-ED4FAAB395C4}.Release|Any CPU.Build.0 = Release|Any CPU
{74295872-F930-497B-A70E-ED4FAAB395C4}.Release|x64.ActiveCfg = Release|x64
{74295872-F930-497B-A70E-ED4FAAB395C4}.Release|x64.Build.0 = Release|x64
{74295872-F930-497B-A70E-ED4FAAB395C4}.Release|x86.ActiveCfg = Release|x86
{74295872-F930-497B-A70E-ED4FAAB395C4}.Release|x86.Build.0 = Release|x86
{A5A3F799-3B12-4BE6-85C7-51AD75565DE8}.Cover|Any CPU.ActiveCfg = Release|Any CPU
{A5A3F799-3B12-4BE6-85C7-51AD75565DE8}.Cover|Any CPU.Build.0 = Release|Any CPU
{A5A3F799-3B12-4BE6-85C7-51AD75565DE8}.Cover|x64.ActiveCfg = Release|Any CPU
Oops, something went wrong.

0 comments on commit 3ea2d70

Please sign in to comment.