Skip to content

Commit

Permalink
Add test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cwetanow committed Mar 2, 2017
1 parent 40270c0 commit 55a1541
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/Logs.Services.Tests/Logs.Services.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="LogsServiceTests\ConstructorTests.cs" />
<Compile Include="LogsServiceTests\CreateTrainingLogTests.cs" />
<Compile Include="LogsServiceTests\GetLatestLogsTests.cs" />
<Compile Include="LogsServiceTests\GetPagedTests.cs" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ public class GetLatestLogsTests
[TestCase(2)]
public void TestGetLatestLogs_ShouldCallRepositoryGetPagedCorrectly(int count)
{
// Arrange
var expectedPage = 1;
var expectedDescending = true;

// Arrange
var mockedLogRepository = new Mock<IRepository<TrainingLog>>();
var mockedUnitOfWork = new Mock<IUnitOfWork>();
var mockedLogFactory = new Mock<ITrainingLogFactory>();
Expand Down
2 changes: 1 addition & 1 deletion src/Logs.Services.Tests/LogsServiceTests/GetPagedTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ public class GetPagedTests
[TestCase(2, 14)]
public void TestGetPaged_ShouldCallRepositoryGetPagedCorrectly(int page, int count)
{
// Arrange
var expectedDescending = true;

// Arrange
var mockedLogRepository = new Mock<IRepository<TrainingLog>>();
var mockedUnitOfWork = new Mock<IUnitOfWork>();
var mockedLogFactory = new Mock<ITrainingLogFactory>();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ public class GetTopLogsTests
[TestCase(2)]
public void TestGetTopLogs_ShouldCallRepositoryGetPagedCorrectly(int count)
{
// Arrange
var expectedPage = 1;
var expectedDescending = false;

// Arrange
var mockedLogRepository = new Mock<IRepository<TrainingLog>>();
var mockedUnitOfWork = new Mock<IUnitOfWork>();
var mockedLogFactory = new Mock<ITrainingLogFactory>();
Expand Down

0 comments on commit 55a1541

Please sign in to comment.