MCPcopy Create free account
hub / github.com/catboost/catboost / AddTest

Method AddTest

library/cpp/testing/unittest/gtest.cpp:49–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 }
48
49 void AddTest(const char* name, void (*body)(TTestContext&), bool forceFork) override {
50 Test.Tests.push_back(TBaseTestCase(name, body, forceFork));
51 }
52
53 TCurrentTest Test;
54 };

Callers

nothing calls this directly

Calls 2

TBaseTestCaseClass · 0.85
push_backMethod · 0.45

Tested by

no test coverage detected