[gnome-shell/gnome-3-24] tests: Update markup test for function moved to messageList
- From: Jeremy Bicha <jbicha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/gnome-3-24] tests: Update markup test for function moved to messageList
- Date: Fri, 19 May 2017 12:31:07 +0000 (UTC)
commit 35e6a31982547f1c97e6e78b77c94306bd062743
Author: Jeremy Bicha <jbicha ubuntu com>
Date: Thu May 18 15:35:54 2017 -0400
tests: Update markup test for function moved to messageList
https://bugzilla.gnome.org/show_bug.cgi?id=782802
tests/unit/markup.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/tests/unit/markup.js b/tests/unit/markup.js
index cf28972..c55791e 100644
--- a/tests/unit/markup.js
+++ b/tests/unit/markup.js
@@ -1,6 +1,6 @@
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
-// Test cases for Calendar markup parsing
+// Test cases for MessageList markup parsing
const JsUnit = imports.jsUnit;
const Pango = imports.gi.Pango;
@@ -8,7 +8,7 @@ const Pango = imports.gi.Pango;
const Environment = imports.ui.environment;
Environment.init();
-const Calendar = imports.ui.calendar;
+const MessageList = imports.ui.messageList;
// Assert that @input, assumed to be markup, gets "fixed" to @output,
// which is valid markup. If @output is null, @input is expected to
@@ -16,7 +16,7 @@ const Calendar = imports.ui.calendar;
function assertConverts(input, output) {
if (!output)
output = input;
- let fixed = Calendar._fixMarkup(input, true);
+ let fixed = MessageList._fixMarkup(input, true);
JsUnit.assertEquals(output, fixed);
let parsed = false;
@@ -30,7 +30,7 @@ function assertConverts(input, output) {
// Assert that @input, assumed to be plain text, gets escaped to @output,
// which is valid markup.
function assertEscapes(input, output) {
- let fixed = Calendar._fixMarkup(input, false);
+ let fixed = MessageList._fixMarkup(input, false);
JsUnit.assertEquals(output, fixed);
let parsed = false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]