Skip to content

Improve testing and do some cleanup

568e35a
Select commit
Loading
Failed to load commit list.
Open

Feat/set data by expression suggestions #1801

Improve testing and do some cleanup
568e35a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jun 10, 2026 in 56s

Annotations

Check warning on line 110 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC8&open=AZ6xHWUEBIK_UDFKJJC8&pullRequest=1801

Check warning on line 61 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQK&open=AZ6w9xSRNROvp09h1CQK&pullRequest=1801

Check warning on line 64 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQM&open=AZ6w9xSRNROvp09h1CQM&pullRequest=1801

Check warning on line 72 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC3&open=AZ6xHWUEBIK_UDFKJJC3&pullRequest=1801

Check warning on line 81 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQS&open=AZ6w9xSRNROvp09h1CQS&pullRequest=1801

Check warning on line 112 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC9&open=AZ6xHWUEBIK_UDFKJJC9&pullRequest=1801

Check warning on line 76 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQQ&open=AZ6w9xSRNROvp09h1CQQ&pullRequest=1801

Check warning on line 106 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC7&open=AZ6xHWUEBIK_UDFKJJC7&pullRequest=1801

Check warning on line 97 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC6&open=AZ6xHWUEBIK_UDFKJJC6&pullRequest=1801

Check warning on line 63 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC0&open=AZ6xHWUEBIK_UDFKJJC0&pullRequest=1801

Check warning on line 86 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQY&open=AZ6w9xSRNROvp09h1CQY&pullRequest=1801

Check warning on line 59 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQJ&open=AZ6w9xSRNROvp09h1CQJ&pullRequest=1801

Check warning on line 85 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQX&open=AZ6w9xSRNROvp09h1CQX&pullRequest=1801

Check warning on line 83 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC4&open=AZ6xHWUEBIK_UDFKJJC4&pullRequest=1801

Check failure on line 149 in src/Altinn.App.Core/Helpers/DataModel/DataModelWrapper.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6pKmoA1A3VsDXBd-uv&open=AZ6pKmoA1A3VsDXBd-uv&pullRequest=1801

Check warning on line 62 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJCz&open=AZ6xHWUEBIK_UDFKJJCz&pullRequest=1801

Check warning on line 65 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC1&open=AZ6xHWUEBIK_UDFKJJC1&pullRequest=1801

Check warning on line 78 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQR&open=AZ6w9xSRNROvp09h1CQR&pullRequest=1801

Check warning on line 60 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQZ&open=AZ6w9xSRNROvp09h1CQZ&pullRequest=1801

Check warning on line 68 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC2&open=AZ6xHWUEBIK_UDFKJJC2&pullRequest=1801

Check warning on line 89 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6w9xSRNROvp09h1CQV&open=AZ6w9xSRNROvp09h1CQV&pullRequest=1801

Check warning on line 84 in test/Altinn.App.SourceGenerator.Integration.Tests/UnitTest/TestGetResolvedKeys.cs

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer 'static readonly' fields over constant array arguments if the called method is called repeatedly and is not mutating the passed array

See more on https://sonarcloud.io/project/issues?id=Altinn_app-lib-dotnet&issues=AZ6xHWUEBIK_UDFKJJC5&open=AZ6xHWUEBIK_UDFKJJC5&pullRequest=1801