| 24 | }; |
| 25 | |
| 26 | TEST_F(EmptyCApiVersionTest, GetVersion) { |
| 27 | lbug_connection_destroy(&connection); |
| 28 | lbug_database_destroy(&_database); |
| 29 | auto version = lbug_get_version(); |
| 30 | ASSERT_NE(version, nullptr); |
| 31 | ASSERT_STREQ(version, LBUG_CMAKE_VERSION); |
| 32 | lbug_destroy_string(version); |
| 33 | } |
| 34 | |
| 35 | TEST_F(CApiVersionTest, GetStorageVersion) { |
| 36 | auto storageVersion = lbug_get_storage_version(); |
nothing calls this directly
no test coverage detected