aboutsummaryrefslogtreecommitdiff
path: root/Timeline.Tests/GlobalSuppressions.cs
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-10-24 19:57:59 +0800
committer杨宇千 <crupest@outlook.com>2019-10-24 19:57:59 +0800
commit280faac75b113d9a4bbecd7e4ea3499f1691ce61 (patch)
treeb8ddc07077f9ac767a27f811db4f20ba88cc5087 /Timeline.Tests/GlobalSuppressions.cs
parentc324d1dad0ffc1a1013b22792078415e7a50c470 (diff)
downloadtimeline-280faac75b113d9a4bbecd7e4ea3499f1691ce61.tar.gz
timeline-280faac75b113d9a4bbecd7e4ea3499f1691ce61.tar.bz2
timeline-280faac75b113d9a4bbecd7e4ea3499f1691ce61.zip
...
Diffstat (limited to 'Timeline.Tests/GlobalSuppressions.cs')
-rw-r--r--Timeline.Tests/GlobalSuppressions.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline.Tests/GlobalSuppressions.cs b/Timeline.Tests/GlobalSuppressions.cs
index 2191a5c4..1d1d294b 100644
--- a/Timeline.Tests/GlobalSuppressions.cs
+++ b/Timeline.Tests/GlobalSuppressions.cs
@@ -5,10 +5,10 @@
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Reliability", "CA2007:Consider calling ConfigureAwait on the awaited task", Justification = "This is not a UI application.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1707:Identifiers should not contain underscores", Justification = "Tests name have underscores.")]
+[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1031:Do not catch general exception types", Justification = "Test may catch all exceptions.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1034:Nested types should not be visible", Justification = "Test classes can be nested.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1062:Validate arguments of public methods", Justification = "This is redundant.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Design", "CA1063:Implement IDisposable Correctly", Justification = "Test classes do not need to implement it that way.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA1816:Dispose methods should call SuppressFinalize", Justification = "Test classes do not need to implement it that way.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Usage", "CA2234:Pass system uri objects instead of strings", Justification = "I really don't understand this rule.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage("Globalization", "CA1303:Do not pass literals as localized parameters", Justification = "Tests do not need make strings resources.")]
-