Java Doc for AbstractDocument_UpdateTest.java in  » Apache-Harmony-Java-SE » javax-package » javax » swing » text » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Apache Harmony Java SE » javax package » javax.swing.text 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.text.AbstractDocument_UpdateTest

AbstractDocument_UpdateTest
public class AbstractDocument_UpdateTest extends TestCase (Code)


Field Summary
final static  StringDIG
     String with three digits.
final static  StringLTR
     String with three characters with left-to-right reading order.
final static  StringRTL
     String with three characters with right-to-left reading order.
 DefaultDocumentEventinsert
     Event for last insertString.
 ElementEditinsertEdit
     Element edits for root ocurred when text was inserted.
 DefaultDocumentEventremove
     Event for last remove.
 ElementEditremoveEdit
     Element edits for root ocurred when text was removed.
 Elementroot
     Root element for which element edits are tracked.


Method Summary
protected  voidsetUp()
    
public  voidtestInsertUpdate01()
    
public  voidtestInsertUpdate02()
    
public  voidtestInsertUpdate03()
    
public  voidtestInsertUpdate04()
    
public  voidtestInsertUpdate05()
    
public  voidtestInsertUpdate06()
    
public  voidtestInsertUpdate07()
    
public  voidtestInsertUpdate08()
    
public  voidtestInsertUpdate09()
    
public  voidtestInsertUpdate10()
     Tests if RUN_DIRECTION property has any influence on bidirectional algorithm in AbstractDocument.
public  voidtestInsertUpdate11()
     Tests if RUN_DIRECTION attribute set on text inserted has any influence on bidirectional algorithm in AbstractDocument.
public  voidtestInsertUpdate12()
     Tests if RUN_DIRECTION property has any influence on bidirectional algorithm in AbstractDocument.
public  voidtestInsertUpdate13()
     Tests that bidi information is updated whatever position text is inserted to.
public  voidtestRemoveUpdate01()
    
public  voidtestRemoveUpdate02()
    
public  voidtestRemoveUpdate03()
    
public  voidtestRemoveUpdate08()
    
public  voidtestRemoveUpdate09()
    
public  voidtestRemoveUpdate10()
     Tests that when text is removed from document, the paragraph where the change occurred is completely reanalized despite the fact that the text removed has only one direction and this operation actually doesn't cause structure change.

Field Detail
DIG
final static String DIG(Code)
String with three digits.



LTR
final static String LTR(Code)
String with three characters with left-to-right reading order.



RTL
final static String RTL(Code)
String with three characters with right-to-left reading order.



insert
DefaultDocumentEvent insert(Code)
Event for last insertString.



insertEdit
ElementEdit insertEdit(Code)
Element edits for root ocurred when text was inserted.



remove
DefaultDocumentEvent remove(Code)
Event for last remove.



removeEdit
ElementEdit removeEdit(Code)
Element edits for root ocurred when text was removed.



root
Element root(Code)
Root element for which element edits are tracked.





Method Detail
setUp
protected void setUp() throws Exception(Code)



testInsertUpdate01
public void testInsertUpdate01() throws BadLocationException(Code)
LTR text is inserted while default direction of doc is LTR



testInsertUpdate02
public void testInsertUpdate02() throws BadLocationException(Code)
RTL text is inserted while default direction of doc is LTR



testInsertUpdate03
public void testInsertUpdate03() throws BadLocationException(Code)
DIG is inserted while default direction of doc is LTR



testInsertUpdate04
public void testInsertUpdate04() throws BadLocationException(Code)
LTR+RTL text is inserted while default direction of doc is LTR



testInsertUpdate05
public void testInsertUpdate05() throws BadLocationException(Code)
RTL+LTR text is inserted while default direction of doc is LTR



testInsertUpdate06
public void testInsertUpdate06() throws BadLocationException(Code)
DIG+RTL text is inserted while default direction of doc is LTR



testInsertUpdate07
public void testInsertUpdate07() throws BadLocationException(Code)
RTL+DIG text is inserted while default direction of doc is LTR



testInsertUpdate08
public void testInsertUpdate08() throws BadLocationException(Code)
LTR + RTL + DIG\nRTL + DIG + LTR\nDIG + RTL text is inserted while default direction of doc is LTR



testInsertUpdate09
public void testInsertUpdate09() throws BadLocationException(Code)
LTR+RTL+"\n"+LTR text is inserted while default direction of doc is LTR



testInsertUpdate10
public void testInsertUpdate10() throws BadLocationException(Code)
Tests if RUN_DIRECTION property has any influence on bidirectional algorithm in AbstractDocument.



testInsertUpdate11
public void testInsertUpdate11() throws BadLocationException(Code)
Tests if RUN_DIRECTION attribute set on text inserted has any influence on bidirectional algorithm in AbstractDocument.



testInsertUpdate12
public void testInsertUpdate12() throws BadLocationException(Code)
Tests if RUN_DIRECTION property has any influence on bidirectional algorithm in AbstractDocument.



testInsertUpdate13
public void testInsertUpdate13() throws BadLocationException(Code)
Tests that bidi information is updated whatever position text is inserted to.



testRemoveUpdate01
public void testRemoveUpdate01() throws BadLocationException(Code)



testRemoveUpdate02
public void testRemoveUpdate02() throws BadLocationException(Code)



testRemoveUpdate03
public void testRemoveUpdate03() throws BadLocationException(Code)



testRemoveUpdate08
public void testRemoveUpdate08() throws BadLocationException(Code)
Test-method number isn't changed to correpond with testInsertUpdate08



testRemoveUpdate09
public void testRemoveUpdate09() throws BadLocationException(Code)



testRemoveUpdate10
public void testRemoveUpdate10() throws BadLocationException(Code)
Tests that when text is removed from document, the paragraph where the change occurred is completely reanalized despite the fact that the text removed has only one direction and this operation actually doesn't cause structure change.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.