Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

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

ignored some confidential test cases (they only run when the file exists)

parent 2857cf49
No related branches found
No related tags found
No related merge requests found
......@@ -347,6 +347,9 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration
var engineFldFile = @"E:\QUAM\Downloads\EngineFLD\Map_375c_BB1390_modTUG_R49_375c_BB1386.vfld";
var gearboxFile = @"TestData\Components\40t_Long_Haul_Truck.vgbx";
if (!File.Exists(engineFldFile))
Assert.Inconclusive("Confidential File not found. Test cannot run without file.");
var rdyn = 0.4882675.SI<Meter>();
var axlegearRatio = 2.59;
......@@ -382,7 +385,7 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration
public class ShiftPolygonComparison
{
const string BasePath = @"E:\QUAM\Workspace\Daten_INTERN\Testfahrzeuge\";
[
TestCase(@"class2_12t_baseline\175kW_Diesel_example.vfld", @"class2_12t_baseline\delivery_12t_example.vgbx", 0.421,
4.18, 600),
......@@ -407,6 +410,9 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration
public void ComputeShiftPolygon(string engineFldFile, string gearboxFile, double rdyn, double axlegearRatio,
double idlingSpeed)
{
if (!Directory.Exists(BasePath))
NUnit.Framework.Assert.Ignore("Confidential File not found. Test cannot run without file.");
var engineData = new CombustionEngineData() {
IdleSpeed = idlingSpeed.RPMtoRad(),
FullLoadCurve = EngineFullLoadCurve.ReadFromFile(Path.Combine(BasePath, engineFldFile), true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment