Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smallproject
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mahaisong
smallproject
Commits
fc397fad
Commit
fc397fad
authored
May 22, 2018
by
mahaisong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:新增redis+kafka的单元测试: 测试并发效果
parent
9bcf2f4d
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
156 additions
and
0 deletions
+156
-0
8.(扩展2)redis与kafka可行性.docx
8.(扩展2)redis与kafka可行性.docx
+0
-0
.suo
...a_UnitTestProject/.vs/RedisKafka_UnitTestProject/v14/.suo
+0
-0
RedisKafka_UnitTestProject.sln
8.2RedisKafka_UnitTestProject/RedisKafka_UnitTestProject.sln
+22
-0
AssemblyInfo.cs
...tProject/Redis_UnitTestProject/Properties/AssemblyInfo.cs
+36
-0
Redis_UnitTestProject.csproj
...roject/Redis_UnitTestProject/Redis_UnitTestProject.csproj
+84
-0
UnitTest1.cs
...sKafka_UnitTestProject/Redis_UnitTestProject/UnitTest1.cs
+14
-0
DesignTimeResolveAssemblyReferencesInput.cache
.../obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
+0
-0
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
...raryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
+0
-0
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
...raryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
+0
-0
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
...raryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
+0
-0
No files found.
8.(扩展2)redis与kafka可行性.docx
View file @
fc397fad
No preview for this file type
8.2RedisKafka_UnitTestProject/.vs/RedisKafka_UnitTestProject/v14/.suo
0 → 100644
View file @
fc397fad
File added
8.2RedisKafka_UnitTestProject/RedisKafka_UnitTestProject.sln
0 → 100644
View file @
fc397fad
Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Redis_UnitTestProject", "Redis_UnitTestProject\Redis_UnitTestProject.csproj", "{C32E6371-E9F9-41B3-BA4C-31627BF0B64D}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C32E6371-E9F9-41B3-BA4C-31627BF0B64D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C32E6371-E9F9-41B3-BA4C-31627BF0B64D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C32E6371-E9F9-41B3-BA4C-31627BF0B64D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C32E6371-E9F9-41B3-BA4C-31627BF0B64D}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal
8.2RedisKafka_UnitTestProject/Redis_UnitTestProject/Properties/AssemblyInfo.cs
0 → 100644
View file @
fc397fad
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("Redis_UnitTestProject")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("Redis_UnitTestProject")]
[assembly: AssemblyCopyright("Copyright © 2018")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
//将 ComVisible 设置为 false 将使此程序集中的类型
//对 COM 组件不可见。 如果需要从 COM 访问此程序集中的类型,
//请将此类型的 ComVisible 特性设置为 true。
[assembly: ComVisible(false)]
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
[assembly: Guid("c32e6371-e9f9-41b3-ba4c-31627bf0b64d")]
// 程序集的版本信息由下列四个值组成:
//
// 主版本
// 次版本
// 生成号
// 修订号
//
//可以指定所有这些值,也可以使用“生成号”和“修订号”的默认值,
// 方法是按如下所示使用“*”: :
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
8.2RedisKafka_UnitTestProject/Redis_UnitTestProject/Redis_UnitTestProject.csproj
0 → 100644
View file @
fc397fad
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"14.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<Configuration
Condition=
" '$(Configuration)' == '' "
>
Debug
</Configuration>
<Platform
Condition=
" '$(Platform)' == '' "
>
AnyCPU
</Platform>
<ProjectGuid>
{C32E6371-E9F9-41B3-BA4C-31627BF0B64D}
</ProjectGuid>
<OutputType>
Library
</OutputType>
<AppDesignerFolder>
Properties
</AppDesignerFolder>
<RootNamespace>
Redis_UnitTestProject
</RootNamespace>
<AssemblyName>
Redis_UnitTestProject
</AssemblyName>
<TargetFrameworkVersion>
v4.5
</TargetFrameworkVersion>
<FileAlignment>
512
</FileAlignment>
<ProjectTypeGuids>
{3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
</ProjectTypeGuids>
<VisualStudioVersion
Condition=
"'$(VisualStudioVersion)' == ''"
>
10.0
</VisualStudioVersion>
<VSToolsPath
Condition=
"'$(VSToolsPath)' == ''"
>
$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
</VSToolsPath>
<ReferencePath>
$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages
</ReferencePath>
<IsCodedUITest>
False
</IsCodedUITest>
<TestProjectType>
UnitTest
</TestProjectType>
</PropertyGroup>
<PropertyGroup
Condition=
" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "
>
<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' "
>
<DebugType>
pdbonly
</DebugType>
<Optimize>
true
</Optimize>
<OutputPath>
bin\Release\
</OutputPath>
<DefineConstants>
TRACE
</DefineConstants>
<ErrorReport>
prompt
</ErrorReport>
<WarningLevel>
4
</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference
Include=
"System"
/>
</ItemGroup>
<Choose>
<When
Condition=
"('$(VisualStudioVersion)' == '10.0' or '$(VisualStudioVersion)' == '') and '$(TargetFrameworkVersion)' == 'v3.5'"
>
<ItemGroup>
<Reference
Include=
"Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
/>
</ItemGroup>
</When>
<Otherwise>
<ItemGroup>
<Reference
Include=
"Microsoft.VisualStudio.QualityTools.UnitTestFramework"
/>
</ItemGroup>
</Otherwise>
</Choose>
<ItemGroup>
<Compile
Include=
"UnitTest1.cs"
/>
<Compile
Include=
"Properties\AssemblyInfo.cs"
/>
</ItemGroup>
<Choose>
<When
Condition=
"'$(VisualStudioVersion)' == '10.0' And '$(IsCodedUITest)' == 'True'"
>
<ItemGroup>
<Reference
Include=
"Microsoft.VisualStudio.QualityTools.CodedUITestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
>
<Private>
False
</Private>
</Reference>
<Reference
Include=
"Microsoft.VisualStudio.TestTools.UITest.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
>
<Private>
False
</Private>
</Reference>
<Reference
Include=
"Microsoft.VisualStudio.TestTools.UITest.Extension, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
>
<Private>
False
</Private>
</Reference>
<Reference
Include=
"Microsoft.VisualStudio.TestTools.UITesting, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL"
>
<Private>
False
</Private>
</Reference>
</ItemGroup>
</When>
</Choose>
<Import
Project=
"$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets"
Condition=
"Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')"
/>
<Import
Project=
"$(MSBuildToolsPath)\Microsoft.CSharp.targets"
/>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
\ No newline at end of file
8.2RedisKafka_UnitTestProject/Redis_UnitTestProject/UnitTest1.cs
0 → 100644
View file @
fc397fad
using
System
;
using
Microsoft.VisualStudio.TestTools.UnitTesting
;
namespace
Redis_UnitTestProject
{
[
TestClass
]
public
class
UnitTest1
{
[
TestMethod
]
public
void
TestMethod1
()
{
}
}
}
8.2RedisKafka_UnitTestProject/Redis_UnitTestProject/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
0 → 100644
View file @
fc397fad
File added
8.2RedisKafka_UnitTestProject/Redis_UnitTestProject/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
0 → 100644
View file @
fc397fad
8.2RedisKafka_UnitTestProject/Redis_UnitTestProject/obj/Debug/TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs
0 → 100644
View file @
fc397fad
8.2RedisKafka_UnitTestProject/Redis_UnitTestProject/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
0 → 100644
View file @
fc397fad
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment