diff --git a/HDTTests/HDTTests.csproj b/HDTTests/HDTTests.csproj
index 4708ed4b9a..5f9ab1ebee 100644
--- a/HDTTests/HDTTests.csproj
+++ b/HDTTests/HDTTests.csproj
@@ -107,7 +107,6 @@
-
diff --git a/HearthWatcher.Test/HearthWatcher.Test.csproj b/HearthWatcher.Test/HearthWatcher.Test.csproj
index ae1a096845..4b5495804a 100644
--- a/HearthWatcher.Test/HearthWatcher.Test.csproj
+++ b/HearthWatcher.Test/HearthWatcher.Test.csproj
@@ -70,6 +70,7 @@
+
diff --git a/HDTTests/LogReader/LogLineItemTests.cs b/HearthWatcher.Test/LogLineTests.cs
similarity index 79%
rename from HDTTests/LogReader/LogLineItemTests.cs
rename to HearthWatcher.Test/LogLineTests.cs
index 56c12f1d19..61c70717dc 100644
--- a/HDTTests/LogReader/LogLineItemTests.cs
+++ b/HearthWatcher.Test/LogLineTests.cs
@@ -1,13 +1,13 @@
using System;
using System.Linq;
using System.Threading;
-using Hearthstone_Deck_Tracker.LogReader;
+using HearthWatcher.LogReader;
using Microsoft.VisualStudio.TestTools.UnitTesting;
-namespace HDTTests.LogReader
+namespace HearthWatcher.Test
{
[TestClass]
- public class LogLineItemTests
+ public class LogLineTests
{
[TestMethod]
public void TimeStampTest()
@@ -17,7 +17,7 @@ public void TimeStampTest()
"D 00:06:10.0000000 GameState",
"D 00:06:10.0010000 GameState",
"D 00:06:10 GameState.DebugPrintPower() - tag=ZONE value=PLAY"
- }.Select(x => new LogLineItem("Power", x)).ToArray();
+ }.Select(x => new LogLine("Power", x)).ToArray();
Assert.AreEqual(lines[0].Time, lines[2].Time);
Assert.IsTrue(lines[1].Time > lines[2].Time);
}
@@ -26,7 +26,7 @@ public void TimeStampTest()
public void LineContentTest()
{
const string line = "D 00:06:10.0010000 GameState.DebugPrintPower() - tag=ZONE value=PLAY";
- var lineItem = new LogLineItem("Power", line);
+ var lineItem = new LogLine("Power", line);
Assert.AreEqual("D " + lineItem.Time.ToString("HH:mm:ss.fffffff") + " " + lineItem.LineContent, line);
}
@@ -36,7 +36,7 @@ public void DayRolloverTest()
if(DateTime.Now.AddSeconds(5).Date > DateTime.Now.Date)
Thread.Sleep(5000);
const string line = "D 23:59:59.9999999 GameState.DebugPrintPower() - tag=ZONE value=PLAY";
- var lineItem = new LogLineItem("Power", line);
+ var lineItem = new LogLine("Power", line);
Assert.AreEqual(lineItem.Time.Date, DateTime.Now.Date.AddDays(-1));
}
}