提交 808d1e62 编写于 作者: JasonWcx's avatar JasonWcx

新增测试项目

上级 289c47b2
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{3B2BFA0E-804F-4CB5-B77C-4F1856E6D223}</ProjectGuid>
<OutputType>Exe</OutputType>
<RootNamespace>Mozi.HttpEmbedded.Test</RootNamespace>
<AssemblyName>Mozi.HttpEmbedded.Test</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<Deterministic>true</Deterministic>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Mozi.HttpEmbedded\Mozi.HttpEmbedded.csproj">
<Project>{051c3f42-0a53-4a78-a961-28ffa8c17b46}</Project>
<Name>Mozi.HttpEmbedded</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
\ No newline at end of file
using System;
using Mozi.HttpEmbedded.Auth;
using Mozi.HttpEmbedded.Auth;
using Mozi.HttpEmbedded.Page;
using System;
namespace Mozi.HttpEmbedded
namespace Mozi.HttpEmbedded.Test
{
static class Program
class Program
{
/// <summary>
/// 入口点
/// </summary>
/// <param name="args"></param>
static void Main(string[] args)
{
HttpServer hs = new HttpServer();
......
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Mozi.HttpEmbedded.Test")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Mozi.HttpEmbedded.Test")]
[assembly: AssemblyCopyright("Copyright © 2020")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// 将 ComVisible 设置为 false 会使此程序集中的类型
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("3b2bfa0e-804f-4cb5-b77c-4f1856e6d223")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值
//通过使用 "*",如下所示:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
......@@ -6,7 +6,7 @@
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{051C3F42-0A53-4A78-A961-28FFA8C17B46}</ProjectGuid>
<OutputType>Exe</OutputType>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>Mozi.HttpEmbedded</RootNamespace>
<AssemblyName>Mozi.HttpEmbedded</AssemblyName>
......@@ -49,6 +49,9 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
......@@ -85,7 +88,6 @@
<Compile Include="Page\PageCreator.cs" />
<Compile Include="Page\Router.cs" />
<Compile Include="Page\TestApi.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ProtocolType.cs" />
<Compile Include="HttpRequest.cs" />
......
......@@ -5,16 +5,30 @@ VisualStudioVersion = 16.0.30330.147
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mozi.HttpEmbedded", "Mozi.HttpEmbedded\Mozi.HttpEmbedded.csproj", "{051C3F42-0A53-4A78-A961-28FFA8C17B46}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mozi.HttpEmbedded.Test", "Mozi.HttpEmbedded.Test\Mozi.HttpEmbedded.Test.csproj", "{3B2BFA0E-804F-4CB5-B77C-4F1856E6D223}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{051C3F42-0A53-4A78-A961-28FFA8C17B46}.Debug|Any CPU.ActiveCfg = Debug|x86
{051C3F42-0A53-4A78-A961-28FFA8C17B46}.Debug|x86.ActiveCfg = Debug|x86
{051C3F42-0A53-4A78-A961-28FFA8C17B46}.Debug|x86.Build.0 = Debug|x86
{051C3F42-0A53-4A78-A961-28FFA8C17B46}.Release|Any CPU.ActiveCfg = Release|x86
{051C3F42-0A53-4A78-A961-28FFA8C17B46}.Release|x86.ActiveCfg = Release|x86
{051C3F42-0A53-4A78-A961-28FFA8C17B46}.Release|x86.Build.0 = Release|x86
{3B2BFA0E-804F-4CB5-B77C-4F1856E6D223}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3B2BFA0E-804F-4CB5-B77C-4F1856E6D223}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3B2BFA0E-804F-4CB5-B77C-4F1856E6D223}.Debug|x86.ActiveCfg = Debug|Any CPU
{3B2BFA0E-804F-4CB5-B77C-4F1856E6D223}.Debug|x86.Build.0 = Debug|Any CPU
{3B2BFA0E-804F-4CB5-B77C-4F1856E6D223}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3B2BFA0E-804F-4CB5-B77C-4F1856E6D223}.Release|Any CPU.Build.0 = Release|Any CPU
{3B2BFA0E-804F-4CB5-B77C-4F1856E6D223}.Release|x86.ActiveCfg = Release|Any CPU
{3B2BFA0E-804F-4CB5-B77C-4F1856E6D223}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册