Skip to content

Commit e49e604

Browse files
committed
- Checkpoint: Fix Lint
1 parent e0250f1 commit e49e604

File tree

15 files changed

+19
-41
lines changed

15 files changed

+19
-41
lines changed

src/SourceFlow/Impl/CommandBus.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using System.Threading.Tasks;
2-
using System.Linq;
31
using System;
2+
using System.Linq;
3+
using System.Threading.Tasks;
44
using Microsoft.Extensions.Logging;
55
using SourceFlow.Messaging;
66
using SourceFlow.Messaging.Bus;

src/SourceFlow/Impl/EventQueue.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System;
22
using System.Threading.Tasks;
33
using Microsoft.Extensions.Logging;
4-
using SourceFlow.Aggregate;
54
using SourceFlow.Messaging;
65
using SourceFlow.Messaging.Bus;
76

src/SourceFlow/Impl/SagaDispatcher.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.Collections.Generic;
2-
using System.Threading.Tasks;
32
using System.Linq;
3+
using System.Threading.Tasks;
44
using Microsoft.Extensions.Logging;
55
using SourceFlow.Aggregate;
66
using SourceFlow.Messaging;

src/SourceFlow/Messaging/Bus/ICommandBus.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System;
22
using System.Threading.Tasks;
3-
using SourceFlow.Saga;
43

54
namespace SourceFlow.Messaging.Bus
65
{

tests/SourceFlow.Core.Tests/Aggregates/AggregateTests.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
using System;
2-
using System.Threading.Tasks;
31
using Microsoft.Extensions.Logging;
42
using Moq;
5-
using NUnit.Framework;
63
using SourceFlow.Aggregate;
74
using SourceFlow.Messaging;
85
using SourceFlow.Messaging.Bus;

tests/SourceFlow.Core.Tests/Impl/AggregateFactoryTests.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Threading.Tasks;
3-
using Microsoft.Extensions.DependencyInjection;
41
using Moq;
5-
using NUnit.Framework;
62
using SourceFlow.Aggregate;
73
using SourceFlow.Impl;
84

@@ -31,4 +27,4 @@ public async Task Create_ReturnsAggregateInstance()
3127
Assert.AreSame(aggregateMock.Object, result);
3228
}
3329
}
34-
}
30+
}

tests/SourceFlow.Core.Tests/Impl/CommandPublisherTests.cs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
1-
using System;
2-
using System.Threading.Tasks;
31
using Moq;
4-
using NUnit.Framework;
5-
using SourceFlow.Messaging.Bus;
62
using SourceFlow.Impl;
73
using SourceFlow.Messaging;
4+
using SourceFlow.Messaging.Bus;
85

96
namespace SourceFlow.Core.Tests.Impl
107
{

tests/SourceFlow.Core.Tests/Impl/CommandReplayerTests.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
using System.Threading.Tasks;
21
using Moq;
3-
using NUnit.Framework;
4-
using SourceFlow.Messaging.Bus;
52
using SourceFlow.Impl;
3+
using SourceFlow.Messaging.Bus;
64

75
namespace SourceFlow.Core.Tests.Impl
86
{
@@ -27,4 +25,4 @@ public async Task Replay_DelegatesToCommandBus()
2725
busMock.Verify(b => b.Replay(42), Times.Once);
2826
}
2927
}
30-
}
28+
}

tests/SourceFlow.Core.Tests/Impl/ProjectionDispatcherTests.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.Threading.Tasks;
41
using Microsoft.Extensions.Logging;
52
using Moq;
6-
using NUnit.Framework;
73
using SourceFlow.Impl;
84
using SourceFlow.Messaging;
95
using SourceFlow.Messaging.Bus;

tests/SourceFlow.Core.Tests/Ioc/DummyCommandStore.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,13 @@ public Task Append(ICommand command)
99
// Simulate appending command
1010
return Task.CompletedTask;
1111
}
12+
1213
public Task<IEnumerable<ICommand>> Load(int aggregateId)
1314
{
1415
// Simulate loading commands
1516
return Task.FromResult<IEnumerable<ICommand>>(null);
1617
}
18+
1719
public Task<int> GetNextSequenceNo(int aggregateId)
1820
{
1921
// Simulate getting next sequence number

0 commit comments

Comments
 (0)