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

use short cycles in 2nd amendment bus testcases

parent f6c3e0e6
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@ using TUGraz.VectoCommon.Models;
using TUGraz.VectoCommon.Utils;
using TUGraz.VectoCore.InputData.FileIO.JSON;
using TUGraz.VectoCore.InputData.FileIO.XML;
using TUGraz.VectoCore.Models.Declaration;
using TUGraz.VectoCore.Models.Simulation;
using TUGraz.VectoCore.Models.Simulation.Impl;
using TUGraz.VectoCore.Models.Simulation.Impl.SimulatorFactory;
......@@ -22,6 +23,7 @@ using TUGraz.VectoCore.OutputData.FileIO;
using TUGraz.VectoCore.OutputData.XML;
using TUGraz.VectoCore.Tests.Integration.CompletedBus;
using TUGraz.VectoCore.Tests.Models.Simulation;
using TUGraz.VectoCore.Tests.Utils;
namespace TUGraz.VectoCore.Tests.Integration.Declaration.PrimaryBus;
......@@ -40,6 +42,10 @@ public class PrimaryBusSimulation
{
_kernel = new StandardKernel(new VectoNinjectModule());
_xmlReader = _kernel.Get<IXMLInputDataReader>();
_kernel.Rebind<IDeclarationCycleFactory>().To<TestDeclarationCycleFactory>().InSingletonScope();
var cycleFactory = _kernel.Get<IDeclarationCycleFactory>() as TestDeclarationCycleFactory;
cycleFactory.Variant = "Short_10";
}
......
......@@ -39,6 +39,7 @@
<ItemGroup>
<None Include="TestData\**" CopyToOutputDirectory="PreserveNewest" />
<None Include="Resources\**" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>
<ItemGroup>
......
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