refactor: remove reflection dos testes de cobertura#105
Conversation
Co-Authored-By: Afonso Dutra Nogueira Filho <[email protected]>
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
|
Qodana Community for .NET10 new problems were found
💡 Qodana analysis was run in the pull request mode: only the changed files were checked View the detailed Qodana reportTo be able to view the detailed Qodana report, you can either:
To get - name: 'Qodana Scan'
uses: JetBrains/[email protected]
with:
upload-result: trueContact Qodana teamContact us at [email protected]
|



All Submissions:
New Feature Submissions:
Changes to Core Features:
Summary
Refatora os testes adicionados no PR #104 para eliminar
System.Reflection.BindingFlagse tornar os métodos testadosinternalem vez deprivate.Mudanças:
<InternalsVisibleTo Include="..." />emMetar.Decoder.csprojeTaf.Decoder.csprojinternalos métodos:MetarDecoder.ApplyDecodedDataTafDecoder.ApplyDecodedDataRunwayVisualRangeChunkDecoder.ToValueEvolutionChunkDecoder.ParseEntitiesChunk,ApplyDecodedChunk,ResolveEntityName,HandleDecodeFailure,AddEvolution,InstantiateEntityMotivação:
Evita acoplamento frágil a nomes de métodos privados e facilita manutenção futura.
Validação
dotnet build MetarDecoder.sln --configuration ReleaseOKdotnet test tests/Metar.Decoder.Tests/net8.0/net10.0 — 244/244 passandodotnet test tests/Taf.Decoder.Tests/net8.0/net10.0 — 200/200 passandoLink to Devin session: https://app.devin.ai/sessions/94a258020ea4488c8eecc672035d0da1
Requested by: @afonsoft