Mercurial > hg > orthanc
diff Core/SQLite/Statement.h @ 265:9cd240cfd3a6 Orthanc-0.3.1
fixes
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 10 Dec 2012 11:00:50 +0100 |
parents | f333c0398f6e |
children | bdd72233b105 |
line wrap: on
line diff
--- a/Core/SQLite/Statement.h Sun Dec 09 15:01:00 2012 +0100 +++ b/Core/SQLite/Statement.h Mon Dec 10 11:00:50 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_;