[gnome-logs/wip/test: 34/43] Separate logs UI from assertion of test message
- From: Rashi Aswani <aswanirashi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs/wip/test: 34/43] Separate logs UI from assertion of test message
- Date: Fri, 21 Aug 2015 16:23:30 +0000 (UTC)
commit 51362ca1f587e65f97d4b6b8a2833cda376001a5
Author: Rashi Aswani <aswanirashi19 gmail com>
Date: Mon Jul 27 00:11:02 2015 +0530
Separate logs UI from assertion of test message
tests/gnome-logs-test.c | 16 +---------------
1 files changed, 1 insertions(+), 15 deletions(-)
---
diff --git a/tests/gnome-logs-test.c b/tests/gnome-logs-test.c
index 260277a..40b9332 100644
--- a/tests/gnome-logs-test.c
+++ b/tests/gnome-logs-test.c
@@ -34,7 +34,6 @@
#include "../src/gl-util.h"
#include "../src/gl-window.h"
-
static void
check_log_message (void)
{
@@ -47,20 +46,7 @@ check_log_message (void)
int
main (int argc, char** argv)
{
- GtkApplication *application;
- int status;
-
- bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
- bind_textdomain_codeset (PACKAGE_TARNAME, "UTF-8");
- textdomain (GETTEXT_PACKAGE);
-
- g_set_prgname (PACKAGE_TARNAME);
- application = gl_application_new ();
- status = g_application_run (G_APPLICATION (application), argc, argv);
g_test_init (&argc, &argv, NULL);
g_test_add_func ("/util/check_log_message", check_log_message);
- g_object_unref (application);
- //g_application_quit (G_APPLICATION (application));
-
- return g_test_run ();
+ return g_test_run();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]