File tree Expand file tree Collapse file tree 8 files changed +13
-10
lines changed Expand file tree Collapse file tree 8 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 11using System . Collections . Generic ;
2- using BeekmanLabs . UnitTesting ;
32using InEngine . Commands ;
43using InEngine . Core . Commands ;
54using InEngine . Core . Exceptions ;
65using Moq ;
76using NUnit . Framework ;
8- using Quartz ;
97
108namespace InEngine . Core . Test . Commands ;
119
Original file line number Diff line number Diff line change 1212 <Copyright >Copyright © 2017 Ethan Hann</Copyright >
1313 </PropertyGroup >
1414 <ItemGroup >
15- <PackageReference Include =" BeekmanLabs.UnitTesting" Version =" 0.0.0" />
1615 <PackageReference Include =" Microsoft.NET.Test.Sdk" Version =" 17.3.0" />
1716 <PackageReference Include =" Moq" Version =" 4.7.145" />
1817 <PackageReference Include =" NUnit" Version =" 3.9.0" />
Original file line number Diff line number Diff line change 1- using BeekmanLabs . UnitTesting ;
2- using InEngine . Commands ;
1+ using InEngine . Commands ;
32using InEngine . Core . Queuing . Commands ;
43using Moq ;
54using NUnit . Framework ;
Original file line number Diff line number Diff line change 11using System ;
22using System . Linq ;
3- using BeekmanLabs . UnitTesting ;
43using InEngine . Commands ;
54using InEngine . Core . Commands ;
65using InEngine . Core . Exceptions ;
Original file line number Diff line number Diff line change 11using System ;
22using System . Linq . Expressions ;
3- using BeekmanLabs . UnitTesting ;
43using InEngine . Commands ;
54using InEngine . Core . Commands ;
65using InEngine . Core . Queuing ;
1110namespace InEngine . Core . Test . Queuing ;
1211
1312[ TestFixture ]
14- public class EnqueueTest : TestBase
13+ public class EnqueueTest
1514{
1615 public Mock < QueueAdapter > MockQueueAdapter { get ; set ; }
1716
Original file line number Diff line number Diff line change 11using System ;
22using System . Linq . Expressions ;
3- using BeekmanLabs . UnitTesting ;
43using InEngine . Commands ;
54using InEngine . Core . Commands ;
65using InEngine . Core . Queuing ;
Original file line number Diff line number Diff line change 11using System ;
2- using BeekmanLabs . UnitTesting ;
32using InEngine . Commands ;
43using InEngine . Core . Scheduling ;
54using NUnit . Framework ;
Original file line number Diff line number Diff line change 1+ using NUnit . Framework ;
2+
3+ namespace InEngine . Core . Test ;
4+
5+ public abstract class TestBase < TSubject > where TSubject : new ( )
6+ {
7+ protected TSubject Subject { get ; set ; }
8+
9+ [ SetUp ]
10+ public void ConstructSubject ( ) => Subject = new TSubject ( ) ;
11+ }
You can’t perform that action at this time.
0 commit comments