* update test-mu-store test case

This commit is contained in:
Dirk-Jan C. Binnema
2011-01-12 23:13:36 +02:00
parent d1bf8b3c73
commit eb6ca790fb

View File

@ -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);