Skip to content

Commit bb1f773

Browse files
committed
Merge pull request #12 from JakeGinnivan/ApiSpike
First pass of a new API
2 parents 52002a0 + 9192450 commit bb1f773

File tree

72 files changed

+2650
-21
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+2650
-21
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
### Check me into the root of the repo
22
### as .gitattributes
33

4+
*.approved.* binary
45

56
*.doc diff=astextplain
67
*.DOC diff=astextplain

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ _ReSharper.*
1111
*.suo
1212
*.crunchproject.local.xml
1313
*.crunchsolution.local.xml
14-
*.ncrunchsolution
15-
*.ncrunchproject
16-
ConventionTests*.nupkg
14+
ConventionTests*.nupkg
15+
_NCrunch*
16+
*.received.txt
17+
*.orig

ConventionTests.ncrunchsolution

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<SolutionConfiguration>
2+
<FileVersion>1</FileVersion>
3+
<AutoEnableOnStartup>True</AutoEnableOnStartup>
4+
<AllowParallelTestExecution>false</AllowParallelTestExecution>
5+
<AllowTestsToRunInParallelWithThemselves>true</AllowTestsToRunInParallelWithThemselves>
6+
<FrameworkUtilisationTypeForNUnit>UseDynamicAnalysis</FrameworkUtilisationTypeForNUnit>
7+
<FrameworkUtilisationTypeForGallio>UseStaticAnalysis</FrameworkUtilisationTypeForGallio>
8+
<FrameworkUtilisationTypeForMSpec>UseStaticAnalysis</FrameworkUtilisationTypeForMSpec>
9+
<FrameworkUtilisationTypeForMSTest>UseStaticAnalysis</FrameworkUtilisationTypeForMSTest>
10+
<MetricsExclusionList>
11+
</MetricsExclusionList>
12+
</SolutionConfiguration>

ConventionTests.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<Root>$(MSBuildProjectDirectory)\</Root>
55
<BuildPlatform Condition="$(BuildPlatform) == ''">Any CPU</BuildPlatform>
6-
<Configuration Condition="$(Configuration) == ''">Release</Configuration>
6+
<Configuration Condition="$(Configuration) == ''">Debug</Configuration>
77
<MSBuildCommunityTasksPath>$(Root)tools\MSBuildCommunityTasks</MSBuildCommunityTasksPath>
88
<NUnitHome>$(MSBuildProjectDirectory)\packages\NUnit.Runners.2.6.2\tools\</NUnitHome>
99
<NUnitConsole>$(NUnitHome)nunit-console.exe</NUnitConsole>

ConventionTests.sln

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11

2-
Microsoft Visual Studio Solution File, Format Version 11.00
3-
# Visual Studio 2010
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2013
4+
VisualStudioVersion = 12.0.20617.1 PREVIEW
5+
MinimumVisualStudioVersion = 10.0.40219.1
46
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ConventionTests", "ConventionTests\ConventionTests.csproj", "{1E12EA0C-9182-4029-991A-B0B9D38F5783}"
57
EndProject
68
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{AF9054EE-FE89-47A4-9156-BE54A837F2F7}"
@@ -19,6 +21,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{35B8E1
1921
.nuget\packages.config = .nuget\packages.config
2022
EndProjectSection
2123
EndProject
24+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestAssembly", "TestAssembly\TestAssembly.csproj", "{D5A0D078-C660-4654-8A14-DDC816BEBC54}"
25+
EndProject
2226
Global
2327
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2428
Debug|Any CPU = Debug|Any CPU
@@ -37,6 +41,10 @@ Global
3741
{FEFF8305-A192-4CEA-A373-6CF2F365A9E5}.Debug|Any CPU.Build.0 = Debug|Any CPU
3842
{FEFF8305-A192-4CEA-A373-6CF2F365A9E5}.Release|Any CPU.ActiveCfg = Release|Any CPU
3943
{FEFF8305-A192-4CEA-A373-6CF2F365A9E5}.Release|Any CPU.Build.0 = Release|Any CPU
44+
{D5A0D078-C660-4654-8A14-DDC816BEBC54}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
45+
{D5A0D078-C660-4654-8A14-DDC816BEBC54}.Debug|Any CPU.Build.0 = Debug|Any CPU
46+
{D5A0D078-C660-4654-8A14-DDC816BEBC54}.Release|Any CPU.ActiveCfg = Release|Any CPU
47+
{D5A0D078-C660-4654-8A14-DDC816BEBC54}.Release|Any CPU.Build.0 = Release|Any CPU
4048
EndGlobalSection
4149
GlobalSection(SolutionProperties) = preSolution
4250
HideSolutionNode = FALSE
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<ProjectConfiguration>
2+
<CopyReferencedAssembliesToWorkspace>false</CopyReferencedAssembliesToWorkspace>
3+
<ConsiderInconclusiveTestsAsPassing>false</ConsiderInconclusiveTestsAsPassing>
4+
<PreloadReferencedAssemblies>false</PreloadReferencedAssemblies>
5+
<AllowDynamicCodeContractChecking>true</AllowDynamicCodeContractChecking>
6+
<AllowStaticCodeContractChecking>false</AllowStaticCodeContractChecking>
7+
<IgnoreThisComponentCompletely>false</IgnoreThisComponentCompletely>
8+
<RunPreBuildEvents>false</RunPreBuildEvents>
9+
<RunPostBuildEvents>false</RunPostBuildEvents>
10+
<PreviouslyBuiltSuccessfully>true</PreviouslyBuiltSuccessfully>
11+
<InstrumentAssembly>true</InstrumentAssembly>
12+
<PreventSigningOfAssembly>false</PreventSigningOfAssembly>
13+
<AnalyseExecutionTimes>true</AnalyseExecutionTimes>
14+
<IncludeStaticReferencesInWorkspace>true</IncludeStaticReferencesInWorkspace>
15+
<DefaultTestTimeout>60000</DefaultTestTimeout>
16+
<UseBuildConfiguration />
17+
<UseBuildPlatform />
18+
<ProxyProcessPath />
19+
<UseCPUArchitecture>AutoDetect</UseCPUArchitecture>
20+
<MSTestThreadApartmentState>STA</MSTestThreadApartmentState>
21+
<BuildProcessArchitecture>x86</BuildProcessArchitecture>
22+
</ProjectConfiguration>
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace TestAssembly
2+
{
3+
public class ClassWithNoDefaultCtor
4+
{
5+
// ReSharper disable once UnusedParameter.Local
6+
public ClassWithNoDefaultCtor(string foo) { }
7+
}
8+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace TestAssembly
2+
{
3+
public class SampleDomainClass
4+
{
5+
public void TestNonVirtual() { }
6+
public virtual void Virtual() { }
7+
}
8+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace TestAssembly
2+
{
3+
public class ClassWithPrivateDefaultCtor
4+
{
5+
private ClassWithPrivateDefaultCtor() { }
6+
}
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace TestAssembly
2+
{
3+
public class ClassWithProtectedDefaultCtor
4+
{
5+
protected ClassWithProtectedDefaultCtor(){}
6+
}
7+
}

0 commit comments

Comments
 (0)