Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 76390fcd authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

VIF: initailize results with a valid xml structure

parent c37b68e6
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.ManufacturerReport.
{
_mRFReportFactory = MRFReportFactory;
// MQ: write dummy result element for testcases (2022-07-13)
// TODO MQ: write dummy result element for testcases (2022-07-13), remove once result writing is implemented
Results = new XElement(Mrf_0_9 + "Results",
new XElement(Mrf_0_9 + "Status", "success"),
new XElement(Mrf_0_9 + "ExemptedVehicle"));
......
......@@ -53,7 +53,10 @@ namespace TUGraz.VectoCore.OutputData.XML.DeclarationReports.VehicleInformationF
public void Initialize(VectoRunData modelData)
{
InitializeVehicleData(modelData.InputData);
Results = new XElement(VIF + XMLNames.Report_Results);
// TODO MQ: write dummy result element for testcases (2022-12-02), remove once result writing is implemented
Results = new XElement(VIF + XMLNames.Report_Results,
new XElement(VIF + "Status", "success"),
new XElement(VIF + "ExemptedVehicle"));
InputDataIntegrity = new XElement(VIF + XMLNames.Report_InputDataSignature,
modelData.InputDataHash == null ? XMLHelper.CreateDummySig(_di) : new XElement(modelData.InputDataHash));
......
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