MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / SetUp

Method SetUp

env/env_test.cc:152–158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150class LibraryConfigTest : public testing::Test {
151 protected:
152 void SetUp() override {
153 env_.RegisterCompilerLibrary("testlib", "ml", 1,
154 []() { return TestLibrary(1); });
155 env_.RegisterCompilerLibrary("testlib", "ml", 2,
156 []() { return TestLibrary(2); });
157 env_.SetDescriptorPool(internal::GetSharedTestingDescriptorPool());
158 }
159
160 Env env_;
161};

Callers

nothing calls this directly

Calls 3

TestLibraryClass · 0.85
SetDescriptorPoolMethod · 0.45

Tested by

no test coverage detected