Skip to content

Commit

Permalink
Suppress warnings from analyzers in unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio0694 committed Dec 11, 2022
1 parent 7d4ef91 commit 98a5233
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

using CommunityToolkit.Mvvm.ComponentModel;

#pragma warning disable MVVMTK0033

namespace CommunityToolkit.Mvvm.ExternalAssembly;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

using CommunityToolkit.Mvvm.ComponentModel;

#pragma warning disable MVVMTK0032

namespace CommunityToolkit.Mvvm.ExternalAssembly;

/// <summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
using CommunityToolkit.Mvvm.ComponentModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;

#pragma warning disable MVVMTK0032

namespace CommunityToolkit.Mvvm.UnitTests;

[TestClass]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
using CommunityToolkit.Mvvm.ComponentModel;
using Microsoft.VisualStudio.TestTools.UnitTesting;

#pragma warning disable MVVMTK0033

namespace CommunityToolkit.Mvvm.UnitTests;

[TestClass]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Reflection;
#if NET6_0_OR_GREATER
using System.Runtime.CompilerServices;
#endif
using System.Text.Json.Serialization;
using System.Threading.Tasks;
using System.Xml.Serialization;
Expand All @@ -19,6 +21,8 @@
using CommunityToolkit.Mvvm.Messaging.Messages;
using Microsoft.VisualStudio.TestTools.UnitTesting;

#pragma warning disable MVVMTK0032, MVVMTK0033

namespace CommunityToolkit.Mvvm.UnitTests;

[TestClass]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
using CommunityToolkit.Mvvm.Messaging;
using Microsoft.VisualStudio.TestTools.UnitTesting;

#pragma warning disable MVVMTK0033

namespace CommunityToolkit.Mvvm.UnitTests;

[TestClass]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
using CommunityToolkit.Mvvm.Input;
using Microsoft.VisualStudio.TestTools.UnitTesting;

#pragma warning disable MVVMTK0032

namespace CommunityToolkit.Mvvm.UnitTests;

/// <summary>
Expand Down

0 comments on commit 98a5233

Please sign in to comment.