Mercurial > hg > orthanc
diff Core/SQLite/Statement.h @ 289:ffd98d2f0b91
merge
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 14 Dec 2012 11:22:29 +0100 |
parents | 9cd240cfd3a6 |
children | bdd72233b105 |
line wrap: on
line diff
--- a/Core/SQLite/Statement.h Fri Dec 14 11:22:04 2012 +0100 +++ b/Core/SQLite/Statement.h Fri Dec 14 11:22:29 2012 +0100 @@ -43,7 +43,10 @@ #include <vector> #include <stdint.h> #include <boost/noncopyable.hpp> + +#if ORTHANC_BUILD_UNIT_TESTS == 1 #include <gtest/gtest_prod.h> +#endif struct sqlite3_stmt; @@ -68,8 +71,11 @@ class Statement : public boost::noncopyable { friend class Connection; + +#if ORTHANC_BUILD_UNIT_TESTS == 1 FRIEND_TEST(SQLStatementTest, Run); FRIEND_TEST(SQLStatementTest, Reset); +#endif private: StatementReference reference_;