-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5d14a6b
commit 49e8b3c
Showing
24 changed files
with
331 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,32 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<Authors>Zijian Huang</Authors> | ||
<Description>Setup http client resources</Description> | ||
<Copyright>Copyright © Fonlow 2015-$([System.DateTime]::Now.Year)</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/zijianhuang/FonlowTesting</PackageProjectUrl> | ||
<PackageTags>xunit nunit mstest unittesting iisexpress iis webapi restful dotnet</PackageTags> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<Version>3.4</Version> | ||
<PackageReleaseNotes>Upgraded to .NET 8.</PackageReleaseNotes> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<AnalysisLevel>latest-all</AnalysisLevel> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
<CopyDebugSymbolFilesFromPackages>true</CopyDebugSymbolFilesFromPackages> | ||
<CopyDocumentationFilesFromPackages>true</CopyDocumentationFilesFromPackages> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.1" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="README.md" Pack="true" PackagePath="\" /> | ||
</ItemGroup> | ||
</Project> | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<PackageRequireLicenseAcceptance>true</PackageRequireLicenseAcceptance> | ||
<Authors>Zijian Huang</Authors> | ||
<Description>Setup http client resources</Description> | ||
<Copyright>Copyright © Fonlow 2015-$([System.DateTime]::Now.Year)</Copyright> | ||
<PackageLicenseExpression>MIT</PackageLicenseExpression> | ||
<PackageProjectUrl>https://github.com/zijianhuang/FonlowTesting</PackageProjectUrl> | ||
<PackageTags>xunit nunit mstest unittesting iisexpress iis webapi restful dotnet</PackageTags> | ||
<NeutralLanguage>en</NeutralLanguage> | ||
<Version>3.4</Version> | ||
<PackageReleaseNotes>Upgraded to .NET 8.</PackageReleaseNotes> | ||
<PackageReadmeFile>README.md</PackageReadmeFile> | ||
<AnalysisLevel>latest-all</AnalysisLevel> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'"> | ||
<IncludeSymbols>true</IncludeSymbols> | ||
<SymbolPackageFormat>snupkg</SymbolPackageFormat> | ||
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> | ||
<CopyDebugSymbolFilesFromPackages>true</CopyDebugSymbolFilesFromPackages> | ||
<CopyDocumentationFilesFromPackages>true</CopyDocumentationFilesFromPackages> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.1" /> | ||
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" /> | ||
<None Include="..\README.md" Pack="true" PackagePath="\" /> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,34 @@ | ||
using System.IO; | ||
using System.Linq; | ||
|
||
namespace Fonlow.Testing | ||
using System; | ||
using System.IO; | ||
using System.Linq; | ||
|
||
namespace Fonlow.Testing | ||
{ | ||
public static class DirFunctions | ||
{ | ||
public static class DirFunctions | ||
{ | ||
/// <summary> | ||
/// Get Visual Studio Sln dir. | ||
/// </summary> | ||
/// <param name="dir"></param> | ||
/// <returns></returns> | ||
public static DirectoryInfo GetSlnDir(string dir) | ||
{ | ||
var d = new DirectoryInfo(dir); | ||
|
||
DirectoryInfo[] ds; | ||
do | ||
{ | ||
d = d.Parent; | ||
if (d == null) | ||
break; | ||
|
||
ds = d.EnumerateDirectories(".vs", SearchOption.TopDirectoryOnly).ToArray(); | ||
} | ||
while (ds.Length == 0); | ||
|
||
return d; | ||
} | ||
|
||
} | ||
} | ||
/// <returns></returns> | ||
[Obsolete("IIS Legacy")] | ||
public static DirectoryInfo GetSlnDir(string dir) | ||
{ | ||
var d = new DirectoryInfo(dir); | ||
|
||
DirectoryInfo[] ds; | ||
do | ||
{ | ||
d = d.Parent; | ||
if (d == null) | ||
break; | ||
|
||
ds = d.EnumerateDirectories(".vs", SearchOption.TopDirectoryOnly).ToArray(); | ||
} | ||
while (ds.Length == 0); | ||
|
||
return d; | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
using System; | ||
|
||
namespace Fonlow.Testing | ||
using System; | ||
|
||
namespace Fonlow.Testing | ||
{ | ||
/// <summary> | ||
/// To be used alone without fixture. | ||
/// </summary> | ||
[Obsolete("In favor of ServiceCommandAgent")] | ||
public class IisExpressAgent: IisExpressAgentBase | ||
{ | ||
public IisExpressAgent(): base(TestingSettings.Instance.HostSite, TestingSettings.Instance.HostSiteApplicationPool, | ||
TestingSettings.Instance.SlnName, TestingSettings.Instance.SlnRoot) | ||
{ | ||
|
||
} | ||
} | ||
} | ||
/// <summary> | ||
/// To be used alone without fixture. | ||
/// </summary> | ||
[Obsolete("In favor of ServiceCommandAgent")] | ||
public class IisExpressAgent: IisExpressAgentBase | ||
{ | ||
public IisExpressAgent(): base(TestingSettings.Instance.HostSite, TestingSettings.Instance.HostSiteApplicationPool, | ||
TestingSettings.Instance.SlnName, TestingSettings.Instance.SlnRoot) | ||
{ | ||
|
||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
using System; | ||
|
||
namespace Fonlow.Testing | ||
{ | ||
[Obsolete("In favor of ServiceCommandFixture")] | ||
public class IisExpressFixture : IisExpressFixtureBase | ||
{ | ||
public IisExpressFixture(): base(!String.IsNullOrWhiteSpace(TestingSettings.Instance.HostSite)) | ||
{ | ||
|
||
} | ||
} | ||
} | ||
using System; | ||
|
||
namespace Fonlow.Testing | ||
{ | ||
[Obsolete("In favor of ServiceCommandFixture")] | ||
public class IisExpressFixture : IisExpressFixtureBase | ||
{ | ||
public IisExpressFixture(): base(!String.IsNullOrWhiteSpace(TestingSettings.Instance.HostSite)) | ||
{ | ||
|
||
} | ||
} | ||
} |
Oops, something went wrong.