[gnome-shell/wip/fmuellner/test-fixes: 6/6] tests: Set calendar event source



commit b2cd5e65d67097e87f660b3f9994dc4e3877895d
Author: Florian Müllner <fmuellner gnome org>
Date:   Wed Feb 21 14:03:18 2018 +0100

    tests: Set calendar event source
    
    Ever since commit e9e30138bd6 (2011!), the calendar only initialized
    the header at construction time. Set an event source to trigger an
    update of the content area, which is what the test is mainly intended
    for.

 tests/interactive/calendar.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/tests/interactive/calendar.js b/tests/interactive/calendar.js
index f2a70bb72..fa7e4a680 100644
--- a/tests/interactive/calendar.js
+++ b/tests/interactive/calendar.js
@@ -23,6 +23,7 @@ function test() {
              { expand: true,
                x_fill: false, x_align: St.Align.MIDDLE,
                y_fill: false, y_align: St.Align.START });
+    calendar.setEventSource(new Calendar.EmptyEventSource());
 
     UI.main(stage);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]