Skip to content

Commit

Permalink
Merge pull request #220 from IntelliTect/UpdateTestsSuffix
Browse files Browse the repository at this point in the history
Update tests suffix
  • Loading branch information
BenjaminMichaelis authored Jan 4, 2022
2 parents efde4f2 + 43a0d9a commit 7dd269c
Show file tree
Hide file tree
Showing 102 changed files with 70 additions and 134 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.Diagnostics.CodeAnalysis;
using System.Threading.Tasks;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_02
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_02.Tests
{
[TestClass]
public class UppercaseTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_05
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_05.Tests

{
[TestClass]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_20
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_20.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_27
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_27.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_28
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter03.Listing03_28.Tests
{
[TestClass]
public class ProgramTests
Expand Down
2 changes: 1 addition & 1 deletion src/Chapter04.Tests/Listing04.34.Tests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_34
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_34.Tests
{
[TestClass]
public class ProgramTests
Expand Down
2 changes: 1 addition & 1 deletion src/Chapter04.Tests/Listing04.52.Tests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_52
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_52.Tests
{
[TestClass]
public class EmailDomainTests
Expand Down
2 changes: 1 addition & 1 deletion src/Chapter04.Tests/Listing04.53.Tests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_53
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_53.Tests
{
[TestClass]
public class EmailDomainTests
Expand Down
2 changes: 1 addition & 1 deletion src/Chapter04.Tests/Listing04.62.Tests.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_62
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter04.Listing04_62.Tests
{
[TestClass]
public class EmailDomainTests
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_36
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_36.Tests
{
[TestClass]
public class NullabilityAttributesExaminedTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_37
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_37.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_38
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_38.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_41
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_41.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_50
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter06.Listing06_50.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_09
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_09.Tests
{
[TestClass]
public class ContactTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_10
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_10.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_11
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_11.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_13
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_13.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_16
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_16.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_17
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_17.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_19
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_19.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using System.IO;
using System.Threading.Tasks;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_20
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_20.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_21
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_21.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_22
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_22.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_23
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_23.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_24
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter07.Listing07_24.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter08.Listing08_02
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter08.Listing08_02.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter08.Listing08_14
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter08.Listing08_14.Tests
{
[TestClass]
public class ProgramTests
Expand Down
6 changes: 2 additions & 4 deletions src/Chapter08.Tests/UndersandingAccessModifiers.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Reflection;
using System.Runtime.CompilerServices;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter08.UndersatndingAccessModifiers.Tests
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter08.UnderstandingAccessModifiers.Tests
{
// Justification: Use for example only.
#pragma warning disable IDE0051 // Remove unused private members
Expand Down Expand Up @@ -68,8 +68,6 @@ public class SubClass : Information
}
#pragma warning restore IDE0051 // Remove unused private members



static public class Thing
{
[MethodImpl(MethodImplOptions.NoInlining)]
Expand All @@ -87,7 +85,6 @@ public static string GetStackTrace()
return string.Join("=>", frames);
}


[TestClass]
public class AccessibilityModifierTests
{
Expand All @@ -112,6 +109,7 @@ public void InterfaceMethod2()
}),
information.CallConcreteInterfaceMethod2());
}

[TestMethod]
public void InterfaceMethod3()
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_04
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_04.Tests
{
[TestClass]
public class ProgramTests
{

[TestMethod]
[ExpectedException(typeof(InvalidCastException))]
public void AddToArrayIndexWithoutCasing()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_06
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_06.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_07
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_07.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_12
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_12.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_13
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_13.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using System.IO;
using System.Runtime.InteropServices;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_15
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_15.Tests
{
[TestClass]
public class ProgramTests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using System.Runtime.InteropServices;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_17
namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter09.Listing09_17.Tests
{
[TestClass]
public class ProgramTests
Expand Down
5 changes: 0 additions & 5 deletions src/Chapter10.Tests/CustomTestAttributes.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

namespace Chapter10.Tests.CustomTestAttributes
{

//Attributes from Matt Kotsenas. See https://matt.kotsenas.com/posts/ignoreif-mstest

/// <summary>
Expand Down Expand Up @@ -89,8 +88,4 @@ internal bool ShouldIgnore(ITestMethod testMethod)
}
}
}



}

1 change: 0 additions & 1 deletion src/Chapter16.Tests/Listing16.04.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_04.Tests
{

[TestClass]
public class ProgramTests
{
Expand Down
1 change: 0 additions & 1 deletion src/Chapter16.Tests/Listing16.05.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_05.Tests
{

[TestClass]
public class ProgramTests
{
Expand Down
1 change: 0 additions & 1 deletion src/Chapter16.Tests/Listing16.10.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_10.Tests
{

[TestClass]
public class ProgramTests
{
Expand Down
1 change: 0 additions & 1 deletion src/Chapter16.Tests/Listing16.11.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_11.Tests
{

[TestClass]
public class ProgramTests
{
Expand Down
2 changes: 0 additions & 2 deletions src/Chapter16.Tests/Listing16.12.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_12.Tests
{

[TestClass]
public class ProgramTests
{

[TestMethod]
public void SelectingFollowingGroupClause_UsingTuple()
{
Expand Down
1 change: 0 additions & 1 deletion src/Chapter16.Tests/Listing16.13.Tests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@

namespace AddisonWesley.Michaelis.EssentialCSharp.Chapter16.Listing16_13.Tests
{

[TestClass]
public class ProgramTests
{
Expand Down
Loading

0 comments on commit 7dd269c

Please sign in to comment.