|
SVCS - English Documentation
|
Google Tests for RemoteProtocol class. More...
#include <gtest/gtest.h>#include <iostream>#include <sstream>#include <filesystem>#include <fstream>#include <algorithm>#include <memory>#include "../../server/include/RemoteProtocol.hxx"#include "../../services/ISubject.hxx"#include "../../services/IObserver.hxx"#include "../../services/Event.hxx"#include "../../core/include/RepositoryManager.hxx"Classes | |
| class | svcs::test::server::MockEventBus |
| class | svcs::test::server::MockRepositoryManager |
| class | svcs::test::server::RemoteProtocolTest |
| class | svcs::test::server::RemoteProtocolIntegrationTest |
Namespaces | |
| namespace | svcs::test |
| Comprehensive testing framework for SVCS version control system. | |
| namespace | svcs::test::server |
| Server component testing. | |
Functions | |
| svcs::test::server::TEST_F (RemoteProtocolTest, Construction) | |
| svcs::test::server::TEST_F (RemoteProtocolTest, ValidationMethods) | |
| svcs::test::server::TEST_F (RemoteProtocolTest, ObjectManagement) | |
| svcs::test::server::TEST_F (RemoteProtocolTest, EventNotifications) | |
| svcs::test::server::TEST_F (RemoteProtocolIntegrationTest, SimpleProtocolCommunication) | |
| svcs::test::server::TEST_F (RemoteProtocolIntegrationTest, StreamErrorConditions) | |
| svcs::test::server::TEST_F (RemoteProtocolTest, ErrorHandling) | |
| svcs::test::server::TEST_F (RemoteProtocolTest, RepositoryValidation) | |
| svcs::test::server::TEST_F (RemoteProtocolTest, ValidationPerformance) | |
| int | main (int argc, char **argv) |
Google Tests for RemoteProtocol class.
This file contains comprehensive unit tests for the RemoteProtocol class, verifying network communication, protocol message serialization/deserialization, error handling, and connection management with remote repositories.
The tests cover:
Mock network components are used to simulate various network conditions and edge cases without requiring actual network connectivity.