MCPcopy Create free account
hub / github.com/ClickHouse/ai-sdk-cpp / MockStreamImpl

Class MockStreamImpl

tests/unit/openai_stream_test.cpp:94–101  ·  view source on GitHub ↗

Mock Stream Implementation Tests

Source from the content-addressed store, hash-verified

92
93// Mock Stream Implementation Tests
94class MockStreamImpl {
95 public:
96 MOCK_METHOD(bool, is_active, (), (const));
97 MOCK_METHOD(void, start, (), ());
98 MOCK_METHOD(void, stop, (), ());
99 MOCK_METHOD(std::string, read_next, (), ());
100 MOCK_METHOD(bool, has_next, (), (const));
101};
102
103class StreamMockTest : public OpenAITestFixture {};
104

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected