Skip to content

[WIP] Update Registry Code #286

[WIP] Update Registry Code

[WIP] Update Registry Code #286

Triggered via pull request October 20, 2024 19:43
Status Failure
Total duration 5m 1s
Artifacts

test.yml

on: pull_request
Matrix: Build & Test
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 20 warnings
AnakinRaW.CommonUtilities.Registry.Test.WindowsRegistryTests.DeleteKey_Recursive_ResolvedSelfShouldThrowOnSystemKey
Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(System.UnauthorizedAccessException) Actual: typeof(System.ArgumentException) ---- System.ArgumentException : Cannot delete a subkey tree because the subkey does not exist.
Build & Test (windows-latest)
Process completed with exit code 1.
Build & Test (ubuntu-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L17
Possible null reference argument for parameter 'source' in 'IEnumerable<object> Enumerable.Cast<object>(IEnumerable source)'.
Build & Test (ubuntu-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.
Build & Test (ubuntu-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.
Build & Test (ubuntu-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L36
Possible null reference argument for parameter 'source' in 'IEnumerable<object> Enumerable.Cast<object>(IEnumerable source)'.
Build & Test (ubuntu-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L42
Cannot convert null literal to non-nullable reference type.
Build & Test (ubuntu-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L42
Cannot convert null literal to non-nullable reference type.
Build & Test (ubuntu-latest): src/CommonUtilities.TestingUtilities/Collections/INonModifyingEnumerableTestSuite.cs#L371
The type 'T' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
Build & Test (ubuntu-latest): src/CommonUtilities.TestingUtilities/Collections/INonModifyingEnumerableTestSuite.cs#L372
The type 'T' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
Build & Test (ubuntu-latest): src/CommonUtilities.TestingUtilities/Collections/IReadOnlyListTestSuite.cs#L43
Theory method 'From_IEnumerable' on test class 'IReadOnlyListTestSuite' does not use parameter '__'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
Build & Test (ubuntu-latest): src/CommonUtilities.FileSystem/test/Validation/WindowsFileNameValidatorTest.cs#L37
Null should not be used for type parameter 'input' of type 'string'. Use a non-null value, or convert the parameter to a nullable type. (https://xunit.net/xunit.analyzers/rules/xUnit1012)
Build & Test (windows-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L17
Possible null reference argument for parameter 'source' in 'IEnumerable<object> Enumerable.Cast<object>(IEnumerable source)'.
Build & Test (windows-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.
Build & Test (windows-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.
Build & Test (windows-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L36
Possible null reference argument for parameter 'source' in 'IEnumerable<object> Enumerable.Cast<object>(IEnumerable source)'.
Build & Test (windows-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L42
Cannot convert null literal to non-nullable reference type.
Build & Test (windows-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L42
Cannot convert null literal to non-nullable reference type.
Build & Test (windows-latest): src/CommonUtilities.TestingUtilities/Collections/INonModifyingEnumerableTestSuite.cs#L371
The type 'T' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
Build & Test (windows-latest): src/CommonUtilities.TestingUtilities/Collections/INonModifyingEnumerableTestSuite.cs#L372
The type 'T' cannot be used as type parameter 'TKey' in the generic type or method 'Dictionary<TKey, TValue>'. Nullability of type argument 'T' doesn't match 'notnull' constraint.
Build & Test (windows-latest): src/CommonUtilities.TestingUtilities/Collections/IReadOnlyListTestSuite.cs#L43
Theory method 'From_IEnumerable' on test class 'IReadOnlyListTestSuite' does not use parameter '__'. Use the parameter, or remove the parameter and associated data. (https://xunit.net/xunit.analyzers/rules/xUnit1026)
Build & Test (windows-latest): src/CommonUtilities.TestingUtilities/CollectionAsserts.cs#L23
Cannot convert null literal to non-nullable reference type.