* update test-mu-store test case
This commit is contained in:
@ -62,7 +62,6 @@ test_mu_store_version (void)
|
||||
MuStore *store;
|
||||
gchar* tmpdir;
|
||||
GError *err;
|
||||
const char* my_version;
|
||||
|
||||
tmpdir = test_mu_common_get_random_tmpdir();
|
||||
g_assert (tmpdir);
|
||||
@ -73,11 +72,8 @@ test_mu_store_version (void)
|
||||
g_assert (err == NULL);
|
||||
|
||||
g_assert_cmpuint (0,==,mu_store_count (store));
|
||||
g_assert_cmpstr (MU_XAPIAN_DB_VERSION,==,mu_store_version(store));
|
||||
|
||||
my_version = "test123";
|
||||
g_assert (mu_store_set_version (store, my_version));
|
||||
g_assert_cmpstr (mu_store_version(store), ==, my_version);
|
||||
g_assert_cmpstr (MU_XAPIAN_DB_VERSION,==,
|
||||
mu_store_version(store));
|
||||
|
||||
mu_store_destroy (store);
|
||||
g_free (tmpdir);
|
||||
|
||||
Reference in New Issue
Block a user