Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 27303 Details for
Bug 109104
Editor save does not write to disk (intermittent)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch which adds (currently failing) test case to UndoManagerTest
patch.txt (text/plain), 957 bytes, created by
Dani Megert
on 2005-09-20 11:57:32 EDT
(
hide
)
Description:
Patch which adds (currently failing) test case to UndoManagerTest
Filename:
MIME Type:
Creator:
Dani Megert
Created:
2005-09-20 11:57:32 EDT
Size:
957 bytes
patch
obsolete
>Index: UndoManagerTest.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jface.text.tests/src/org/eclipse/jface/text/tests/UndoManagerTest.java,v >retrieving revision 1.9 >diff -u -r1.9 UndoManagerTest.java >--- UndoManagerTest.java 17 Jun 2005 15:52:12 -0000 1.9 >+++ UndoManagerTest.java 20 Sep 2005 15:55:51 -0000 >@@ -415,6 +415,18 @@ > > } > >+ // see: https://bugs.eclipse.org/bugs/show_bug.cgi?id=109104 >+ public void testDocumentStamp2() throws BadLocationException { >+ final Document document= new Document(""); >+ fTextViewer.setDocument(document); >+ document.replace(0, 0, "a"); >+ long stamp= document.getModificationStamp(); >+ fUndoManager.undo(); >+ document.replace(0, 0, "b"); >+ assertFalse(stamp == document.getModificationStamp()); >+ >+ } >+ > private static String createRandomString(int length) { > final StringBuffer buffer= new StringBuffer(); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 109104
:
26973
| 27303