Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
rprouse committed Oct 31, 2017
1 parent c9a7a25 commit ae85dda
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 0 deletions.
7 changes: 7 additions & 0 deletions NUnit.Parallelism.Integration.Tests.sln
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Parallel.SetupFixtures", "t
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Respects.ApartmentState", "tests\Respects.ApartmentState\Respects.ApartmentState.csproj", "{830ABCA5-15BB-424F-BE48-B3ADB4E93E8F}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SetupFixture", "tests\SetupFixture\SetupFixture.csproj", "{2662B483-8B94-4E4A-96B1-212E95C392EC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -37,6 +39,10 @@ Global
{830ABCA5-15BB-424F-BE48-B3ADB4E93E8F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{830ABCA5-15BB-424F-BE48-B3ADB4E93E8F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{830ABCA5-15BB-424F-BE48-B3ADB4E93E8F}.Release|Any CPU.Build.0 = Release|Any CPU
{2662B483-8B94-4E4A-96B1-212E95C392EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2662B483-8B94-4E4A-96B1-212E95C392EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2662B483-8B94-4E4A-96B1-212E95C392EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2662B483-8B94-4E4A-96B1-212E95C392EC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -45,6 +51,7 @@ Global
{47C7F745-9233-44B4-9926-FB3DFBD14560} = {6871A847-C593-4919-9A31-B043F792D97F}
{4CBC3AE2-87A3-417E-9937-AA25CFF038E8} = {6871A847-C593-4919-9A31-B043F792D97F}
{830ABCA5-15BB-424F-BE48-B3ADB4E93E8F} = {6871A847-C593-4919-9A31-B043F792D97F}
{2662B483-8B94-4E4A-96B1-212E95C392EC} = {6871A847-C593-4919-9A31-B043F792D97F}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {8CD6D1DD-8243-48A3-A9E4-222AA2A63E80}
Expand Down
25 changes: 25 additions & 0 deletions tests/SetupFixture/Class1.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
using NUnit.Framework;

namespace BugNUnit
{
[SetUpFixture]
public class AssemblySetup
{
public AssemblySetup()
{
}
}

[TestFixture]
public class TestInNamespace
{
}
}

namespace OtherNamespace
{
[TestFixture]
public class TestInAnotherNamespace
{
}
}
36 changes: 36 additions & 0 deletions tests/SetupFixture/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
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: AssemblyTitle("SetupFixture")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("SetupFixture")]
[assembly: AssemblyCopyright("Copyright © 2017")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

// 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("2662b483-8b94-4e4a-96b1-212e95c392ec")]

// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
53 changes: 53 additions & 0 deletions tests/SetupFixture/SetupFixture.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{2662B483-8B94-4E4A-96B1-212E95C392EC}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>SetupFixture</RootNamespace>
<AssemblyName>SetupFixture</AssemblyName>
<TargetFrameworkVersion>v4.7</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</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="nunit.framework, Version=3.8.1.0, Culture=neutral, PublicKeyToken=2638cd05610744eb, processorArchitecture=MSIL">
<HintPath>..\..\packages\NUnit.3.8.1\lib\net45\nunit.framework.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Class1.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
4 changes: 4 additions & 0 deletions tests/SetupFixture/packages.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="NUnit" version="3.8.1" targetFramework="net47" />
</packages>

0 comments on commit ae85dda

Please sign in to comment.