MCPcopy Create free account
hub / github.com/apache/impala / SetUp

Method SetUp

be/src/runtime/row-batch-serialize-test.cc:58–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56 TQueryOptions dummy_query_opts_;
57
58 virtual void SetUp() {
59 test_env_.reset(new TestEnv);
60 ASSERT_OK(test_env_->Init());
61 tracker_.reset(new MemTracker());
62 char_mem_tracker_allocator_.reset(new CharMemTrackerAllocator(tracker_));
63 ASSERT_OK(test_env_->CreateQueryState(1234, &dummy_query_opts_, &runtime_state_));
64 }
65
66 virtual void TearDown() {
67 pool_.Clear();

Callers

nothing calls this directly

Calls 3

resetMethod · 0.65
InitMethod · 0.45
CreateQueryStateMethod · 0.45

Tested by

no test coverage detected