fdo#35663: be more explicit on asserts

This commit is contained in:
Bjoern Michaelsen 2011-05-22 16:23:24 +02:00
parent a8d1349bf5
commit bca6c6d267

View file

@ -781,6 +781,7 @@ public class UndoManager
m_currentTestCase.doSingleModification();
assertEquals( "when the Undo manager is locked, no implicit additions should happen",
0, m_undoListener.getUndoActionsAdded() );
assertTrue( "Undo manager gets unlocked as a side effect of performing a simple operation", i_undoManager.isLocked() );
i_undoManager.unlock();
assertEquals( "unlock is not expected to add collected actions - they should be discarded",
0, m_undoListener.getUndoActionsAdded() );