comparison UnitTestsSources/SQLite.cpp @ 876:e21d1a5f5934

fix msvc warnings
author jodogne
date Wed, 11 Jun 2014 14:08:42 +0200
parents 84513f2ee1f3
children
comparison
equal deleted inserted replaced
875:d21031a7a6e4 876:e21d1a5f5934
314 ASSERT_TRUE(s.Step()); 314 ASSERT_TRUE(s.Step());
315 ASSERT_EQ(SQLite::COLUMN_TYPE_INTEGER, s.GetColumnType(1)); 315 ASSERT_EQ(SQLite::COLUMN_TYPE_INTEGER, s.GetColumnType(1));
316 ASSERT_EQ(42ll, s.ColumnInt64(1)); 316 ASSERT_EQ(42ll, s.ColumnInt64(1));
317 ASSERT_TRUE(s.Step()); 317 ASSERT_TRUE(s.Step());
318 ASSERT_EQ(SQLite::COLUMN_TYPE_FLOAT, s.GetColumnType(1)); 318 ASSERT_EQ(SQLite::COLUMN_TYPE_FLOAT, s.GetColumnType(1));
319 ASSERT_FLOAT_EQ(42.5, s.ColumnDouble(1)); 319 ASSERT_DOUBLE_EQ(42.5, s.ColumnDouble(1));
320 ASSERT_TRUE(s.Step()); 320 ASSERT_TRUE(s.Step());
321 ASSERT_EQ(SQLite::COLUMN_TYPE_TEXT, s.GetColumnType(1)); 321 ASSERT_EQ(SQLite::COLUMN_TYPE_TEXT, s.GetColumnType(1));
322 ASSERT_EQ("Hello", s.ColumnString(1)); 322 ASSERT_EQ("Hello", s.ColumnString(1));
323 ASSERT_TRUE(s.Step()); 323 ASSERT_TRUE(s.Step());
324 ASSERT_EQ(SQLite::COLUMN_TYPE_BLOB, s.GetColumnType(1)); 324 ASSERT_EQ(SQLite::COLUMN_TYPE_BLOB, s.GetColumnType(1));