MCPcopy Create free account
hub / github.com/culvertsoft/mgen / warning

Class warning

mgen-cpplib/src/test/cpp/include/tut/tut_exception.hpp:139–159  ·  view source on GitHub ↗

* Exception to be throwed when test desctructor throwed an exception. */

Source from the content-addressed store, hash-verified

137 * Exception to be throwed when test desctructor throwed an exception.
138 */
139struct warning : public tut_error
140{
141 explicit warning(const std::string& msg)
142 : tut_error(msg)
143 {
144 }
145
146 test_result::result_type result() const
147 {
148 return test_result::warn;
149 }
150
151 virtual std::string type() const
152 {
153 return "tut::warning";
154 }
155
156 ~warning() throw()
157 {
158 }
159};
160
161/**
162 * Exception to be throwed when test issued SEH (Win32)

Callers 1

releaseMethod · 0.85

Calls

no outgoing calls

Tested by 1

releaseMethod · 0.68