Skip to content

Commit 3c96186

Browse files
committed
refactor: Rename IntegrationTests to Tests and add tests
Move integration test project and assets from FirmwareKit.Sparse.IntegrationTests to FirmwareKit.Sparse.Tests, updating the solution project reference accordingly. Replace the old SparseImageUtilsTests with a new, expanded test file that adds many additional unit/integration cases (CRC, error handling, extraction with CSV mapping, offsets, and edge cases). Update XML documentation/comments in SparseFile.cs and include a small tmpcrc utility project (tmpcrc/Program.cs and csproj). Many test asset files (simg.simg and split parts) were relocated to the new Tests folder. Signed-off-by: Killy Jack <zicai@openatom.club>
1 parent f44282c commit 3c96186

75 files changed

Lines changed: 997 additions & 226 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

FirmwareKit.Sparse.IntegrationTests/SparseImageUtilsTests.cs

Lines changed: 0 additions & 87 deletions
This file was deleted.

FirmwareKit.Sparse.IntegrationTests/CompatibilityAndDataProviderTests.cs renamed to FirmwareKit.Sparse.Tests/CompatibilityAndDataProviderTests.cs

File renamed without changes.

FirmwareKit.Sparse.IntegrationTests/FileDataProviderTests.cs renamed to FirmwareKit.Sparse.Tests/FileDataProviderTests.cs

File renamed without changes.

FirmwareKit.Sparse.IntegrationTests/FirmwareKit.Sparse.Tests.csproj renamed to FirmwareKit.Sparse.Tests/FirmwareKit.Sparse.Tests.csproj

File renamed without changes.

FirmwareKit.Sparse.IntegrationTests/ResparseSplitFilesTests.cs renamed to FirmwareKit.Sparse.Tests/ResparseSplitFilesTests.cs

File renamed without changes.

FirmwareKit.Sparse.IntegrationTests/SparseExtendedHeaderTests.cs renamed to FirmwareKit.Sparse.Tests/SparseExtendedHeaderTests.cs

File renamed without changes.

FirmwareKit.Sparse.IntegrationTests/SparseFileIntegrationTests.cs renamed to FirmwareKit.Sparse.Tests/SparseFileIntegrationTests.cs

File renamed without changes.

FirmwareKit.Sparse.IntegrationTests/SparseImageConverterTests.cs renamed to FirmwareKit.Sparse.Tests/SparseImageConverterTests.cs

File renamed without changes.

0 commit comments

Comments
 (0)