File tree Expand file tree Collapse file tree 3 files changed +33
-2
lines changed
src/InEngine.Core.Test/Queuing Expand file tree Collapse file tree 3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change 55using NUnit . Framework ;
66using Quartz ;
77
8- namespace InEngine . Core . Test . Queue . Commands
8+ namespace InEngine . Core . Test . Queuing . Commands
99{
1010 [ TestFixture ]
1111 public class ConsumeTest : TestBase < Consume >
Original file line number Diff line number Diff line change 77using InEngine . Core . Queuing . Commands ;
88using NUnit . Framework ;
99
10- namespace InEngine . Core . Test . Queue . Commands
10+ namespace InEngine . Core . Test . Queuing . Commands
1111{
1212 [ TestFixture ]
1313 public class PublishTest : TestBase < Publish >
Original file line number Diff line number Diff line change 1+ using System ;
2+ using BeekmanLabs . UnitTesting ;
3+ using InEngine . Commands ;
4+ using InEngine . Core . Commands ;
5+ using InEngine . Core . Queuing ;
6+ using InEngine . Core . Queuing . Commands ;
7+ using Moq ;
8+ using NUnit . Framework ;
9+ using Quartz ;
10+
11+ namespace InEngine . Core . Test . Queuing
12+ {
13+ [ TestFixture ]
14+ public class QueueTest : TestBase
15+ {
16+ public Queue Subject { get ; private set ; }
17+
18+ [ SetUp ]
19+ public void Setup ( )
20+ {
21+ InEngineSettings . BasePath = TestContext . CurrentContext . TestDirectory ;
22+ Subject = Queue . Make ( ) ;
23+ }
24+
25+ [ Test ]
26+ public void ShouldPublishLambda ( )
27+ {
28+ Subject . Publish ( ( ) => { Console . Write ( "Hello, world." ) ; } ) ;
29+ }
30+ }
31+ }
You can’t perform that action at this time.
0 commit comments