Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorLluis Sanchez <llsan@microsoft.com>2019-05-30 21:02:12 +0300
committerGitHub <noreply@github.com>2019-05-30 21:02:12 +0300
commitb8f5cbf961afdb6a0ccd1dc70b7ec50469aac461 (patch)
treeec67101ad70146300e13c423abd26e3512d54401 /main
parent9d8df0a18e09042cb67b1a305cc00502b031f96e (diff)
parente8738e990d33822766be8392fd3705e594b2d215 (diff)
Merge pull request #7721 from mono/stresstest-nunit
Switch StressTest to NUnit packagereference
Diffstat (limited to 'main')
-rw-r--r--main/tests/StressTest/MonoDevelop.StressTest/Scenarios/DefaultScenario.cs3
-rw-r--r--main/tests/StressTest/StressTest.csproj6
2 files changed, 3 insertions, 6 deletions
diff --git a/main/tests/StressTest/MonoDevelop.StressTest/Scenarios/DefaultScenario.cs b/main/tests/StressTest/MonoDevelop.StressTest/Scenarios/DefaultScenario.cs
index f386cc1fdd..a8a827eeb1 100644
--- a/main/tests/StressTest/MonoDevelop.StressTest/Scenarios/DefaultScenario.cs
+++ b/main/tests/StressTest/MonoDevelop.StressTest/Scenarios/DefaultScenario.cs
@@ -30,7 +30,6 @@ using System.Linq;
using MonoDevelop.Core;
using MonoDevelop.StressTest.Attributes;
using NUnit.Framework;
-using NUnit.Framework.SyntaxHelpers;
using UserInterfaceTests;
namespace MonoDevelop.StressTest
@@ -100,7 +99,7 @@ namespace MonoDevelop.StressTest
// Wait for the text area to be available.
var area = TestService.Session.WaitForElement (IdeQuery.TextAreaForFile (openFile), 10000);
- Assert.That (area, Has.Length (1));
+ Assert.That (area, Has.Length.EqualTo (1));
UserInterfaceTests.Ide.WaitForIdeIdle ();
diff --git a/main/tests/StressTest/StressTest.csproj b/main/tests/StressTest/StressTest.csproj
index e123e7e2f7..026b8cbb5b 100644
--- a/main/tests/StressTest/StressTest.csproj
+++ b/main/tests/StressTest/StressTest.csproj
@@ -38,11 +38,9 @@
<Reference Include="MonoDevelop.Core">
<HintPath>..\..\build\bin\MonoDevelop.Core.dll</HintPath>
</Reference>
- <Reference Include="nunit.framework">
- <HintPath>..\..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
- </Reference>
</ItemGroup>
<ItemGroup>
+ <PackageReference Include="NUnit" Version="$(NuGetVersionNUnit2)" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
<PackageReference Include="QuickGraph" Version="3.6.61119.7" />
</ItemGroup>
@@ -122,4 +120,4 @@
<Copy SourceFiles="@(MonoAddinsFiles)" DestinationFolder="$(OutputPath)\TestProject\mono-addins\Mono.Addins\%(RecursiveDir)" SkipUnchangedFiles="true" />
<Copy SourceFiles="$(MonoAddinsDir)\Version.props;$(MonoAddinsDir)\TargetFrameworks.props;$(MonoAddinsDir)\mono-addins.snk" DestinationFolder="$(OutputPath)\TestProject\mono-addins" SkipUnchangedFiles="true" />
</Target>
-</Project> \ No newline at end of file
+</Project>