Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
tsai
CAP
Commits
af75d3f1
Commit
af75d3f1
authored
Dec 14, 2016
by
yangxiaodong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add test project
parent
eb25089f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
79 additions
and
2 deletions
+79
-2
AssemblyInfo.cs
src/Cap.Consistency/Properties/AssemblyInfo.cs
+2
-2
Cap.Consistency.Test.xproj
test/Cap.Consistency.Test/Cap.Consistency.Test.xproj
+21
-0
Class1.cs
test/Cap.Consistency.Test/Class1.cs
+14
-0
AssemblyInfo.cs
test/Cap.Consistency.Test/Properties/AssemblyInfo.cs
+19
-0
project.json
test/Cap.Consistency.Test/project.json
+23
-0
No files found.
src/Cap.Consistency/Properties/AssemblyInfo.cs
View file @
af75d3f1
...
@@ -6,8 +6,8 @@ using System.Runtime.InteropServices;
...
@@ -6,8 +6,8 @@ using System.Runtime.InteropServices;
// set of attributes. Change these attribute values to modify the information
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
// associated with an assembly.
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyCompany
(
""
)]
[
assembly
:
AssemblyCompany
(
"
Savorboard
"
)]
[
assembly
:
AssemblyProduct
(
"
Kafka
Consistence"
)]
[
assembly
:
AssemblyProduct
(
"
Cap.
Consistence"
)]
[
assembly
:
AssemblyTrademark
(
""
)]
[
assembly
:
AssemblyTrademark
(
""
)]
// Setting ComVisible to false makes the types in this assembly not visible
// Setting ComVisible to false makes the types in this assembly not visible
...
...
test/Cap.Consistency.Test/Cap.Consistency.Test.xproj
0 → 100644
View file @
af75d3f1
<?xml version="1.0" encoding="utf-8"?>
<Project
ToolsVersion=
"14.0"
DefaultTargets=
"Build"
xmlns=
"http://schemas.microsoft.com/developer/msbuild/2003"
>
<PropertyGroup>
<VisualStudioVersion
Condition=
"'$(VisualStudioVersion)' == ''"
>
14.0
</VisualStudioVersion>
<VSToolsPath
Condition=
"'$(VSToolsPath)' == ''"
>
$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
</VSToolsPath>
</PropertyGroup>
<Import
Project=
"$(VSToolsPath)\DotNet\Microsoft.DotNet.Props"
Condition=
"'$(VSToolsPath)' != ''"
/>
<PropertyGroup
Label=
"Globals"
>
<ProjectGuid>
3a444cf8-1611-407f-8d32-5d0cdc3dd49d
</ProjectGuid>
<RootNamespace>
Cap.Consistency.Test
</RootNamespace>
<BaseIntermediateOutputPath
Condition=
"'$(BaseIntermediateOutputPath)'=='' "
>
.\obj
</BaseIntermediateOutputPath>
<OutputPath
Condition=
"'$(OutputPath)'=='' "
>
.\bin\
</OutputPath>
<TargetFrameworkVersion>
v4.6
</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup>
<SchemaVersion>
2.0
</SchemaVersion>
</PropertyGroup>
<Import
Project=
"$(VSToolsPath)\DotNet\Microsoft.DotNet.targets"
Condition=
"'$(VSToolsPath)' != ''"
/>
</Project>
test/Cap.Consistency.Test/Class1.cs
0 → 100644
View file @
af75d3f1
using
System
;
using
System.Collections.Generic
;
using
System.Linq
;
using
System.Threading.Tasks
;
namespace
Cap.Consistency.Test
{
public
class
Class1
{
public
Class1
()
{
}
}
}
test/Cap.Consistency.Test/Properties/AssemblyInfo.cs
0 → 100644
View file @
af75d3f1
using
System.Reflection
;
using
System.Runtime.CompilerServices
;
using
System.Runtime.InteropServices
;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[
assembly
:
AssemblyConfiguration
(
""
)]
[
assembly
:
AssemblyCompany
(
""
)]
[
assembly
:
AssemblyProduct
(
"Cap.Consistency.Test"
)]
[
assembly
:
AssemblyTrademark
(
""
)]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[
assembly
:
ComVisible
(
false
)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[
assembly
:
Guid
(
"3a444cf8-1611-407f-8d32-5d0cdc3dd49d"
)]
test/Cap.Consistency.Test/project.json
0 → 100644
View file @
af75d3f1
{
"version"
:
"1.0.0-*"
,
"dependencies"
:
{
"xunit"
:
"2.2.0-beta4-build3444"
,
"dotnet-test-xunit"
:
"2.2.0-preview2-build1029"
,
"Cap.Consistency"
:
"1.0.0-*"
},
"frameworks"
:
{
"netcoreapp1.1"
:
{
"imports"
:
[
"dnxcore50"
,
"portable-net451+win8"
],
"dependencies"
:
{
"Microsoft.NETCore.App"
:
{
"version"
:
"1.1.0"
,
"type"
:
"platform"
},
//
"moq.netcore"
:
"4.4.0-beta8"
}
}
},
"testRunner"
:
"xunit"
}
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