Skip to content

Commit bac95d8

Browse files
author
Barton Cline
committed
# NUnit issues begin to resolve themselves (amazing, really) since MD supports NuGet now,
just grab NUnit and add it to /packages/. Honestly, though, I did have to trick NuGet into giving me the UnmanagedExport update.
1 parent 74e178c commit bac95d8

File tree

5 files changed

+68
-13
lines changed

5 files changed

+68
-13
lines changed
92.5 KB
Binary file not shown.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
3+
<metadata>
4+
<id>NUnit</id>
5+
<version>2.6.2</version>
6+
<title>NUnit</title>
7+
<authors>Charlie Poole</authors>
8+
<owners>Charlie Poole</owners>
9+
<licenseUrl>http://nunit.org/nuget/license.html</licenseUrl>
10+
<projectUrl>http://nunit.org/</projectUrl>
11+
<iconUrl>http://nunit.org/nuget/nunit_32x32.png</iconUrl>
12+
<requireLicenseAcceptance>false</requireLicenseAcceptance>
13+
<description>NUnit features a fluent assert syntax, parameterized, generic and theory tests and is user-extensible. A number of runners, both from the NUnit project and by third parties, are able to execute NUnit tests.
14+
15+
Version 2.6 is the seventh major release of this well-known and well-tested programming tool.
16+
17+
This package includes only the framework assembly. You will need to install the NUnit.Runners package unless you are using a third-party runner.</description>
18+
<summary>NUnit is a unit-testing framework for all .Net languages with a strong TDD focus.</summary>
19+
<releaseNotes>Version 2.6 is the seventh major release of NUnit.
20+
21+
Unlike earlier versions, this package includes only the framework assembly. You will need to install the NUnit.Runners package unless you are using a third-party runner.
22+
23+
The nunit.mocks assembly is now provided by the NUnit.Mocks package. The pnunit.framework assembly is provided by the pNUnit package.</releaseNotes>
24+
<language>en-US</language>
25+
<tags>test testing tdd framework fluent assert theory plugin addin</tags>
26+
<references>
27+
<reference file="nunit.framework.dll" />
28+
</references>
29+
</metadata>
30+
</package>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
Copyright � 2002-2012 Charlie Poole
2+
Copyright � 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov
3+
Copyright � 2000-2002 Philip A. Craig
4+
5+
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
6+
7+
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
8+
9+
1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment (see the following) in the product documentation is required.
10+
11+
Portions Copyright � 2002-2012 Charlie Poole or Copyright � 2002-2004 James W. Newkirk, Michael C. Two, Alexei A. Vorontsov or Copyright � 2000-2002 Philip A. Craig
12+
13+
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
14+
15+
3. This notice may not be removed or altered from any source distribution.

pythonnet/src/embed_tests/Python.EmbeddingTest.csproj

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -29,52 +29,58 @@
2929
<IsWebBootstrapper>false</IsWebBootstrapper>
3030
<UseApplicationTrust>false</UseApplicationTrust>
3131
<BootstrapperEnabled>true</BootstrapperEnabled>
32-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
33-
<TargetFrameworkProfile />
32+
<ProductVersion>10.0.0</ProductVersion>
33+
<SchemaVersion>2.0</SchemaVersion>
3434
</PropertyGroup>
3535
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
36-
<DebugSymbols>true</DebugSymbols>
36+
<DebugSymbols>True</DebugSymbols>
3737
<DebugType>full</DebugType>
38-
<Optimize>false</Optimize>
39-
<OutputPath>.\bin\Debug\</OutputPath>
38+
<Optimize>False</Optimize>
39+
<OutputPath>bin\Debug\</OutputPath>
4040
<DefineConstants>DEBUG;TRACE</DefineConstants>
41+
<WarningLevel>4</WarningLevel>
4142
</PropertyGroup>
4243
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
4344
<DebugType>pdbonly</DebugType>
44-
<Optimize>true</Optimize>
45-
<OutputPath>.\bin\Release\</OutputPath>
45+
<Optimize>True</Optimize>
46+
<OutputPath>bin\Release\</OutputPath>
4647
<DefineConstants>TRACE</DefineConstants>
48+
<WarningLevel>4</WarningLevel>
4749
</PropertyGroup>
4850
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'EmbeddingTest|AnyCPU' ">
49-
<DebugSymbols>true</DebugSymbols>
51+
<DebugSymbols>True</DebugSymbols>
5052
<OutputPath>bin\EmbeddingTest\</OutputPath>
5153
<DefineConstants>DEBUG;TRACE</DefineConstants>
5254
<DebugType>full</DebugType>
5355
<PlatformTarget>AnyCPU</PlatformTarget>
56+
<WarningLevel>4</WarningLevel>
57+
<Optimize>False</Optimize>
5458
</PropertyGroup>
5559
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'UnitTests|AnyCPU' ">
56-
<DebugSymbols>true</DebugSymbols>
60+
<DebugSymbols>True</DebugSymbols>
5761
<OutputPath>bin\UnitTests\</OutputPath>
5862
<DefineConstants>DEBUG;TRACE</DefineConstants>
5963
<DebugType>full</DebugType>
6064
<PlatformTarget>AnyCPU</PlatformTarget>
61-
</PropertyGroup>
62-
<PropertyGroup>
63-
<SignAssembly>true</SignAssembly>
65+
<WarningLevel>4</WarningLevel>
66+
<Optimize>False</Optimize>
6467
</PropertyGroup>
6568
<PropertyGroup>
6669
<AssemblyOriginatorKeyFile>pythonnet.snk</AssemblyOriginatorKeyFile>
6770
</PropertyGroup>
6871
<ItemGroup>
69-
<Reference Include="nunit.framework, Version=2.6.2.12296, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL" />
7072
<Reference Include="System" />
7173
<Reference Include="System.Core">
7274
<RequiredTargetFramework>3.5</RequiredTargetFramework>
7375
</Reference>
76+
<Reference Include="nunit.framework">
77+
<HintPath>..\..\packages\NUnit.2.6.2\lib\nunit.framework.dll</HintPath>
78+
</Reference>
7479
</ItemGroup>
7580
<ItemGroup>
7681
<None Include="Embeddingtest.nunit" />
7782
<None Include="pythonnet.snk" />
83+
<None Include="packages.config" />
7884
</ItemGroup>
7985
<ItemGroup>
8086
<Compile Include="pyimport.cs" />
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="NUnit" version="2.6.2" targetFramework="net40" />
4+
</packages>

0 commit comments

Comments
 (0)