| 37 | |
| 38 | public: |
| 39 | void TestSetLock() |
| 40 | { |
| 41 | mitk::Label::Pointer label = mitk::Label::New(); |
| 42 | CPPUNIT_ASSERT_MESSAGE("Initial label not locked", label->GetLocked() == true); |
| 43 | |
| 44 | label->SetLocked(false); |
| 45 | CPPUNIT_ASSERT_MESSAGE("Label should not be locked", label->GetLocked() == false); |
| 46 | } |
| 47 | |
| 48 | void TestSetVisibility() |
| 49 | { |