summaryrefslogtreecommitdiff
path: root/tests
diff options
authorMikkel Kamstrup Erlandsen <kamstrup@delight>2010-08-02 09:33:41 +0200
committerMikkel Kamstrup Erlandsen <kamstrup@delight>2010-08-02 09:33:41 +0200
commit4d222eceed966c5137c25cf03fae8872b7023ea4 (patch)
treebafecaa4083b7cb88e48cea1387461afe2b79797 /tests
parent572a156e20133936cc24b1d268e20f2169608445 (diff)
Fix the browsing stack in Unity.Place.Browser and add corresponding unit tests. The browser object needs to keep track of the current browsing state otherwise it can't cimpletely know when to push/pop the back/forward stacks
(bzr r403.5.1)
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/Makefile.am1
-rw-r--r--tests/unit/test-unit.vala2
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/Makefile.am b/tests/unit/Makefile.am
index 12417a8f3..ce051f9b9 100644
--- a/tests/unit/Makefile.am
+++ b/tests/unit/Makefile.am
@@ -59,6 +59,7 @@ test_unit_SOURCES = \
test-places-place.vala \
test-places.vala \
test-place.vala \
+ test-place-browser.vala \
test-io.vala \
test-appinfo-manager.vala \
test-unity-pixbuf-cache.vala \
diff --git a/tests/unit/test-unit.vala b/tests/unit/test-unit.vala
index ce9389040..7b7cc7739 100644
--- a/tests/unit/test-unit.vala
+++ b/tests/unit/test-unit.vala
@@ -36,6 +36,7 @@ public class Main
PlacesPlaceSuite places_place;
PlacesSuite places;
PlaceSuite place;
+ PlaceBrowserSuite place_browser;
IOSuite io;
AppInfoManagerSuite appinfo_manager;
@@ -59,6 +60,7 @@ public class Main
/* Places tests */
places = new PlacesSuite ();
place = new PlaceSuite ();
+ place_browser = new PlaceBrowserSuite ();
/* IO utility tests */
io = new IOSuite ();