[gnome-logs/wip/test: 20/23] Update test message
- From: Rashi Aswani <aswanirashi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-logs/wip/test: 20/23] Update test message
- Date: Sat, 4 Jul 2015 18:48:00 +0000 (UTC)
commit 3615ae852f34def84dbabefcd8e5efbc2623e14a
Author: Rashi Aswani <aswanirashi19 gmail com>
Date: Sun Jun 21 14:22:24 2015 +0530
Update test message
tests/gl-journal-mock.c | 2 +-
tests/gnome-logs-test.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/tests/gl-journal-mock.c b/tests/gl-journal-mock.c
index 9914701..77a87f5 100644
--- a/tests/gl-journal-mock.c
+++ b/tests/gl-journal-mock.c
@@ -89,7 +89,7 @@ gl_mock_journal_get_data (GlMockJournal *self,
g_return_val_if_fail (field != NULL, NULL);
if (strcmp(field,"MESSAGE")==0)
- return "Test";
+ return "This is a test";
if (strcmp(field,"PRIORITY")==0)
return "Low";
diff --git a/tests/gnome-logs-test.c b/tests/gnome-logs-test.c
index 2ffef92..afcc252 100644
--- a/tests/gnome-logs-test.c
+++ b/tests/gnome-logs-test.c
@@ -1,6 +1,6 @@
/*
* GNOME Logs - View and search logs
- * Copyright (C) 2015 Ekaterina Gerasimova
+ * Copyright (C) 2015 Rashi Aswani
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -25,7 +25,7 @@ check_log_message (void)
GlMockJournal *journal = gl_mock_journal_new();
GlMockJournalEntry *entry = gl_mock_journal_previous(journal);
const gchar *mystring = gl_mock_journal_entry_get_message(entry);
- g_assert_cmpstr(mystring, ==, "Test");
+ g_assert_cmpstr(mystring, ==, "This is a test");
}
int
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]