diff options
Diffstat (limited to 'tests/test-list.vala')
-rw-r--r-- | tests/test-list.vala | 19 |
1 files changed, 19 insertions, 0 deletions
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 |