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

Method TestBackTraceView

util/system/backtrace_ut.cpp:74–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72 }
73
74 void TestBackTraceView() {
75 try {
76 throw TWithBackTrace<yexception>();
77 } catch (const yexception& e) {
78 const TBackTrace bt = *e.BackTrace();
79 const TBackTraceView btView = bt;
80 UNIT_ASSERT_VALUES_EQUAL(btView.size(), bt.size());
81 }
82 }
83};
84
85UNIT_TEST_SUITE_REGISTRATION(TBackTraceTest);

Callers

nothing calls this directly

Calls 2

BackTraceMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected