aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ephy-session-test.c
Commit message (Collapse)AuthorAgeFilesLines
* Move windows handling code from EphySession to EphyShellCarlos Garcia Campos2012-10-081-3/+3
| | | | | | | | | | | | EphyShell is now a GtkApplication that already does window handling, however we want to maintain only the of browser windows. Instead of keeping the window lists in ephy-session, it's easier to override window_added and window_removed virtual methods of GtkApplication and update the browser window lists. Most of the cases where this API was used, had to get the session object from the shell first, now we save this step keeping the code simpler. https://bugzilla.gnome.org/show_bug.cgi?id=641734
* tests: the new homepage is about:overview, not about:blankXan Lopez2012-09-031-1/+1
|
* tests: register the application explicitlyXan Lopez2012-09-031-0/+2
| | | | | | | | | | | | | This usually happens in _run, it seems, but the tests don't do that, so we need to call this manually. Otherwise the test will fail with: (/home/xan/git/epiphany/build/tests/test-ephy-session:9865): GLib-GIO-CRITICAL **: g_application_list_actions: assertion `application->priv->is_registered' failed No idea why this has started happening only now. https://bugzilla.gnome.org/show_bug.cgi?id=682653
* ephy-session: spawn the default window if the session state file is brokenXan Lopez2012-08-011-0/+45
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=680590
* ephy-session-test: test recovering a multiple-window sessionXan Lopez2012-06-151-1/+50
|
* tests: add the beginnings of ephy-session unit testingXan Lopez2012-06-141-0/+98
For now a simple test that verifies that loading a session works. We need to link with the resource files, which is unfortunate, but I'm not sure there's a way around it since this test will actually spawn a full EphyWindow (ie, it's not only testing the session or shell code but the entire browser as a side effect).