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

Method SetUp

cpp/src/arrow/util/cancel_test.cc:167–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

165class SignalCancelTest : public CancelTest {
166 public:
167 void SetUp() override {
168 // Setup a dummy signal handler to avoid crashing when receiving signal
169 guard_.emplace(expected_signal_, &noop_signal_handler);
170 ASSERT_OK_AND_ASSIGN(auto stop_source, SetSignalStopSource());
171 stop_token_ = stop_source->token();
172 }
173
174 void TearDown() override {
175 UnregisterCancellingSignalHandler();

Callers

nothing calls this directly

Calls 1

tokenMethod · 0.80

Tested by

no test coverage detected