Skip to content

Commit

Permalink
chore: Normalize namespace for RulesTests project (#559)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaveTryon committed Mar 29, 2021
1 parent c1ab7b6 commit 4fc19c3
Show file tree
Hide file tree
Showing 100 changed files with 119 additions and 119 deletions.
4 changes: 2 additions & 2 deletions src/RulesTest/AllRules.test.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
using Axe.Windows.Rules;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace RulesTests
namespace Axe.Windows.RulesTests
{
[TestClass]
public class AllRules
{
[TestMethod]
public void AllRulesHaveErrorCode()
{
foreach (var rule in Rules.All.Values)
foreach (var rule in Rules.Rules.All.Values)
Assert.AreNotEqual(EvaluationCode.NotSet, rule.ErrorCode);
}
} // class
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Conditions/AndConditionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Rules;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Conditions
namespace Axe.Windows.RulesTests.Conditions
{
[TestClass]
public class AndConditionTest
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Conditions/ConditionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Rules;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Conditions
namespace Axe.Windows.RulesTests.Conditions
{
[TestClass]
public class ConditionTest
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Conditions/ControlTypeConditionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Rules;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Conditions
namespace Axe.Windows.RulesTests.Conditions
{
[TestClass]
public class ControlTypeConditionTest
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Conditions/NotConditionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Rules;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Conditions
namespace Axe.Windows.RulesTests.Conditions
{
[TestClass]
public class NotConditionTest
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Conditions/OrConditionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Rules;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Conditions
namespace Axe.Windows.RulesTests.Conditions
{
[TestClass]
public class OrConditionTest
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Conditions/PatternConditionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace Axe.Windows.RulesTest.Conditions
namespace Axe.Windows.RulesTests.Conditions
{
[TestClass]
public class PatternConditionTest
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Conditions/TreeDescentConditionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using static Axe.Windows.Rules.PropertyConditions.ControlType;
using Condition = Axe.Windows.Rules.Condition;

namespace Axe.Windows.RulesTest.Conditions
namespace Axe.Windows.RulesTests.Conditions
{
[TestClass]
public class TreeDescentConditionTest
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/ControlType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Linq;
using System.Reflection;

namespace Axe.Windows.RulesTest
namespace Axe.Windows.RulesTests
{
static class ControlType
{
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Extensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System.Collections.Generic;
using System.Linq;

namespace Axe.Windows.RulesTest
namespace Axe.Windows.RulesTests
{
static class Extensions
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Drawing;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class BoundingRectangleCompletelyObscuresContainerTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using static Axe.Windows.RulesTest.ControlType;
using static Axe.Windows.RulesTests.ControlType;


namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class BoundingRectangleContainedInParentTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Axe.Windows.Core.Types;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class BoundingRectangleDataFormatCorrectTest
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Library/BoundingRectangleNotAllZerosTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Drawing;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class BoundingRectangleNotAllZerosTest
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Library/BoundingRectangleNotNullTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Drawing;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class BoundingRectangleNotNullTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class BoundingRectangleNotValidButOffScreenTest
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Library/BoundingRectangleOnUWPMenuBarTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Drawing;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class BoundingRectangleOnUWPMenuBarTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Drawing;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class BoundingRectangleOnUWPMenuItemTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Drawing;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class BoundingRectangleOnWPFTextParentTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using System;
using System.Drawing;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class BoundingRectangleSizeReasonableTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Core.Types;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ButtonInvokeAndExpandCollapsePatterns
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Library/ButtonInvokeAndTogglePatterns.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Core.Types;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ButtonInvokeAndTogglePatterns
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Library/ButtonPatterns.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Core.Types;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ButtonPatterns
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Core.Types;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ButtonToggleAndExpandCollapsePatterns
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Library/ClickablePointOffScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Moq;
using System.Drawing;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ClickablePointOffScreenTests
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Library/ClickablePointOnScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Moq;
using System.Drawing;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ClickablePointOnScreenTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
[TestCategory("Axe.Windows.Rules")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Core.Enums;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
[TestCategory("Axe.Windows.Rules")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
[TestCategory("Axe.Windows.Rules")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System;
using System.Linq;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ControlShouldNotSupportTablePattern
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Core.Types;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ControlShouldSupportExpandCollapsePattern
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Library/ControlShouldSupportGridPattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using System.Diagnostics;
using UIAutomationClient;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ControlShouldSupportGridPattern
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
[TestCategory("Axe.Windows.Rules")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
[TestCategory("Axe.Windows.Rules")]
Expand Down
4 changes: 2 additions & 2 deletions src/RulesTest/Library/ControlShouldSupportTablePattern.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
using Axe.Windows.Core.Bases;
using Axe.Windows.Core.Enums;
using Axe.Windows.Core.Types;
using Axe.Windows.RulesTest;
using Axe.Windows.RulesTests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ControlShouldSupportTablePattern
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
using Axe.Windows.Core.Bases;
using Axe.Windows.Core.Enums;
using Axe.Windows.Core.Types;
using Axe.Windows.RulesTest;
using Axe.Windows.RulesTests;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ControlShouldSupportTablePatternInEdge
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class ControlShouldSupportTextPatternUnitTests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Axe.Windows.Core.Types;
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class HeadingLevelDescendsWhenNestedTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using static Axe.Windows.RulesTest.ControlType;
using static Axe.Windows.RulesTests.ControlType;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class HelpTextExcludesPrivateUnicodeCharactersUnitTests
Expand Down
2 changes: 1 addition & 1 deletion src/RulesTest/Library/HyperlinkNameShouldBeUniqueTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Drawing;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class HyperlinkNameShouldBeUniqueTest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.VisualStudio.TestTools.UnitTesting;

namespace Axe.Windows.RulesTest.Library
namespace Axe.Windows.RulesTests.Library
{
[TestClass]
public class IsKeyboardFocusableOnEmptyContainer
Expand Down

0 comments on commit 4fc19c3

Please sign in to comment.