Permalink
Browse files

Fix Mono projects for rewritten tests.

  • Loading branch information...
1 parent 39b4a12 commit 176b0d57daaa201b3fee1b20479b6f319e6da5d6 @jgoz jgoz committed Nov 11, 2012
@@ -6,25 +6,26 @@
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{54688B3D-BDDD-4803-A0AF-53B7A9C23432}</ProjectGuid>
- <OutputType>Library</OutputType>
+ <OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ZeroMQ.AcceptanceTests</RootNamespace>
<AssemblyName>ZeroMQ.AcceptanceTests</AssemblyName>
<FileAlignment>512</FileAlignment>
+ <StartupObject>ZeroMQ.AcceptanceTests.Program</StartupObject>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugType>full</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>bin\Debug</OutputPath>
<WarningLevel>4</WarningLevel>
<NoWarn>414;169;649</NoWarn>
- <DebugSymbols>true</DebugSymbols>
+ <DebugSymbols>True</DebugSymbols>
<PlatformTarget>x86</PlatformTarget>
<DefineConstants>MONO;UNIX</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>bin\Release</OutputPath>
<WarningLevel>4</WarningLevel>
<NoWarn>414;169;649</NoWarn>
@@ -38,26 +39,27 @@
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
- <Reference Include="Machine.Specifications">
- <HintPath>..\packages\Machine.Specifications.0.5.9\lib\net40\Machine.Specifications.dll</HintPath>
+ <Reference Include="nunitlite">
+ <HintPath>..\packages\NUnitLite.0.8.0\lib\net40\nunitlite.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
- <Compile Include="Behaviors.cs" />
- <Compile Include="DeviceSpecs\Forwarder.cs" />
- <Compile Include="DeviceSpecs\Queue.cs" />
- <Compile Include="DeviceSpecs\SpecContext.cs" />
- <Compile Include="DeviceSpecs\Streamer.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
- <Compile Include="ZmqSocketSpecs\Bind_Connect.cs" />
- <Compile Include="ZmqSocketSpecs\SendMessage_ReceiveMessage.cs" />
- <Compile Include="ZmqSocketSpecs\Send_Receive.cs" />
- <Compile Include="ZmqSocketSpecs\SocketOptions.cs" />
- <Compile Include="ZmqSocketSpecs\SpecContext.cs" />
- <Compile Include="ZmqSocketSpecs\Subscribe.cs" />
- <Compile Include="ZmqContextSpecs\ContextOptions.cs" />
- <Compile Include="ZmqMonitorSpecs\MonitorEvents.cs" />
- <Compile Include="ZmqMonitorSpecs\SpecContext.cs" />
+ <Compile Include="DeviceTests\Forwarder.cs" />
+ <Compile Include="DeviceTests\Queue.cs" />
+ <Compile Include="DeviceTests\Streamer.cs" />
+ <Compile Include="ZmqContextTests\ContextOptions.cs" />
+ <Compile Include="ZmqMonitorTests\MonitorEvents.cs" />
+ <Compile Include="ZmqSocketTests\Bind_Connect.cs" />
+ <Compile Include="ZmqSocketTests\Send_Receive.cs" />
+ <Compile Include="ZmqSocketTests\SendMessage_ReceiveMessage.cs" />
+ <Compile Include="ZmqSocketTests\SocketOptions.cs" />
+ <Compile Include="ZmqSocketTests\Subscribe.cs" />
+ <Compile Include="DeviceFixtures.cs" />
+ <Compile Include="Messages.cs" />
+ <Compile Include="MonitorFixtures.cs" />
+ <Compile Include="Program.cs" />
+ <Compile Include="SocketFixtures.cs" />
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
@@ -14,14 +14,14 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\perf\</OutputPath>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\perf\</OutputPath>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
@@ -14,14 +14,14 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\perf\</OutputPath>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\perf\</OutputPath>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
@@ -14,14 +14,14 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\perf\</OutputPath>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\perf\</OutputPath>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
@@ -14,14 +14,14 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\perf\</OutputPath>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>..\..\perf\</OutputPath>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
@@ -14,15 +14,15 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<DebugType>full</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>bin\Debug</OutputPath>
<WarningLevel>4</WarningLevel>
- <DebugSymbols>true</DebugSymbols>
+ <DebugSymbols>True</DebugSymbols>
<PlatformTarget>x86</PlatformTarget>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<DebugType>none</DebugType>
- <Optimize>false</Optimize>
+ <Optimize>False</Optimize>
<OutputPath>bin\Release</OutputPath>
<WarningLevel>4</WarningLevel>
<PlatformTarget>x86</PlatformTarget>
View
@@ -77,7 +77,8 @@
</Target>
<Target Name="Test" DependsOnTargets="Compile">
- <Exec Command="$(SolutionDir)\ZeroMQ.AcceptanceTests\bin\$(Platform)\$(Configuration)\ZeroMQ.AcceptanceTests.exe" LogStandardErrorAsError="true" ContinueOnError="false" />
+ <Exec Condition=" '$(OperatingPlatform)' == 'Windows' " Command="$(SolutionDir)\ZeroMQ.AcceptanceTests\bin\$(Platform)\$(Configuration)\ZeroMQ.AcceptanceTests.exe" LogStandardErrorAsError="true" ContinueOnError="false" />
+ <Exec Condition=" '$(OperatingPlatform)' != 'Windows' " Command="mono $(SolutionDir)\ZeroMQ.AcceptanceTests\bin\$(Configuration)\ZeroMQ.AcceptanceTests.exe" ContinueOnError="false" />
</Target>
<Target Name="Build" DependsOnTargets="Test">
View
@@ -84,7 +84,7 @@ Global
{9D199424-9F3A-442B-B74B-6C4A97D601F7} = {FBFC4B07-0BA6-4B54-8734-5DF66A655BA6}
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
- StartupItem = ZeroMQ.SimpleTests\ZeroMQ.SimpleTests.Mono.csproj
+ StartupItem = ZeroMQ.AcceptanceTests\ZeroMQ.AcceptanceTests.Mono.csproj
Policies = $0
$0.DotNetNamingPolicy = $1
$1.DirectoryNamespaceAssociation = None
@@ -105,10 +105,6 @@ Global
$3.ForBraceForcement = AddBraces
$3.WhileBraceForcement = AddBraces
$3.FixedBraceForcement = AddBraces
- $3.PlaceElseOnNewLine = True
- $3.PlaceCatchOnNewLine = True
- $3.PlaceFinallyOnNewLine = True
- $3.PlaceWhileOnNewLine = True
$3.BeforeMethodDeclarationParentheses = False
$3.BeforeMethodCallParentheses = False
$3.BeforeConstructorDeclarationParentheses = False

0 comments on commit 176b0d5

Please sign in to comment.