MCPcopy Create free account
hub / github.com/Geode-solutions/OpenGeode / test_exception

Function test_exception

tests/basic/test-assert.cpp:141–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void test_exception()
142{
143 try
144 {
145 throw geode::OpenGeodeBasicException{ nullptr,
146 geode::OpenGeodeException::TYPE::internal, "try ", "some ",
147 "concatenation" };
148 }
149 catch( ... )
150 {
151 geode::geode_lippincott();
152 }
153
154 try
155 {
156 throw std::runtime_error{ "try std exception" };
157 }
158 catch( ... )
159 {
160 geode::geode_lippincott();
161 }
162
163 try
164 {
165 throw std::runtime_error{ "test" };
166 }
167 catch( ... )
168 {
169 geode::geode_lippincott();
170 }
171}
172
173void test()
174{

Callers 1

testFunction · 0.85

Calls 1

geode_lippincottFunction · 0.85

Tested by

no test coverage detected