* update test-cases

This commit is contained in:
Dirk-Jan C. Binnema
2011-07-06 02:14:53 +03:00
parent 74409c3404
commit 8b687e678c
3 changed files with 7 additions and 9 deletions

View File

@ -321,8 +321,8 @@ test_mu_msg_tags (void)
==, 1217530645); ==, 1217530645);
tags = mu_msg_get_tags (msg); tags = mu_msg_get_tags (msg);
g_assert_cmpstr ((char*)tags->data,==,"paradise"); g_assert_cmpstr ((char*)tags->data,==,"Paradise");
g_assert_cmpstr ((char*)tags->next->data,==,"lost"); g_assert_cmpstr ((char*)tags->next->data,==,"losT");
g_assert (tags->next->next == NULL); g_assert (tags->next->next == NULL);
mu_msg_unref (msg); mu_msg_unref (msg);

View File

@ -45,7 +45,7 @@ fill_database (const char *testdir)
" --quiet", " --quiet",
MU_PROGRAM, tmpdir, testdir); MU_PROGRAM, tmpdir, testdir);
/* g_printerr ("\n%s\n", cmdline); */ /* g_printerr ("\n%s\n", cmdline); */
g_assert (g_spawn_command_line_sync (cmdline, NULL, NULL, g_assert (g_spawn_command_line_sync (cmdline, NULL, NULL,
NULL, NULL)); NULL, NULL));
@ -450,8 +450,6 @@ test_mu_query_tags (void)
} }
int int
main (int argc, char *argv[]) main (int argc, char *argv[])
{ {
@ -477,9 +475,9 @@ main (int argc, char *argv[])
g_test_add_func ("/mu-query/test-mu-query-tags", g_test_add_func ("/mu-query/test-mu-query-tags",
test_mu_query_tags); test_mu_query_tags);
/* g_log_set_handler (NULL, */ g_log_set_handler (NULL,
/* G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL| G_LOG_FLAG_RECURSION, */ G_LOG_LEVEL_MASK | G_LOG_FLAG_FATAL| G_LOG_FLAG_RECURSION,
/* (GLogFunc)black_hole, NULL); */ (GLogFunc)black_hole, NULL);
rv = g_test_run (); rv = g_test_run ();

View File

@ -4,7 +4,7 @@ Subject: Fere libenter homines id quod volunt credunt
To: "Julius Caesar" <jc@example.com> To: "Julius Caesar" <jc@example.com>
Message-id: <3BE9E6535E3029448670913581E7A1A20D852173@emss35m06.us.lmco.com> Message-id: <3BE9E6535E3029448670913581E7A1A20D852173@emss35m06.us.lmco.com>
MIME-version: 1.0 MIME-version: 1.0
x-label: paradise,lost x-label: Paradise, losT
Content-type: text/plain; charset=us-ascii Content-type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT Content-transfer-encoding: 7BIT
Precedence: high Precedence: high