From 6fff57a13e000b7d95e205a4b37abdacba204111 Mon Sep 17 00:00:00 2001 From: Michael Krisper <michael.krisper@tugraz.at> Date: Wed, 5 Jul 2017 15:52:04 +0200 Subject: [PATCH] Added LongRunning Category to some tests --- .../Integration/TestVehicleIdlingSpeed.cs | 2 +- .../VectoCoreTest/Integration/TorqueLimitsTest.cs | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/VectoCore/VectoCoreTest/Integration/TestVehicleIdlingSpeed.cs b/VectoCore/VectoCoreTest/Integration/TestVehicleIdlingSpeed.cs index f1191b9578..9064af1ace 100644 --- a/VectoCore/VectoCoreTest/Integration/TestVehicleIdlingSpeed.cs +++ b/VectoCore/VectoCoreTest/Integration/TestVehicleIdlingSpeed.cs @@ -50,7 +50,7 @@ namespace TUGraz.VectoCore.Tests.Integration { const string SampleVehicleDecl = "TestData/XML/XMLReaderDeclaration/vecto_vehicle-sample.xml"; - [TestMethod] + [TestMethod, TestCategory("LongRunning")] public void VehicleIdlingSpeedTest() { var VehicleEngineIdleSpeed = 900.RPMtoRad(); diff --git a/VectoCore/VectoCoreTest/Integration/TorqueLimitsTest.cs b/VectoCore/VectoCoreTest/Integration/TorqueLimitsTest.cs index f4aa1ca18e..aecfa7608a 100644 --- a/VectoCore/VectoCoreTest/Integration/TorqueLimitsTest.cs +++ b/VectoCore/VectoCoreTest/Integration/TorqueLimitsTest.cs @@ -171,10 +171,10 @@ namespace TUGraz.VectoCore.Tests.Integration Assert.AreEqual(-115, engineData.FullLoadCurves[6].MaxDragTorque.Value()); } - [TestCase(GearboxLimitJobDecl_800), - TestCase(GearboxLimitJobDecl_865), - TestCase(VehicleLimitJobDecl_850), - TestCase(VehicleLimitJobDecl_910)] + [TestCase(GearboxLimitJobDecl_800, "LongRunning"), + TestCase(GearboxLimitJobDecl_865, "LongRunning"), + TestCase(VehicleLimitJobDecl_850, "LongRunning"), + TestCase(VehicleLimitJobDecl_910, "LongRunning")] public void TestRunTorqueLimitedSimulations(string file) { var fileWriter = new FileOutputWriter(file); @@ -215,7 +215,7 @@ namespace TUGraz.VectoCore.Tests.Integration Assert.IsTrue(jobContainer.Runs.All(r => r.Success), string.Concat(jobContainer.Runs.Select(r => r.ExecException))); } - [TestCase(EngineSpeedLimitJobDecl)] + [TestCase(EngineSpeedLimitJobDecl, "LongRunning")] public void TestRunEngineSpeedLimitedSimulations(string file) { var fileWriter = new FileOutputWriter(file); -- GitLab