Specialized testing class so unit test can call protected member functions to simulate drop operation. More...


Public Member Functions | |
| test_drop_target (gui::drop_group_manager_ptr group, const SDL_Rect &loc) | |
| int | handle_drop () |
| Called by widget object when droping happens. | |
Static Public Member Functions | |
| static bool | empty () |
| Used to check if static storages are empty. | |
Specialized testing class so unit test can call protected member functions to simulate drop operation.
Definition at line 32 of file test_drop_target.cpp.
| test_drop_target::test_drop_target | ( | gui::drop_group_manager_ptr | group, | |
| const SDL_Rect & | loc | |||
| ) | [inline] |
Definition at line 34 of file test_drop_target.cpp.
| static bool test_drop_target::empty | ( | ) | [inline, static] |
Used to check if static storages are empty.
Only for testing.
Reimplemented from gui::drop_target.
Definition at line 40 of file test_drop_target.cpp.
References gui::drop_target::empty().
Referenced by BOOST_AUTO_TEST_CASE().


| int test_drop_target::handle_drop | ( | ) | [inline] |
Called by widget object when droping happens.
Droping over multiple widget objects in same group is undefined.
Reimplemented from gui::drop_target.
Definition at line 37 of file test_drop_target.cpp.
References gui::drop_target::handle_drop().

| Generated by doxygen 1.7.1 on Thu May 24 2012 01:16:38 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |