8000 Remove c# 6.0 String Interpolation by thefringeninja · Pull Request #3 · SQLStreamStore/SQLStreamStore · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Aug 15, 2024. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
namespace Cedar.EventStore
{
using System;
using System.Threading.Tasks;
using FluentAssertions;
using Xunit;
Expand Down Expand Up @@ -51,7 +52,7 @@ private async Task<AllEventsPage> ReadAllStreamToEnd(IEventStore eventStore)
LogAllEventsPage(allEventsPage);
while (!allEventsPage.IsEnd && count < 10)
{
_testOutputHelper.WriteLine($"Loop {count}");
_testOutputHelper.WriteLine(String.Format("Loop {0}", count));
allEventsPage = await eventStore.ReadAll(allEventsPage.NextCheckpoint, pageSize);
LogAllEventsPage(allEventsPage);
count++;
Expand All @@ -61,10 +62,10 @@ private async Task<AllEventsPage> ReadAllStreamToEnd(IEventStore eventStore)

private void LogAllEventsPage(AllEventsPage allEventsPage)
{
_testOutputHelper.WriteLine($"FromCheckpoint = {allEventsPage.FromCheckpoint}");
_testOutputHelper.WriteLine($"NextCheckpoint = {allEventsPage.NextCheckpoint}");
_testOutputHelper.WriteLine($"IsEnd = {allEventsPage.IsEnd}");
_testOutputHelper.WriteLine($"StreamEvents.Count = {allEventsPage.StreamEvents.Count}");
_testOutputHelper.WriteLine(String.Format("FromCheckpoint = {0}", allEventsPage.FromCheckpoint));
_testOutputHelper.WriteLine(String.Format("NextCheckpoint = {0}", allEventsPage.NextCheckpoint));
_testOutputHelper.WriteLine(String.Format("IsEnd = {0}", allEventsPage.IsEnd));
_testOutputHelper.WriteLine(String.Format("StreamEvents.Count = {0}", allEventsPage.StreamEvents.Count));
_testOutputHelper.WriteLine("");
}
}
Expand Down