Permalink
Browse files

updating manyconsole

  • Loading branch information...
1 parent 64e4a7f commit ce85b7a713381aa64998e203ac2b385018d08b7b @fschwiet committed Jun 4, 2012
View
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="NUnit.Runners" version="2.6.0.12051" />
+</packages>
@@ -31,20 +31,17 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
- <PropertyGroup>
- <NUnitCoreDllPath>..\packages\NUnit.2.5.9.10348\tools\lib\</NUnitCoreDllPath>
- <NUnitCoreInterfacesDllPath>..\packages\NUnit.2.5.9.10348\tools\lib\</NUnitCoreInterfacesDllPath>
- <NUnitFrameworkDllPath>..\packages\NUnit.2.5.9.10348\lib\</NUnitFrameworkDllPath>
- </PropertyGroup>
<ItemGroup>
- <Reference Include="nunit.core">
- <HintPath>$(NUnitCoreDllPath)\nunit.core.dll</HintPath>
+ <Reference Include="nunit.core, Version=2.5.9.10348, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\NUnit.Runners.2.6.0.12051\tools\lib\nunit.core.dll</HintPath>
</Reference>
- <Reference Include="nunit.core.interfaces">
- <HintPath>$(NUnitCoreInterfacesDllPath)\nunit.core.interfaces.dll</HintPath>
+ <Reference Include="nunit.core.interfaces, Version=2.5.9.10348, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\NUnit.Runners.2.6.0.12051\tools\lib\nunit.core.interfaces.dll</HintPath>
</Reference>
- <Reference Include="nunit.framework">
- <HintPath>$(NUnitFrameworkDllPath)\nunit.framework.dll</HintPath>
+ <Reference Include="nunit.framework, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
+ <HintPath>..\packages\NUnit.2.6.0.12054\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
@@ -75,6 +72,9 @@
<Name>NJasmine</Name>
</ProjectReference>
</ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
<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.
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="NUnit" version="2.6.0.12054" />
+</packages>
@@ -14,17 +14,12 @@ public class ListTestsCommand : ConsoleCommand
{
public ListTestsCommand()
{
- Command = "list-tests";
- OneLineDescription = "Lists the tests that are NJasmine specifications.";
- TraceCommandAfterParse = false;
+ this.IsCommand("list-tests", "Lists the tests that are NJasmine specifications.");
+ this.SkipsCommandSummaryBeforeRunning();
+ this.HasAdditionalArguments(0);
}
- public override void FinishLoadingArguments(string[] remainingArguments)
- {
- VerifyNumberOfArguments(remainingArguments, 0);
- }
-
- public override int Run()
+ public override int Run(string[] args)
{
var types = from t in typeof(can_check_that_an_arbtirary_condition_is_true).Assembly.GetTypes()
where t.GetInterfaces().Contains(typeof(INJasmineInternalRequirement))
@@ -34,8 +34,9 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
- <Reference Include="ManyConsole">
- <HintPath>..\packages\ManyConsole.0.3.6.0\lib\ManyConsole.dll</HintPath>
+ <Reference Include="ManyConsole, Version=0.4.2.7, Culture=neutral, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\packages\ManyConsole.0.4.2.7\lib\ManyConsole.dll</HintPath>
</Reference>
<Reference Include="NDesk.Options">
<HintPath>..\packages\NDesk.Options.0.2.1\lib\NDesk.Options.dll</HintPath>
@@ -10,26 +10,22 @@ class VerifyTestCommand : ConsoleCommand
{
public VerifyTestCommand()
{
- Command = "verify-test";
- OneLineDescription = "Verifies the output of a test run meets specification.";
- TraceCommandAfterParse = false;
- }
-
- public override void FinishLoadingArguments(string[] remainingArguments)
- {
- VerifyNumberOfArguments(remainingArguments, 3);
+ this.IsCommand("verify-test", "Verifies the output of a test run meets specification.");
+ this.SkipsCommandSummaryBeforeRunning();
- TestName = remainingArguments[0];
- XmlOutputFile = remainingArguments[1];
- ConsoleOutputFile = remainingArguments[2];
+ this.HasAdditionalArguments(3, "<testName> <xmlOutputFile> <consoleOutputFile>");
}
public string TestName;
public string XmlOutputFile;
public string ConsoleOutputFile;
- public override int Run()
+ public override int Run(string[] remainingArgs)
{
+ TestName = remainingArgs[0];
+ XmlOutputFile = remainingArgs[1];
+ ConsoleOutputFile = remainingArgs[2];
+
var xmlOutput = File.ReadAllText(XmlOutputFile);
var consoleOutput = File.ReadAllText(ConsoleOutputFile);
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
- <package id="ManyConsole" version="0.3.6.0" />
+ <package id="ManyConsole" version="0.4.2.7" />
<package id="NDesk.Options" version="0.2.1" />
</packages>
@@ -35,20 +35,15 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
- <PropertyGroup>
- <NUnitCoreDllPath>..\packages\NUnit.2.5.9.10348\tools\lib\</NUnitCoreDllPath>
- <NUnitCoreInterfacesDllPath>..\packages\NUnit.2.5.9.10348\tools\lib\</NUnitCoreInterfacesDllPath>
- <NUnitFrameworkDllPath>..\packages\NUnit.2.5.9.10348\lib\</NUnitFrameworkDllPath>
- </PropertyGroup>
<ItemGroup>
<Reference Include="nunit.core">
- <HintPath>$(NUnitCoreDllPath)\nunit.core.dll</HintPath>
+ <HintPath>..\packages\NUnit.Runners.2.6.0.12051\tools\lib\nunit.core.dll</HintPath>
</Reference>
<Reference Include="nunit.core.interfaces">
- <HintPath>$(NUnitCoreInterfacesDllPath)\nunit.core.interfaces.dll</HintPath>
+ <HintPath>..\packages\NUnit.Runners.2.6.0.12051\tools\lib\nunit.core.interfaces.dll</HintPath>
</Reference>
- <Reference Include="nunit.framework">
- <HintPath>$(NUnitFrameworkDllPath)\nunit.framework.dll</HintPath>
+ <Reference Include="nunit.framework, Version=2.6.0.12051, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
+ <HintPath>..\packages\NUnit.2.6.0.12054\lib\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="PowerAssert">
<HintPath>..\lib\PowerAssert\PowerAssert.dll</HintPath>
@@ -144,6 +139,7 @@
</None>
</ItemGroup>
<ItemGroup>
+ <None Include="packages.config" />
<None Include="Specs\proposed_specs\RazorSpecs\RazorTest.cshtml" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="NUnit" version="2.6.0.12054" />
+</packages>
View
@@ -6,16 +6,16 @@ EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NJasmine.Tests", "NJasmine.Tests\NJasmine.Tests.csproj", "{7E4BFDAF-84AF-4B3D-97E2-06F3C3C7136C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{6ADCDDDC-A666-471C-932A-B8039D568798}"
- ProjectSection(SolutionItems) = preProject
- build.ps1 = build\build.ps1
- nuget.install.ps1 = nuget.install.ps1
- readme.md = readme.md
- EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NJasmine.TestUtil", "NJasmine.TestUtil\NJasmine.TestUtil.csproj", "{FD95671F-83A9-4C94-848C-3834745E72BD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NJasmine.NUnit", "NJasmine.NUnit\NJasmine.NUnit.csproj", "{FC7EF9BB-137A-4684-ABD3-6F80C537248A}"
EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{893FD1D6-DF66-4889-8E34-3ECD1BFC0B1D}"
+ ProjectSection(SolutionItems) = preProject
+ .nuget\packages.config = .nuget\packages.config
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<repositories>
<repository path="..\NJasmine.NUnit\packages.config" />
+ <repository path="..\NJasmine.Tests\packages.config" />
<repository path="..\NJasmine.TestUtil\packages.config" />
</repositories>

0 comments on commit ce85b7a

Please sign in to comment.