rearranged chapter 3 tests to match current sequence
RENAME
src/Chapter03.Tests/Listing03.04.WorkingWithStrings.cs
src/Chapter03.Tests/Listing03.02.WorkingWithStrings.cs
@@ -3,7 +3,7 @@ using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_04
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_02
{
[TestClass]
public class UppercaseTests
@@ -15,7 +15,7 @@ namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_04
async public Task UnassignedVariableThrowsError()
{
CompileError[] compileErrors = await CompilerAssert.ExpectErrorsInFileAsync(
- "Listing03.01B.DereferencingAnUnassignedVariable.cs",
+ "Listing03.02.DereferencingAnUnassignedVariable.cs",
new CompileError("CS0165: Use of unassigned local variable 'text'"));
}
}

RENAME
src/Chapter03.Tests/Listing03.02.Tests.cs
src/Chapter03.Tests/Listing03.04.Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_02.Tests
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_04.Tests
{
[TestClass]
public class UppercaseTests

RENAME
src/Chapter03.Tests/Listing03.25.UsingLengthMinus1InTheArrayIndex.cs
src/Chapter03.Tests/Listing03.05.ImplicitLocalVariablesWithAnonymousTypes.Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_25
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_05
+
{
[TestClass]
public class ProgramTests

RENAME
src/Chapter03.Tests/Listing03.22.Tests.cs
src/Chapter03.Tests/Listing03.23.Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_22.Tests
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_23.Tests
{
[TestClass]
public class ProgramTests

RENAME
src/Chapter03.Tests/Listing03.30.LookingForCommandlineOptionsSimplified.cs
src/Chapter03.Tests/Listing03.26.Slicing.Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_30
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_26
{
[TestClass]
public class ProgramTests

RENAME
src/Chapter03.Tests/Listing03.31.ReversingAString.cs
src/Chapter03.Tests/Listing03.27.AdditionalArrayMethods.Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_31
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_27
{
[TestClass]
public class ProgramTests

RENAME
src/Chapter03.Tests/Listing03.26.Tests.cs
src/Chapter03.Tests/Listing03.28.Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_26.Tests
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_28.Tests
{
[TestClass]
public class ProgramTests

RENAME
src/Chapter03.Tests/Listing03.29.Tests.cs
src/Chapter03.Tests/Listing03.31.Tests.cs
using Microsoft.VisualStudio.TestTools.UnitTesting;
-namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_29.Tests
+namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_31.Tests
{
[TestClass]
public class PalindromeTests

MODIFY
src/Chapter03/Chapter03.csproj
src/Chapter03/Chapter03.csproj
<Import Project="..\Chapter.props" />
<ItemGroup>
<Compile Remove="Listing03.01B.DereferencingAnUnassignedVariable.cs" />
+ <Compile Remove="Listing03.02.DereferencingAnUnassignedVariable.cs" />
<Compile Remove="Listing03.03.EnablingNullableProjectWide-PlaceHolderFile.cs" />
</ItemGroup>
<ItemGroup>
</Compile>
</ItemGroup>
<ItemGroup>
- <None Include="Listing03.01B.DereferencingAnUnassignedVariable.cs">
+ <None Include="Listing03.02.DereferencingAnUnassignedVariable.cs">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Listing03.03.EnablingNullableProjectWide-PlaceHolderFile.cs" />

MODIFY
src/Chapter03/Listing03.02.DereferencingAnUnassignedVariable.cs
src/Chapter03/Listing03.02.DereferencingAnUnassignedVariable.cs
-// namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_01B
+//namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_02
//{
public class Program
{

rearranged chapter 3 tests to match current sequence