From 8e2d33d3a5d17531a36e629bcf4c0bc36cbf1cfe Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Sun, 2 Nov 2014 20:40:40 +0100 Subject: Imported Upstream version 14.04.10 --- tests/test-list.vala | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/test-list.vala (limited to 'tests/test-list.vala') diff --git a/tests/test-list.vala b/tests/test-list.vala new file mode 100644 index 0000000..3fcd89e --- /dev/null +++ b/tests/test-list.vala @@ -0,0 +1,19 @@ + +public class TestList : UserList +{ + public TestList (Background bg, MenuBar mb) + { + Object (background: bg, menubar: mb); + } + + public uint num_entries () + { + return entries.length(); + } + + public bool is_scrolling () + { + return mode == Mode.SCROLLING; + } + +} \ No newline at end of file -- cgit v1.2.3