#include <string>
#include <vector>
+#include "simgrid/Exception.hpp"
#include <xbt/cunit.h>
-#include <xbt/ex.hpp>
#include <xbt/string.hpp>
/* output stream to use everywhere */
void xbt_test_exception(xbt_ex_t e)
{
- _xbt_test_fail(e.throwPoint().file, e.throwPoint().line, "Exception %s raised: %s", xbt_ex_catname(e.category), e.what());
+ _xbt_test_fail(e.throw_point().file_, e.throw_point().line_, "Exception %s raised: %s", xbt_ex_catname(e.category),
+ e.what());
}
void xbt_test_expect_failure()