Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 0b84313d authored by Michael KRISPER's avatar Michael KRISPER
Browse files

renamed ADAS tests to ADAS-Conventional, and added ADAS-PEV tests

parent 40e57a1c
Branches
Tags
No related merge requests found
Showing
with 376 additions and 15 deletions
using System;
using System.IO;
using System.Linq;
using Ninject;
using NUnit.Framework;
using TUGraz.VectoCommon.Models;
using TUGraz.VectoCore.InputData.FileIO.JSON;
using TUGraz.VectoCore.InputData.FileIO.XML;
using TUGraz.VectoCore.Models.Simulation.Data;
using TUGraz.VectoCore.Models.Simulation.Impl;
using TUGraz.VectoCore.OutputData;
using TUGraz.VectoCore.OutputData.FileIO;
using TUGraz.VectoCore.Tests.Utils;
namespace TUGraz.VectoCore.Tests.Integration.ADAS
{
[TestFixture]
[Parallelizable(ParallelScope.All)]
public class ADASTestsConventional
{
public const string Group5PCC12 = @"TestData\Integration\ADAS-Conventional\Group5PCCEng\Class5_Tractor_ENG_PCC12.vecto";
public const string Group5PCC123 = @"TestData\Integration\ADAS-Conventional\Group5PCCEng\Class5_Tractor_ENG_PCC123.vecto";
public const string Group5PCC123EcoSS = @"TestData\Integration\ADAS-Conventional\Group5PCCEng\Class5_Tractor_ENG_PCC123EcoSS.vecto";
protected IXMLInputDataReader xmlInputReader;
private IKernel _kernel;
[OneTimeSetUp]
public void RunBeforeAnyTests()
{
Directory.SetCurrentDirectory(TestContext.CurrentContext.TestDirectory);
_kernel = new StandardKernel(new VectoNinjectModule());
xmlInputReader = _kernel.Get<IXMLInputDataReader>();
}
private GraphWriter GetGraphWriter()
{
var graphWriter = new GraphWriter();
//#if TRACE
graphWriter.Enable();
//#else
//graphWriter.Disable();
//#endif
graphWriter.Xfields = new[] { ModalResultField.dist };
graphWriter.Yfields = new[] {
ModalResultField.v_act, ModalResultField.altitude, ModalResultField.acc, ModalResultField.Gear,
ModalResultField.P_ice_out, ModalResultField.FCMap
};
graphWriter.Series1Label = "ADAS PCC";
graphWriter.PlotIgnitionState = true;
return graphWriter;
}
[TestCase(@"TestData\Integration\ADAS-Conventional\Group5_EngineStopStart.xml")]
public void TestVehicleWithADASEngineStopStart(string filename)
{
var container = RunAllDeclarationJob(filename);
//var container = RunSingleDeclarationJob(filename, 4);
}
[TestCase(@"TestData\Integration\ADAS-Conventional\Group5_EcoRoll.xml")]
public void TestVehicleWithADASEcoRoll(string filename)
{
var container = RunAllDeclarationJob(filename);
//var container = RunSingleDeclarationJob(filename, 4);
}
[TestCase(@"TestData\Integration\ADAS-Conventional\Group5_EcoRollEngineStop.xml")]
public void TestVehicleWithADASEcoRollEngineStopStart(string filename)
{
var container = RunAllDeclarationJob(filename);
//var container = RunSingleDeclarationJob(filename, 1);
}
[TestCase(0, TestName = "EcoRoll DH1.1 const"),
TestCase(1, TestName = "EcoRoll DH1.1 UH0.1"),
TestCase(2, TestName = "EcoRoll DH1.3 const"),
TestCase(3, TestName = "EcoRoll DH0.8 const - too flat"),
TestCase(4, TestName = "EcoRoll DH1.5 const - too steep"),
TestCase(5, TestName = "EcoRoll DH1.1 const - Stop"),
TestCase(6, TestName = "EcoRoll DH1.1 const - TS60"),
TestCase(7, TestName = "EcoRoll DH1.1 const - TS68"),
TestCase(8, TestName = "EcoRoll DH1.1 const - TS72"),
TestCase(9, TestName = "EcoRoll DH1.1 const - TS80"),
]
public void TestEcoRoll(int cycleIdx)
{
string jobName = @"TestData\Integration\ADAS-Conventional\Group5EcoRollEng\Class5_Tractor_ENG.vecto";
var inputData = JSONInputDataFactory.ReadJsonJob(jobName);
var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(jobName), Path.GetFileName(jobName)));
var sumContainer = new SummaryDataContainer(writer);
var jobContainer = new JobContainer(sumContainer);
var factory = new SimulatorFactory(ExecutionMode.Engineering, inputData, writer) {
WriteModalResults = true,
//ActualModalData = true,
Validate = false
};
factory.SumData = sumContainer;
var runs = factory.SimulationRuns().ToArray();
var run = runs[cycleIdx];
jobContainer.AddRun(run);
jobContainer.Execute();
jobContainer.WaitFinished();
var progress = jobContainer.GetProgress();
Assert.IsTrue(progress.All(r => r.Value.Success), string.Concat(progress.Select(r => r.Value.Error)));
var modFilename = writer.GetModDataFileName(run.RunName, run.CycleName, run.RunSuffix);
GetGraphWriter().Write(modFilename);
}
[TestCase(0, TestName = "AT EcoRoll Neutral DH1.8 const"),
TestCase(1, TestName = "AT EcoRoll Neutral DH1.8 UH0.1"),
TestCase(2, TestName = "AT EcoRoll Neutral DH1.9 const"),
TestCase(3, TestName = "AT EcoRoll Neutral DH1.2 const - too flat"),
TestCase(4, TestName = "AT EcoRoll Neutral DH2.5 const - too steep"),
TestCase(5, TestName = "AT EcoRoll Neutral DH1.9 const - Stop"),
TestCase(6, TestName = "AT EcoRoll Neutral DH1.9 const - TS60"),
TestCase(7, TestName = "AT EcoRoll Neutral DH1.9 const - TS68"),
TestCase(8, TestName = "AT EcoRoll Neutral DH1.9 const - TS72"),
TestCase(9, TestName = "AT EcoRoll Neutral DH1.9 const - TS80"),
TestCase(10, TestName = "AT EcoRoll Neutral DH1.2 const"),
]
public void TestEcoRollAT_Neutral(int cycleIdx)
{
string jobName = @"TestData\Integration\ADAS-Conventional\Group9_RigidTruck_AT\Class_9_RigidTruck_AT_Eng_Neutral.vecto";
var inputData = JSONInputDataFactory.ReadJsonJob(jobName);
var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(jobName), Path.GetFileName(jobName)));
var sumContainer = new SummaryDataContainer(writer);
var jobContainer = new JobContainer(sumContainer);
var factory = new SimulatorFactory(ExecutionMode.Engineering, inputData, writer) {
WriteModalResults = true,
//ActualModalData = true,
Validate = false
};
factory.SumData = sumContainer;
var runs = factory.SimulationRuns().ToArray();
var run = runs[cycleIdx];
jobContainer.AddRun(run);
jobContainer.Execute();
jobContainer.WaitFinished();
var progress = jobContainer.GetProgress();
Assert.IsTrue(progress.All(r => r.Value.Success), string.Concat(progress.Select(r => r.Value.Error)));
var modFilename = writer.GetModDataFileName(run.RunName, run.CycleName, run.RunSuffix);
GetGraphWriter().Write(modFilename);
}
[TestCase(0, TestName = "AT EcoRoll TC DH1.8 const"),
TestCase(1, TestName = "AT EcoRoll TC DH1.8 UH0.1"),
TestCase(2, TestName = "AT EcoRoll TC DH1.9 const"),
TestCase(3, TestName = "AT EcoRoll TC DH1.2 const - too flat"),
TestCase(4, TestName = "AT EcoRoll TC DH2.5 const - too steep"),
TestCase(5, TestName = "AT EcoRoll TC DH1.9 const - Stop"),
TestCase(6, TestName = "AT EcoRoll TC DH1.9 const - TS60"),
TestCase(7, TestName = "AT EcoRoll TC DH1.9 const - TS68"),
TestCase(8, TestName = "AT EcoRoll TC DH1.9 const - TS72"),
TestCase(9, TestName = "AT EcoRoll TC DH1.9 const - TS80"),
]
public void TestEcoRollAT_TC(int cycleIdx)
{
string jobName = @"TestData\Integration\ADAS-Conventional\Group9_RigidTruck_AT\Class_9_RigidTruck_AT_Eng_TC.vecto";
var inputData = JSONInputDataFactory.ReadJsonJob(jobName);
var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(jobName), Path.GetFileName(jobName)));
var sumContainer = new SummaryDataContainer(writer);
var jobContainer = new JobContainer(sumContainer);
var factory = new SimulatorFactory(ExecutionMode.Engineering, inputData, writer) {
WriteModalResults = true,
//ActualModalData = true,
Validate = false
};
factory.SumData = sumContainer;
var runs = factory.SimulationRuns().ToArray();
var run = runs[cycleIdx];
jobContainer.AddRun(run);
jobContainer.Execute();
jobContainer.WaitFinished();
var progress = jobContainer.GetProgress();
Assert.IsTrue(progress.All(r => r.Value.Success), string.Concat(progress.Select(r => r.Value.Error)));
var modFilename = writer.GetModDataFileName(run.RunName, run.CycleName, run.RunSuffix);
GetGraphWriter().Write(modFilename);
}
[TestCase(@"TestData\Integration\ADAS-Conventional\Group9_AT_EngineStopStart.xml")]
public void TestATVehicleWithADASEngineStopStart(string filename)
{
//var container = RunAllDeclarationJob(filename);
var container = RunSingleDeclarationJob(filename, 5);
}
[TestCase(@"TestData\Integration\ADAS-Conventional\Group9_AT_EcoRoll.xml")]
public void TestATVehicleWithADASEcoRoll(string filename)
{
var container = RunAllDeclarationJob(filename);
//var container = RunSingleDeclarationJob(filename, 1);
}
[TestCase(Group5PCC12, 0, TestName = "G5Eng PCC12 CrestCoast 1"),
TestCase(Group5PCC12, 1, TestName = "G5Eng PCC12 CrestCoast 2"),
TestCase(Group5PCC12, 2, TestName = "G5Eng PCC12 Case A"), // Case A
TestCase(Group5PCC12, 3, TestName = "G5Eng PCC12 Case B"), // Case B
TestCase(Group5PCC12, 4, TestName = "G5Eng PCC12 Case C"), // Case C
TestCase(Group5PCC12, 5, TestName = "G5Eng PCC12 Case D"), // Case D
TestCase(Group5PCC12, 6, TestName = "G5Eng PCC12 Case E"), // Case E
TestCase(Group5PCC12, 7, TestName = "G5Eng PCC12 Case F"), // Case F
TestCase(Group5PCC12, 8, TestName = "G5Eng PCC12 Case G"), // Case G
TestCase(Group5PCC12, 9, TestName = "G5Eng PCC12 Case H"), // Case H
TestCase(Group5PCC12, 10, TestName = "G5Eng PCC12 Case I"), // Case I
TestCase(Group5PCC12, 11, TestName = "G5Eng PCC12 Case J"), // Case J
TestCase(Group5PCC123, 2, TestName = "G5Eng PCC123 Case A"), // Case A
TestCase(Group5PCC123, 3, TestName = "G5Eng PCC123 Case B"), // Case B
TestCase(Group5PCC123, 4, TestName = "G5Eng PCC123 Case C"), // Case C
TestCase(Group5PCC123, 5, TestName = "G5Eng PCC123 Case D"), // Case D
TestCase(Group5PCC123, 6, TestName = "G5Eng PCC123 Case E"), // Case E
TestCase(Group5PCC123, 7, TestName = "G5Eng PCC123 Case F"), // Case F
TestCase(Group5PCC123, 8, TestName = "G5Eng PCC123 Case G"), // Case G
TestCase(Group5PCC123, 9, TestName = "G5Eng PCC123 Case H"), // Case H
TestCase(Group5PCC123, 10, TestName = "G5Eng PCC123 Case I"), // Case I
TestCase(Group5PCC123, 11, TestName = "G5Eng PCC123 Case J"), // Case J
TestCase(Group5PCC123EcoSS, 2, TestName = "G5Eng PCC123-EcoSS Case A"), // Case A
TestCase(Group5PCC123EcoSS, 3, TestName = "G5Eng PCC123-EcoSS Case B"), // Case B
TestCase(Group5PCC123EcoSS, 4, TestName = "G5Eng PCC123-EcoSS Case C"), // Case C
TestCase(Group5PCC123EcoSS, 5, TestName = "G5Eng PCC123-EcoSS Case D"), // Case D
TestCase(Group5PCC123EcoSS, 6, TestName = "G5Eng PCC123-EcoSS Case E"), // Case E
TestCase(Group5PCC123EcoSS, 7, TestName = "G5Eng PCC123-EcoSS Case F"), // Case F
TestCase(Group5PCC123EcoSS, 8, TestName = "G5Eng PCC123-EcoSS Case G"), // Case G
TestCase(Group5PCC123EcoSS, 9, TestName = "G5Eng PCC123-EcoSS Case H"), // Case H
TestCase(Group5PCC123EcoSS, 10, TestName = "G5Eng PCC123-EcoSS Case I"), // Case I
TestCase(Group5PCC123EcoSS, 11, TestName = "G5Eng PCC123-EcoSS Case J"), // Case J
]
public void TestPCCEngineeringSampleCases(string jobName, int cycleIdx)
{
RunSingleEngineeringCycle(jobName, cycleIdx);
}
[TestCase(5, TestName = "PCC Group5 RD RefLoad"),
TestCase(1, TestName = "PCC Group5 LH RefLoad")]
public void TestTCCDeclaration(int runIdx)
{
var jobName = @"TestData\Integration\ADAS-Conventional\Group5PCCDecl\Tractor_4x2_vehicle-class-5_5_t_0.xml";
RunSingleDeclarationJob(jobName, runIdx);
}
public void RunSingleEngineeringCycle(string jobName, int cycleIdx)
{
var inputData = JSONInputDataFactory.ReadJsonJob(jobName);
var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(jobName), Path.GetFileName(jobName)));
var sumContainer = new SummaryDataContainer(writer);
var jobContainer = new JobContainer(sumContainer);
var factory = new SimulatorFactory(ExecutionMode.Engineering, inputData, writer) {
WriteModalResults = true,
//ActualModalData = true,
Validate = false
};
factory.SumData = sumContainer;
var runs = factory.SimulationRuns().ToArray();
var run = runs[cycleIdx];
jobContainer.AddRun(run);
jobContainer.Execute();
jobContainer.WaitFinished();
var progress = jobContainer.GetProgress();
Assert.IsTrue(progress.All(r => r.Value.Success), string.Concat(progress.Select(r => r.Value.Error)));
var modFilename = writer.GetModDataFileName(run.RunName, run.CycleName, run.RunSuffix);
GetGraphWriter().Write(modFilename);
}
public JobContainer RunAllDeclarationJob(string jobName)
{
var relativeJobPath = jobName;
var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(relativeJobPath), Path.GetFileName(relativeJobPath)));
var inputData = Path.GetExtension(relativeJobPath) == ".xml"
? xmlInputReader.CreateDeclaration(relativeJobPath)
//? new XMLDeclarationInputDataProvider(relativeJobPath, true)
: JSONInputDataFactory.ReadJsonJob(relativeJobPath);
var factory = new SimulatorFactory(ExecutionMode.Declaration, inputData, writer) {
WriteModalResults = true,
//ActualModalData = true,
Validate = false
};
var sumContainer = new SummaryDataContainer(writer);
var jobContainer = new JobContainer(sumContainer);
jobContainer.AddRuns(factory);
jobContainer.Execute();
jobContainer.WaitFinished();
var progress = jobContainer.GetProgress();
Assert.IsTrue(progress.All(r => r.Value.Success), string.Concat(progress.Select(r => r.Value.Error)));
return jobContainer;
}
public JobContainer RunSingleDeclarationJob(string jobName, int runIdx)
{
var relativeJobPath = jobName;
var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(relativeJobPath), Path.GetFileName(relativeJobPath)));
var inputData = Path.GetExtension(relativeJobPath) == ".xml"
? xmlInputReader.CreateDeclaration(relativeJobPath)
//? new XMLDeclarationInputDataProvider(relativeJobPath, true)
: JSONInputDataFactory.ReadJsonJob(relativeJobPath);
var factory = new SimulatorFactory(ExecutionMode.Declaration, inputData, writer) {
WriteModalResults = true,
//ActualModalData = true,
Validate = false
};
var sumContainer = new SummaryDataContainer(writer);
var jobContainer = new JobContainer(sumContainer);
factory.SumData = sumContainer;
var runs = factory.SimulationRuns().ToArray();
jobContainer.AddRun(runs[runIdx]);
jobContainer.Execute();
jobContainer.WaitFinished();
var progress = jobContainer.GetProgress();
Assert.IsTrue(progress.All(r => r.Value.Success), string.Concat(progress.Select(r => r.Value.Error)));
//var run = jobContainer.Runs[runIdx].Run;
//run.Run();
//var runs = factory.SimulationRuns().ToArray();
//runs[runIdx].Run();
//Assert.IsTrue(runs.FinishedWithoutErrors);
return jobContainer;
}
}
}
using System; using System.IO;
using System.IO;
using System.Linq; using System.Linq;
using Ninject; using Ninject;
using NUnit.Framework; using NUnit.Framework;
...@@ -16,12 +15,12 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS ...@@ -16,12 +15,12 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS
{ {
[TestFixture] [TestFixture]
[Parallelizable(ParallelScope.All)] [Parallelizable(ParallelScope.All)]
public class ADASTests public class ADASTestsPEV
{ {
public const string Group5PCC12 = @"TestData\Integration\ADAS\Group5PCCEng\Class5_Tractor_ENG_PCC12.vecto"; public const string Group5PCC12 = @"TestData\Integration\ADAS-PEV\Group5PCCEng\Class5_Tractor_ENG_PCC12.vecto";
public const string Group5PCC123 = @"TestData\Integration\ADAS\Group5PCCEng\Class5_Tractor_ENG_PCC123.vecto"; public const string Group5PCC123 = @"TestData\Integration\ADAS-PEV\Group5PCCEng\Class5_Tractor_ENG_PCC123.vecto";
public const string Group5PCC123EcoSS = @"TestData\Integration\ADAS\Group5PCCEng\Class5_Tractor_ENG_PCC123EcoSS.vecto"; public const string Group5PCC123EcoSS = @"TestData\Integration\ADAS-PEV\Group5PCCEng\Class5_Tractor_ENG_PCC123EcoSS.vecto";
protected IXMLInputDataReader xmlInputReader; protected IXMLInputDataReader xmlInputReader;
private IKernel _kernel; private IKernel _kernel;
...@@ -55,21 +54,21 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS ...@@ -55,21 +54,21 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS
} }
[TestCase(@"TestData\Integration\ADAS\Group5_EngineStopStart.xml")] [TestCase(@"TestData\Integration\ADAS-PEV\Group5_EngineStopStart.xml")]
public void TestVehicleWithADASEngineStopStart(string filename) public void TestVehicleWithADASEngineStopStart(string filename)
{ {
var container = RunAllDeclarationJob(filename); var container = RunAllDeclarationJob(filename);
//var container = RunSingleDeclarationJob(filename, 4); //var container = RunSingleDeclarationJob(filename, 4);
} }
[TestCase(@"TestData\Integration\ADAS\Group5_EcoRoll.xml")] [TestCase(@"TestData\Integration\ADAS-PEV\Group5_EcoRoll.xml")]
public void TestVehicleWithADASEcoRoll(string filename) public void TestVehicleWithADASEcoRoll(string filename)
{ {
var container = RunAllDeclarationJob(filename); var container = RunAllDeclarationJob(filename);
//var container = RunSingleDeclarationJob(filename, 4); //var container = RunSingleDeclarationJob(filename, 4);
} }
[TestCase(@"TestData\Integration\ADAS\Group5_EcoRollEngineStop.xml")] [TestCase(@"TestData\Integration\ADAS-PEV\Group5_EcoRollEngineStop.xml")]
public void TestVehicleWithADASEcoRollEngineStopStart(string filename) public void TestVehicleWithADASEcoRollEngineStopStart(string filename)
{ {
var container = RunAllDeclarationJob(filename); var container = RunAllDeclarationJob(filename);
...@@ -90,7 +89,7 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS ...@@ -90,7 +89,7 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS
] ]
public void TestEcoRoll(int cycleIdx) public void TestEcoRoll(int cycleIdx)
{ {
string jobName = @"TestData\Integration\ADAS\Group5EcoRollEng\Class5_Tractor_ENG.vecto"; string jobName = @"TestData\Integration\ADAS-PEV\Group5EcoRollEng\Class5_Tractor_ENG.vecto";
var inputData = JSONInputDataFactory.ReadJsonJob(jobName); var inputData = JSONInputDataFactory.ReadJsonJob(jobName);
var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(jobName), Path.GetFileName(jobName))); var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(jobName), Path.GetFileName(jobName)));
...@@ -131,7 +130,7 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS ...@@ -131,7 +130,7 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS
] ]
public void TestEcoRollAT_Neutral(int cycleIdx) public void TestEcoRollAT_Neutral(int cycleIdx)
{ {
string jobName = @"TestData\Integration\ADAS\Group9_RigidTruck_AT\Class_9_RigidTruck_AT_Eng_Neutral.vecto"; string jobName = @"TestData\Integration\ADAS-PEV\Group9_RigidTruck_AT\Class_9_RigidTruck_AT_Eng_Neutral.vecto";
var inputData = JSONInputDataFactory.ReadJsonJob(jobName); var inputData = JSONInputDataFactory.ReadJsonJob(jobName);
var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(jobName), Path.GetFileName(jobName))); var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(jobName), Path.GetFileName(jobName)));
...@@ -172,7 +171,7 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS ...@@ -172,7 +171,7 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS
] ]
public void TestEcoRollAT_TC(int cycleIdx) public void TestEcoRollAT_TC(int cycleIdx)
{ {
string jobName = @"TestData\Integration\ADAS\Group9_RigidTruck_AT\Class_9_RigidTruck_AT_Eng_TC.vecto"; string jobName = @"TestData\Integration\ADAS-PEV\Group9_RigidTruck_AT\Class_9_RigidTruck_AT_Eng_TC.vecto";
var inputData = JSONInputDataFactory.ReadJsonJob(jobName); var inputData = JSONInputDataFactory.ReadJsonJob(jobName);
var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(jobName), Path.GetFileName(jobName))); var writer = new FileOutputWriter(Path.Combine(Path.GetDirectoryName(jobName), Path.GetFileName(jobName)));
...@@ -199,14 +198,14 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS ...@@ -199,14 +198,14 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS
GetGraphWriter().Write(modFilename); GetGraphWriter().Write(modFilename);
} }
[TestCase(@"TestData\Integration\ADAS\Group9_AT_EngineStopStart.xml")] [TestCase(@"TestData\Integration\ADAS-PEV\Group9_AT_EngineStopStart.xml")]
public void TestATVehicleWithADASEngineStopStart(string filename) public void TestATVehicleWithADASEngineStopStart(string filename)
{ {
//var container = RunAllDeclarationJob(filename); //var container = RunAllDeclarationJob(filename);
var container = RunSingleDeclarationJob(filename, 5); var container = RunSingleDeclarationJob(filename, 5);
} }
[TestCase(@"TestData\Integration\ADAS\Group9_AT_EcoRoll.xml")] [TestCase(@"TestData\Integration\ADAS-PEV\Group9_AT_EcoRoll.xml")]
public void TestATVehicleWithADASEcoRoll(string filename) public void TestATVehicleWithADASEcoRoll(string filename)
{ {
var container = RunAllDeclarationJob(filename); var container = RunAllDeclarationJob(filename);
...@@ -261,7 +260,7 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS ...@@ -261,7 +260,7 @@ namespace TUGraz.VectoCore.Tests.Integration.ADAS
TestCase(1, TestName = "PCC Group5 LH RefLoad")] TestCase(1, TestName = "PCC Group5 LH RefLoad")]
public void TestTCCDeclaration(int runIdx) public void TestTCCDeclaration(int runIdx)
{ {
var jobName = @"TestData\Integration\ADAS\Group5PCCDecl\Tractor_4x2_vehicle-class-5_5_t_0.xml"; var jobName = @"TestData\Integration\ADAS-PEV\Group5PCCDecl\Tractor_4x2_vehicle-class-5_5_t_0.xml";
RunSingleDeclarationJob(jobName, runIdx); RunSingleDeclarationJob(jobName, runIdx);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment