Skip to content

Commit

Permalink
Update SquiggleCop baselines
Browse files Browse the repository at this point in the history
  • Loading branch information
MattKotsenas committed Oct 2, 2024
1 parent 33d8799 commit b4bc2ec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/Moq.Analyzers.Test/SquiggleCop.Baseline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1646,6 +1646,7 @@
- {Id: xUnit1048, Title: Avoid using 'async void' for test methods as it is deprecated in xUnit.net v3, Category: Usage, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit1049, Title: Do not use 'async void' for test methods as it is no longer supported, Category: Usage, DefaultSeverity: Error, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit1050, Title: The class referenced by the ClassData attribute returns untyped data rows, Category: Usage, DefaultSeverity: Note, IsEnabledByDefault: true, EffectiveSeverities: [Note], IsEverSuppressed: false}
- {Id: xUnit1051, Title: Calls to methods which accept CancellationToken should use TestContext.Current.CancellationToken, Category: Usage, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit2000, Title: Constants and literals should be the expected argument, Category: Assertions, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit2001, Title: Do not use invalid equality check, Category: Assertions, DefaultSeverity: Note, IsEnabledByDefault: true, EffectiveSeverities: [Note], IsEverSuppressed: true}
- {Id: xUnit2002, Title: Do not use null check on value type, Category: Assertions, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
Expand Down Expand Up @@ -1674,6 +1675,9 @@
- {Id: xUnit2026, Title: Comparison of sets must be done with IEqualityComparer, Category: Assertions, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit2027, Title: Comparison of sets to linear containers have undefined results, Category: Assertions, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit2028, Title: Do not use Assert.Empty or Assert.NotEmpty with problematic types, Category: Assertions, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit2029, Title: Do not use Empty() to check if a value does not exist in a collection, Category: Assertions, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit2029, Title: Do not use Assert.Empty to check if a value does not exist in a collection, Category: Assertions, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit2030, Title: Do not use Assert.NotEmpty to check if a value exists in a collection, Category: Assertions, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit2031, Title: Do not use Where clause with Assert.Single, Category: Assertions, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit3000, Title: Classes which cross AppDomain boundaries must derive directly or indirectly from LongLivedMarshalByRefObject, Category: Extensibility, DefaultSeverity: Error, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit3001, Title: Classes that implement Xunit.Abstractions.IXunitSerializable must have a public parameterless constructor, Category: Extensibility, DefaultSeverity: Error, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit3001, Title: Classes that are marked as serializable must have a public parameterless constructor, Category: Extensibility, DefaultSeverity: Error, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}
- {Id: xUnit3002, Title: Classes which are JSON serializable should not be tested for their concrete type, Category: Extensibility, DefaultSeverity: Warning, IsEnabledByDefault: true, EffectiveSeverities: [Error], IsEverSuppressed: false}

0 comments on commit b4bc2ec

Please sign in to comment.