diff options
author | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-01-13 13:14:25 +0200 |
---|---|---|
committer | Wolf Bergenheim <ext-wolf.2.bergenheim@nokia.com> | 2010-01-13 13:31:06 +0200 |
commit | f482f4e2ebdff76d1818822fd98f7941787745d8 (patch) | |
tree | 901fe4211c2473bae735324abd50431497086bfa /tests/test-resource.h | |
parent | f15c9a9aaacfde28fe1275ec337f0ad96abe8851 (diff) |
Added tests for Resource::reserve()
Diffstat (limited to 'tests/test-resource.h')
-rw-r--r-- | tests/test-resource.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test-resource.h b/tests/test-resource.h index 3d5a062..a762a8a 100644 --- a/tests/test-resource.h +++ b/tests/test-resource.h @@ -13,12 +13,14 @@ private: Resource *resource; bool isReservable; + bool isReserved; public: TestResource(); ~TestResource(); public slots: void handleReservable(); + void handleStateChanged(enum ResourceState newState); private slots: void init(); @@ -33,6 +35,9 @@ private slots: void testResources(); void testReservable(); + + void testReserve(); + void testReserveExpectFail(); }; #endif |