forked from qt-creator/qt-creator
Sqlite: Add blob support
Change-Id: Ic2ec5f20c8585241b9e9aaa8465e70b6ab4f004c Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
@@ -85,6 +85,15 @@ TEST(SqliteValue, ConstructStringFromQString)
|
||||
ASSERT_THAT(value.toStringView(), Eq("foo"));
|
||||
}
|
||||
|
||||
TEST(SqliteValue, ConstructStringFromBlob)
|
||||
{
|
||||
// Utils::span<const Sqlite::byte> bytes{reinterpret_cast<const Sqlite::byte *>("abcd"), 4};
|
||||
|
||||
// Sqlite::Value value{bytes};
|
||||
|
||||
//ASSERT_THAT(value.toBlob(), Eq(bytes));
|
||||
}
|
||||
|
||||
TEST(SqliteValue, ConstructNullFromNullQVariant)
|
||||
{
|
||||
QVariant variant{};
|
||||
|
||||
Reference in New Issue
Block a user