Unit tests for the Index class, verifying staging area management, file modification tracking, and index persistence.
More...
|
|
void | svcs::test::core::create_test_file (const fs::path &path, const std::string &content) |
|
| svcs::test::core::TEST_F (IndexTest, BasicFileOperations) |
|
| svcs::test::core::TEST_F (IndexTest, StageNewFile_AddsCorrectEntry) |
|
| svcs::test::core::TEST_F (IndexTest, StageFile_ThrowsOnNonExistentFile) |
|
| svcs::test::core::TEST_F (IndexTest, IsFileModified_False_WhenNoChange) |
|
| svcs::test::core::TEST_F (IndexTest, IsFileModified_True_WhenSizeChanges) |
|
| svcs::test::core::TEST_F (IndexTest, IsFileModified_True_WhenFileDeleted) |
|
| svcs::test::core::TEST_F (IndexTest, IsFileModified_True_WhenUntrackedExists) |
|
| svcs::test::core::TEST_F (IndexTest, Persistence_SaveAndLoad) |
Unit tests for the Index class, verifying staging area management, file modification tracking, and index persistence.
- Copyright
- Copyright 2025 LogosITO Licensed under MIT-License