mirror of
https://github.com/rbock/sqlpp11.git
synced 2026-01-04 20:20:59 -06:00
Re-animated all tests
This commit is contained in:
@@ -32,6 +32,7 @@
|
||||
|
||||
|
||||
DbMock db;
|
||||
DbMock::_context_t printer(std::cerr);
|
||||
|
||||
int main()
|
||||
{
|
||||
@@ -56,13 +57,13 @@ int main()
|
||||
static_assert(sqlpp::is_regular<T>::value, "type requirement");
|
||||
}
|
||||
|
||||
remove_from(t).serialize(std::cerr, db); std::cerr << "\n";
|
||||
remove_from(t).where(t.beta != "transparent").serialize(std::cerr, db); std::cerr << "\n";
|
||||
remove_from(t).using_(t).serialize(std::cerr, db); std::cerr << "\n";
|
||||
interpret(remove_from(t), printer).flush();
|
||||
interpret(remove_from(t).where(t.beta != "transparent"), printer).flush();
|
||||
interpret(remove_from(t).using_(t), printer).flush();
|
||||
auto r = dynamic_remove_from(db, t).dynamic_using_().dynamic_where();
|
||||
r = r.add_using_(t);
|
||||
r = r.add_where(t.beta != "transparent");
|
||||
r.serialize(std::cerr, db); std::cerr << "\n";
|
||||
interpret(r, printer).flush();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user