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 b01e12a9 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

moving existing files to matching folder (schema 2.10), update paths in testcases

parent 0c48c375
Branches
Tags
No related merge requests found
Showing
with 12 additions and 12 deletions
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
"FileVersion": 10 "FileVersion": 10
}, },
"Body": { "Body": {
"PrimaryVehicle": "C:\\Users\\Harry\\source\\repos\\vecto-dev\\VectoCore\\VectoCoreTest\\TestData\\XML\\XMLReaderDeclaration\\SchemaVersion2.6_Buses\\vecto_vehicle-primary_heavyBus-sample.xml", "PrimaryVehicle": "C:\\Users\\Harry\\source\\repos\\vecto-dev\\VectoCore\\VectoCoreTest\\TestData\\XML\\XMLReaderDeclaration\\SchemaVersion2.10\\vecto_vehicle-primary_heavyBus-sample.xml",
"InterimStage": "C:\\Users\\Harry\\source\\repos\\vecto-dev\\VectoCore\\VectoCoreTest\\TestData\\XML\\XMLReaderDeclaration\\SchemaVersion2.8\\vecto_vehicle-stage_input_full-sample.xml", "InterimStage": "C:\\Users\\Harry\\source\\repos\\vecto-dev\\VectoCore\\VectoCoreTest\\TestData\\XML\\XMLReaderDeclaration\\SchemaVersion2.10\\vecto_vehicle-stage_input_full-sample.xml",
"Completed": true "Completed": true
} }
} }
\ No newline at end of file
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
"FileVersion": 10 "FileVersion": 10
}, },
"Body": { "Body": {
"PrimaryVehicle": "C:\\Users\\Harry\\source\\repos\\vecto-dev\\VectoCore\\VectoCoreTest\\TestData\\XML\\XMLReaderDeclaration\\SchemaVersion2.6_Buses\\vecto_vehicle-primary_heavyBus-sample.xml", "PrimaryVehicle": "C:\\Users\\Harry\\source\\repos\\vecto-dev\\VectoCore\\VectoCoreTest\\TestData\\XML\\XMLReaderDeclaration\\SchemaVersion2.10\\vecto_vehicle-primary_heavyBus-sample.xml",
"InterimStage": "C:\\Users\\Harry\\source\\repos\\vecto-dev\\VectoCore\\VectoCoreTest\\TestData\\XML\\XMLReaderDeclaration\\SchemaVersion2.8\\vecto_vehicle-stage_input_full-sample.xml", "InterimStage": "C:\\Users\\Harry\\source\\repos\\vecto-dev\\VectoCore\\VectoCoreTest\\TestData\\XML\\XMLReaderDeclaration\\SchemaVersion2.10\\vecto_vehicle-stage_input_full-sample.xml",
"Completed": false "Completed": false
} }
} }
\ No newline at end of file
...@@ -15,16 +15,16 @@ namespace Vecto3GUI2020Test.ViewModelTests ...@@ -15,16 +15,16 @@ namespace Vecto3GUI2020Test.ViewModelTests
{ {
private ICreateVifViewModel _createVifViewModel; private ICreateVifViewModel _createVifViewModel;
private const string testdata_2_6 = "XML\\XMLReaderDeclaration\\SchemaVersion2.6_Buses\\"; private const string testdata_2_10 = "XML\\XMLReaderDeclaration\\SchemaVersion2.10\\";
private const string testdata_2_8 = "XML\\XMLReaderDeclaration\\SchemaVersion2.8\\"; //private const string testdata_2_10 = "XML\\XMLReaderDeclaration\\SchemaVersion2.10\\";
private const string vecto_vehicle_primary_heavyBusSample = private const string vecto_vehicle_primary_heavyBusSample =
testdata_2_6 + "vecto_vehicle-primary_heavyBus-sample.xml"; testdata_2_10 + "vecto_vehicle-primary_heavyBus-sample.xml";
private const string vecto_vehicle_exempted_input_only_certain_entries = private const string vecto_vehicle_exempted_input_only_certain_entries =
"vecto_vehicle-exempted_input_only_certain_entries01-sample.xml"; "vecto_vehicle-exempted_input_only_certain_entries01-sample.xml";
private const string vecto_vehicle_primary_heavyBusExempted = testdata_2_6 + "exempted_primary_heavyBus.xml"; private const string vecto_vehicle_primary_heavyBusExempted = testdata_2_10 + "exempted_primary_heavyBus.xml";
[SetUp] [SetUp]
public void SetUpCreateVif() public void SetUpCreateVif()
......
...@@ -58,7 +58,7 @@ namespace TUGraz.VectoCore.Tests.Integration ...@@ -58,7 +58,7 @@ namespace TUGraz.VectoCore.Tests.Integration
{ {
const string ExemptedVehicle = @"Testdata\Integration\DeclarationMode\ExemptedVehicle\vecto_vehicle-sample_exempted.xml"; const string ExemptedVehicle = @"Testdata\Integration\DeclarationMode\ExemptedVehicle\vecto_vehicle-sample_exempted.xml";
const string ExemptedPrimaryBus = @"TestData\XML\XMLReaderDeclaration\SchemaVersion2.6_Buses\exempted_primary_heavyBus.xml"; const string ExemptedPrimaryBus = @"TestData\XML\XMLReaderDeclaration\SchemaVersion2.10\exempted_primary_heavyBus.xml";
protected IXMLInputDataReader xmlInputReader; protected IXMLInputDataReader xmlInputReader;
private IKernel _kernel; private IKernel _kernel;
......
...@@ -32,8 +32,8 @@ namespace TUGraz.VectoCore.Tests.Integration.Multistage ...@@ -32,8 +32,8 @@ namespace TUGraz.VectoCore.Tests.Integration.Multistage
public class MultistageVehicleTest public class MultistageVehicleTest
{ {
const string VIFDirPath = @"TestData\XML\XMLReaderDeclaration\SchemaVersionMultistage.0.1\"; const string VIFDirPath = @"TestData\XML\XMLReaderDeclaration\SchemaVersionMultistage.0.1\";
const string InputDirPath = @"TestData\XML\XMLReaderDeclaration\SchemaVersion2.8\"; const string InputDirPath = @"TestData\XML\XMLReaderDeclaration\SchemaVersion2.10\";
private const string PrimaryInputDirPath = @"TestData\XML\XMLReaderDeclaration\SchemaVersion2.6_Buses\"; private const string PrimaryInputDirPath = @"TestData\XML\XMLReaderDeclaration\SchemaVersion2.10\";
const string InputFilePath = InputDirPath + "vecto_vehicle-stage_input_full-sample.xml"; const string InputFilePath = InputDirPath + "vecto_vehicle-stage_input_full-sample.xml";
......
...@@ -326,7 +326,7 @@ namespace TUGraz.VectoCore.Tests.Integration ...@@ -326,7 +326,7 @@ namespace TUGraz.VectoCore.Tests.Integration
[TestCase] [TestCase]
public void TestXMLPrimaryVehicleReportTest() public void TestXMLPrimaryVehicleReportTest()
{ {
var jobfile = @"Testdata\XML\XMLReaderDeclaration\SchemaVersion2.6_Buses/vecto_vehicle-primary_heavyBus-sample.xml"; var jobfile = @"Testdata\XML\XMLReaderDeclaration\SchemaVersion2.10/vecto_vehicle-primary_heavyBus-sample.xml";
var dataProvider = xmlInputReader.CreateDeclaration(jobfile); var dataProvider = xmlInputReader.CreateDeclaration(jobfile);
var writer = new FileOutputWriter(jobfile); var writer = new FileOutputWriter(jobfile);
var xmlReport = new XMLDeclarationReport(writer); var xmlReport = new XMLDeclarationReport(writer);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment