#include "soci.h"
#include "soci-config.h"
#include <algorithm>
#include <cmath>
#include <iostream>
#include <limits>
#include <string>
#include <typeinfo>
Go to the source code of this file.
#define SOCI_TEST_ENSURE_CONNECTED |
( |
|
sql, |
|
|
|
method |
|
) |
| |
Value:{ \
std::string msg; \
try { \
(sql.method)(); \
assert(!"exception expected"); \
} catch (soci_error const &e) { msg = e.what(); } \
assert(msg.empty() == false); } (void)sql
Definition at line 164 of file common-tests.h.
#define SOCI_TEST_ENSURE_CONNECTED2 |
( |
|
sql, |
|
|
|
method |
|
) |
| |
Value:{ \
std::string msg; \
try { std::string seq; long v(0); \
(sql.method)(seq, v); \
assert(!"exception expected"); \
} catch (soci_error const &e) { msg = e.what(); } \
assert(msg.empty() == false); } (void)sql
Definition at line 172 of file common-tests.h.
asr_lib_ism
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Reckling Reno, Stroh Daniel
autogenerated on Wed Jan 8 2020 04:02:41