File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
IntegrationEngine.Tests/Scheduler Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,15 @@ public class EngineSchedulerTest
99 {
1010 public void ShouldDeleteTrigger ( )
1111 {
12+ var jobType = typeof ( IntegrationJobFixture ) ;
13+ var subject = new EngineScheduler ( ) {
14+ IntegrationJobTypes = new List < Type > ( ) { jobType }
15+ } ;
16+ var trigger = new CronTrigger ( ) {
17+ JobType = jobType . FullName
18+ } ;
1219
20+ subject . DeleteTrigger ( trigger ) ;
1321
1422
1523 }
Original file line number Diff line number Diff line change 8686 </Reference >
8787 <Reference Include =" System.ComponentModel.DataAnnotations" />
8888 <Reference Include =" System.Data" />
89+ <Reference Include =" System.Messaging" />
8990 <Reference Include =" System.Net.Http" />
9091 <Reference Include =" Owin" >
9192 <HintPath >..\packages\Owin.1.0\lib\net40\Owin.dll</HintPath >
149150 <Compile Include =" Configuration\WebApiConfiguration.cs" />
150151 <Compile Include =" DataAnnotations\CronExpressionStringAttribute.cs" />
151152 <Compile Include =" DataAnnotations\TimeZoneIdAttribute.cs" />
153+ <Compile Include =" MessageQueue\MsmqClient.cs" />
152154 <Compile Include =" Scheduler\CronTrigger.cs" />
153155 <Compile Include =" Scheduler\SimpleTrigger.cs" />
154156 <Compile Include =" Scheduler\TriggerListener.cs" />
You can’t perform that action at this time.
0 commit comments