MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / TEST_F

Function TEST_F

test/c_api/version_test.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24};
25
26TEST_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
35TEST_F(CApiVersionTest, GetStorageVersion) {
36 auto storageVersion = lbug_get_storage_version();

Callers

nothing calls this directly

Calls 8

lbug_connection_destroyFunction · 0.85
lbug_database_destroyFunction · 0.85
lbug_get_versionFunction · 0.85
lbug_destroy_stringFunction · 0.85
lbug_get_storage_versionFunction · 0.85
openMethod · 0.80
readMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected