Permalink
Browse files

Added and updated test log messages

  • Loading branch information...
mloskot committed Feb 6, 2013
1 parent 38a0acc commit b70a2b340cc59ff3d6795594c8f19eabcfcdaee6
@@ -117,10 +117,13 @@ int main(int argc, char** argv)
}
try
{
std::cout << "\nSOCI ODBC with MS Access Tests:\n\n";
test_context tc(backEnd, connectString);
common_tests tests(tc);
tests.run();
std::cout << "\nOK, all tests passed.\n\n";
return EXIT_SUCCESS;
}
catch (soci::odbc_soci_error const & e)
@@ -134,6 +137,5 @@ int main(int argc, char** argv)
{
std::cout << "STD::EXECEPTION " << e.what() << '\n';
}
return EXIT_FAILURE;
}
@@ -108,11 +108,13 @@ int main(int argc, char** argv)
}
try
{
std::cout << "\nSOCI ODBC with MS SQL Server Tests:\n\n";
test_context tc(backEnd, connectString);
common_tests tests(tc);
tests.run();
std::cout << "\nOK, all tests passed.\n";
std::cout << "\nOK, all tests passed.\n\n";
return EXIT_SUCCESS;
}
catch (soci::odbc_soci_error const & e)
@@ -130,6 +132,5 @@ int main(int argc, char** argv)
{
std::cout << "STD::EXECEPTION " << e.what() << '\n';
}
return EXIT_FAILURE;
}
@@ -108,10 +108,13 @@ int main(int argc, char** argv)
}
try
{
std::cout << "\nSOCI ODBC with MySQL Tests:\n\n";
test_context tc(backEnd, connectString);
common_tests tests(tc);
tests.run();
std::cout << "\nOK, all tests passed.\n\n";
return EXIT_SUCCESS;
}
catch (soci::odbc_soci_error const & e)
@@ -108,10 +108,13 @@ int main(int argc, char** argv)
}
try
{
std::cout << "\nSOCI ODBC with PostgreSQL Tests:\n\n";
test_context tc(backEnd, connectString);
common_tests tests(tc);
tests.run();
std::cout << "\nOK, all tests passed.\n\n";
return EXIT_SUCCESS;
}
catch (soci::odbc_soci_error const & e)
@@ -641,7 +641,7 @@ int main(int argc, char** argv)
common_tests tests(tc);
tests.run();
std::cout << "\nSOCI Postgres Tests:\n\n";
std::cout << "\nSOCI PostgreSQL Tests:\n\n";
test1();
test2();
test3();

0 comments on commit b70a2b3

Please sign in to comment.