SVCS - English Documentation
Loading...
Searching...
No Matches
IntUndoCommandTest.hxx File Reference

Test fixture header for integration tests of the UndoCommand class. More...

#include <gtest/gtest.h>
#include <memory>
#include <vector>
#include <string>
#include <filesystem>
#include "../../../cli/include/UndoCommand.hxx"
#include "../mocks/MockSubject.hxx"

Go to the source code of this file.

Classes

class  svcs::test::cli::utils::UndoCommandTest
 Google Test fixture for running integration tests against the UndoCommand. More...
class  svcs::test::cli::utils::UndoCommand
 Command to revert the repository state to a previous commit. More...

Namespaces

namespace  svcs::test::cli::utils
 Utility classes and test fixtures for CLI command testing.
namespace  svcs::test
 Comprehensive testing framework for SVCS version control system.
namespace  svcs::test::cli
 Unit tests for command-line interface components.

Detailed Description

Test fixture header for integration tests of the UndoCommand class.

Declares the UndoCommandTest fixture, which sets up a controlled environment for testing the 'svcs undo' command. This includes initializing mock and core components (MockSubject, RepositoryManager) and providing helper functions for file manipulation, staging, committing, and simulating user input for confirmation prompts.