| 14 | namespace test { |
| 15 | |
| 16 | class OpenAIEmbeddingsTest : public OpenAITestFixture { |
| 17 | protected: |
| 18 | void SetUp() override { |
| 19 | OpenAITestFixture::SetUp(); |
| 20 | client_ = |
| 21 | std::make_unique<ai::openai::OpenAIClient>(kTestApiKey, kTestBaseUrl); |
| 22 | } |
| 23 | |
| 24 | void TearDown() override { |
| 25 | client_.reset(); |
| 26 | OpenAITestFixture::TearDown(); |
| 27 | } |
| 28 | |
| 29 | std::unique_ptr<ai::openai::OpenAIClient> client_; |
| 30 | }; |
| 31 | |
| 32 | // EmbeddingOptions Constructor and Validation Tests |
| 33 | TEST_F(OpenAIEmbeddingsTest, EmbeddingOptionsDefaultConstructor) { |
nothing calls this directly
no outgoing calls
no test coverage detected