MCPcopy Create free account
hub / github.com/bytedance/bolt / SetUpTestCase

Method SetUpTestCase

bolt/tool/trace/tests/TraceFileToolTest.cpp:68–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66class TraceFileToolTest : public HiveConnectorTestBase {
67 protected:
68 static void SetUpTestCase() {
69 memory::MemoryManager::testingSetInstance(memory::MemoryManager::Options{});
70 HiveConnectorTestBase::SetUpTestCase();
71 filesystems::registerLocalFileSystem();
72 if (!isRegisteredVectorSerde()) {
73 serializer::presto::PrestoVectorSerde::registerVectorSerde();
74 }
75 Type::registerSerDe();
76 common::Filter::registerSerDe();
77 connector::hive::HiveTableHandle::registerSerDe();
78 connector::hive::LocationHandle::registerSerDe();
79 connector::hive::HiveColumnHandle::registerSerDe();
80 connector::hive::HiveInsertTableHandle::registerSerDe();
81 connector::hive::HiveConnectorSplit::registerSerDe();
82 core::PlanNode::registerSerDe();
83 core::ITypedExpr::registerSerDe();
84 registerPartitionFunctionSerDe();
85 }
86
87 void TearDown() override {
88 probeInput_.clear();

Callers

nothing calls this directly

Calls 4

registerLocalFileSystemFunction · 0.85
isRegisteredVectorSerdeFunction · 0.85
registerVectorSerdeFunction · 0.85

Tested by

no test coverage detected