diff options
author | Michael Stahl <mst@openoffice.org> | 2010-12-15 09:14:12 +0100 |
---|---|---|
committer | Michael Stahl <mst@openoffice.org> | 2010-12-15 09:14:12 +0100 |
commit | edb57aae4be8253104c5dc9282234cc3f12c7ece (patch) | |
tree | b8af6e04b92a810b887aae46c096755c459ae8e8 | |
parent | b1031d726abb270e912e023fc18ebddccd77687c (diff) |
undoapi: #i115383#: enable writer undo test
-rwxr-xr-x | sfx2/qa/complex/sfx2/UndoManager.java | 2 | ||||
-rwxr-xr-x | sfx2/qa/complex/sfx2/undo/WriterDocumentTest.java | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/qa/complex/sfx2/UndoManager.java b/sfx2/qa/complex/sfx2/UndoManager.java index 42461c9365bb..f3625747dd13 100755 --- a/sfx2/qa/complex/sfx2/UndoManager.java +++ b/sfx2/qa/complex/sfx2/UndoManager.java @@ -123,7 +123,7 @@ public class UndoManager public void checkWriterUndo() throws Exception { m_currentTestCase = new WriterDocumentTest( getORB() ); - impl_checkUndo( true ); + impl_checkUndo( false ); } // ----------------------------------------------------------------------------------------------------------------- diff --git a/sfx2/qa/complex/sfx2/undo/WriterDocumentTest.java b/sfx2/qa/complex/sfx2/undo/WriterDocumentTest.java index 100d36382d39..702fb85ebb11 100755 --- a/sfx2/qa/complex/sfx2/undo/WriterDocumentTest.java +++ b/sfx2/qa/complex/sfx2/undo/WriterDocumentTest.java @@ -74,6 +74,7 @@ public class WriterDocumentTest extends DocumentTestBase // insert the table into the doc docText.insertTextContent( cursor, textTable, false ); + ++expectedUndoActions; //FIXME this will create 2 actions! currently the event is sent for every individual action; should it be sent for top-level actions only? how many internal actions are created is an implementation detail! ++expectedUndoActions; // write some content into the center cell |