Skip to content

Commit 80bf748

Browse files
committed
Setup for scheduler tests
1 parent 96e4bc4 commit 80bf748

File tree

5 files changed

+413
-0
lines changed

5 files changed

+413
-0
lines changed

IntegrationEngine.Tests/IntegrationEngine.Tests.csproj

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@
3636
<Prefer32Bit>false</Prefer32Bit>
3737
</PropertyGroup>
3838
<ItemGroup>
39+
<Reference Include="Common.Logging, Version=3.0.0.0, Culture=neutral, PublicKeyToken=af08829b84f0328e, processorArchitecture=MSIL">
40+
<SpecificVersion>False</SpecificVersion>
41+
<HintPath>..\packages\Common.Logging.3.0.0\lib\net40\Common.Logging.dll</HintPath>
42+
</Reference>
43+
<Reference Include="Common.Logging.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=af08829b84f0328e, processorArchitecture=MSIL">
44+
<SpecificVersion>False</SpecificVersion>
45+
<HintPath>..\packages\Common.Logging.Core.3.0.0\lib\net40\Common.Logging.Core.dll</HintPath>
46+
</Reference>
3947
<Reference Include="fx.configuration">
4048
<HintPath>..\packages\fx.configuration.0.4.0\lib\net45\fx.configuration.dll</HintPath>
4149
</Reference>
@@ -48,6 +56,10 @@
4856
<Reference Include="Moq">
4957
<HintPath>..\packages\Moq.4.2.1409.1722\lib\net40\Moq.dll</HintPath>
5058
</Reference>
59+
<Reference Include="Quartz, Version=2.3.1.0, Culture=neutral, PublicKeyToken=f6b8c98a402cc8a4, processorArchitecture=MSIL">
60+
<SpecificVersion>False</SpecificVersion>
61+
<HintPath>..\packages\Quartz.2.3.1\lib\net40\Quartz.dll</HintPath>
62+
</Reference>
5163
<Reference Include="System" />
5264
<Reference Include="System.Core" />
5365
<Reference Include="System.Net.Http" />
@@ -75,7 +87,9 @@
7587
<ItemGroup>
7688
<Compile Include="Api\Controllers\CronTriggerControllerTest.cs" />
7789
<Compile Include="EngineHostConfigurationTest.cs" />
90+
<Compile Include="IntegrationJobFixture.cs" />
7891
<Compile Include="Properties\AssemblyInfo.cs" />
92+
<Compile Include="Scheduler\EngineSchedulerTest.cs" />
7993
<Compile Include="StubContainer.cs" />
8094
</ItemGroup>
8195
<ItemGroup>
@@ -84,6 +98,9 @@
8498
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
8599
</None>
86100
<None Include="app.config" />
101+
<None Include="job_scheduling_data_2_0.xsd">
102+
<SubType>Designer</SubType>
103+
</None>
87104
<None Include="packages.config" />
88105
</ItemGroup>
89106
<ItemGroup>
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using IntegrationEngine.Core.Jobs;
2+
using System;
3+
using System.Collections.Generic;
4+
using System.Linq;
5+
using System.Text;
6+
using System.Threading.Tasks;
7+
8+
namespace IntegrationEngine.Tests
9+
{
10+
public class IntegrationJobFixture : IIntegrationJob
11+
{
12+
public void Run()
13+
{}
14+
}
15+
}
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using IntegrationEngine.Scheduler;
2+
using Quartz.Impl;
3+
using System;
4+
using System.Collections.Generic;
5+
6+
namespace IntegrationEngine.Tests.Scheduler
7+
{
8+
public class EngineSchedulerTest
9+
{
10+
public void ShouldDeleteTrigger()
11+
{
12+
13+
14+
15+
}
16+
}
17+
}

0 commit comments

Comments
 (0)