Updated to latest TestTools module
MODIFY
EssentialCSharp.sln
EssentialCSharp.sln
@@ -18,7 +18,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Shared", "Shared", "{91698F
src\Shared\Program.cs = src\Shared\Program.cs
EndProjectSection
EndProject
-Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "submodules", "src\submodules", "{731AAC54-C91A-4D8D-ABB5-1472B6EFCC36}"
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "submodules", "submodules", "{731AAC54-C91A-4D8D-ABB5-1472B6EFCC36}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "IntelliTect.TestTools.Console", "src\submodules\TestTools\IntelliTect.TestTools.Console\IntelliTect.TestTools.Console.csproj", "{210FAD29-2D8B-46D5-9F62-2BACD00D4A2C}"
EndProject

MODIFY
src/Chapter15.Tests/Listing15.12.ProjectionWithSystem.Linq.Enumerable.Select.Tests.cs
src/Chapter15.Tests/Listing15.12.ProjectionWithSystem.Linq.Enumerable.Select.Tests.cs
@@ -31,7 +31,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter15.Listing15_12.Tests
});
IEnumerable<string> outputItems = output.Split(
- new string[] { Environment.NewLine }, StringSplitOptions.None);
+ new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
Assert.AreEqual<int>(
expectedItemCount, outputItems.Count());

MODIFY
src/Chapter15.Tests/Listing15.13.ProjectionToTuple.Tests.cs
src/Chapter15.Tests/Listing15.13.ProjectionToTuple.Tests.cs
@@ -23,7 +23,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter15.Listing15_13.Tests
});
IEnumerable<string> outputItems = output.Split(
- new string[] { Environment.NewLine }, StringSplitOptions.None);
+ new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
Assert.AreEqual(expectedItemCount, outputItems.Count());
foreach (string item in outputItems)

MODIFY
src/Chapter15.Tests/Listing15.14.ExecutingLinqQueriesInParallel.Tests.cs
src/Chapter15.Tests/Listing15.14.ExecutingLinqQueriesInParallel.Tests.cs
@@ -22,7 +22,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter15.Listing15_14.Tests
});
IEnumerable<string> outputItems = output.Split(
- new string[] { Environment.NewLine }, StringSplitOptions.None);
+ new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
Assert.AreEqual(expectedItemCount, outputItems.Count());
foreach (string item in outputItems)

MODIFY
src/Chapter15.Tests/Listing15.27.ProjectionToAnAnonymousType.Tests.cs
src/Chapter15.Tests/Listing15.27.ProjectionToAnAnonymousType.Tests.cs
@@ -30,7 +30,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter15.Listing15_27.Tests
});
IEnumerable<string> outputItems = output.Split(
- new string []{Environment.NewLine}, StringSplitOptions.None);
+ new string []{Environment.NewLine}, StringSplitOptions.RemoveEmptyEntries);
Assert.AreEqual(expectedItemCount, outputItems.Count());
foreach (string item in outputItems)

MODIFY
src/Chapter16.Tests/Listing16.07.SortingUsingAQueryExpressionWithAnOrderbyClause.Tests.cs
src/Chapter16.Tests/Listing16.07.SortingUsingAQueryExpressionWithAnOrderbyClause.Tests.cs
@@ -28,7 +28,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_07.Tests
Program.Main();
});
- IEnumerable<string> outputItems = output.Split('\n');
+ IEnumerable<string> outputItems = output.Split('\n',System.StringSplitOptions.RemoveEmptyEntries);
Assert.AreEqual(expectedItemCount, outputItems.Count());
foreach (string item in outputItems)

MODIFY
src/Chapter16.Tests/Listing16.08.ProjectingAFileInfoCollectionAndSortingByFileSize.Tests.cs
src/Chapter16.Tests/Listing16.08.ProjectingAFileInfoCollectionAndSortingByFileSize.Tests.cs
@@ -30,7 +30,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_08.Tests
});
IEnumerable<string> outputItems = output.Split(
- new string[] { Environment.NewLine }, StringSplitOptions.None);
+ new string[] { Environment.NewLine }, StringSplitOptions.RemoveEmptyEntries);
Assert.AreEqual(expectedItemCount, outputItems.Count());
foreach (string item in outputItems)

MODIFY
src/submodules/TestTools
src/submodules/TestTools
-Subproject commit d6f8b22af76522d42d7e18839419ab822f36b54a
+Subproject commit a8bd9d51efe7f19c91e8b99cb164446dbf74a63c

Updated to latest TestTools module