mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
Revert OLD cmake policy & tested commented out
This commit is contained in:
parent
df7d113a3b
commit
804879d27d
@ -5,7 +5,6 @@
|
||||
# Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt
|
||||
# or copy at http://opensource.org/licenses/MIT)
|
||||
cmake_minimum_required(VERSION 2.8.12) # first version with add_compile_options()
|
||||
cmake_policy(SET CMP0048 OLD)
|
||||
project(SQLiteCpp)
|
||||
|
||||
message (STATUS "CMake version: ${CMAKE_VERSION}")
|
||||
|
@ -283,7 +283,7 @@ TEST(Database, encryptAndDecrypt) {
|
||||
// Reopen the database file and try to use it
|
||||
EXPECT_FALSE(SQLite::Database::isUnencrypted("test.db3"));
|
||||
SQLite::Database db("test.db3", SQLite::OPEN_READONLY);
|
||||
// Decrypt the database
|
||||
EXPECT_THROW(db.tableExists("test"), SQLite::Exception);
|
||||
db.key("123secret");
|
||||
EXPECT_TRUE(db.tableExists("test"));
|
||||
} // Close DB test.db3
|
||||
|
Loading…
x
Reference in New Issue
Block a user