summaryrefslogtreecommitdiff
path: root/tests
diff options
authorGordon Allott <mail@gordallott.com>2009-10-28 14:01:25 +0000
committerGordon Allott <mail@gordallott.com>2009-10-28 14:01:25 +0000
commit1c1e088bdf9fab08629192394fa25e77009f739e (patch)
treebc760b4c3dc9009042499fa68bc749694a47d95b /tests
parentc6fe3219f8bba5b7b016b3b8f86103195a430521 (diff)
barely working container
(bzr r3.4.1)
Diffstat (limited to 'tests')
-rw-r--r--tests/test-unity.vala10
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/test-unity.vala b/tests/test-unity.vala
index 0b726b5a7..1c005233b 100644
--- a/tests/test-unity.vala
+++ b/tests/test-unity.vala
@@ -1,4 +1,4 @@
-/* -*- Mode: C; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- */
+/* -*- Mode: vala; indent-tabs-mode: nil; c-basic-offset: 2; tab-width: 2 -*- */
/*
* Copyright (C) 2009 Canonical Ltd
*
@@ -67,5 +67,13 @@ public class Main
}
);
+ Test.add_func ("/Unity/Widgets/Scroller", () => {
+ var scroller = new Widgets.Scroller (Ctk.Orientation.VERTICAL, 0);
+ assert (scroller is Widgets.Scroller);
+
+ scroller = new Widgets.Scroller (Ctk.Orientation.HORIZONTAL, 0);
+ assert (scroller is Widgets.Scroller);
+ }
+ );
}
}