Java Doc for GridProcessorTest.java in  » Ajax » NextApp-Echo2 » nextapp » echo2 » webcontainer » test » 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 » Ajax » NextApp Echo2 » nextapp.echo2.webcontainer.test 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


nextapp.echo2.webcontainer.test.GridProcessorTest

GridProcessorTest
public class GridProcessorTest extends TestCase (Code)
Unit tests for GridProcessor.




Method Summary
public  voidtestBasicColumnWidthAndRowHeight()
     Test retrieving column widths and row heights.
public  voidtestEmptyGrid()
     Test a grid with no child components.
public  voidtestInvalidAttemptCollision()
     Tests span collisions.
public  voidtestLessThanSize()
     Test behavior of Grid with very little content.
public  voidtestLessThanSizeWithRowSpan()
     Test behavior of Grid with very little content and a needless row span.
public  voidtestOutOfBoundsRowSpan()
    
public  voidtestReduceColumnAndRowOneBigCell()
     Test Grid that consists a single row-spanned and column-spanned cell.
public  voidtestReduceColumnAndRowSimple()
    
public  voidtestReduceColumnComplex()
    
public  voidtestReduceColumnLong()
     Test reduction of symmetric column spans.
public  voidtestReduceColumnSimple()
     Tests column reduction to ensure the column #2 is not rendered.
public  voidtestReduceRowComplex()
    
public  voidtestReduceRowLong()
     Test reduction of symmetric row spans.
public  voidtestReduceRowSimple()
     Tests row reduction to ensure the row #2 is not rendered.
public  voidtestRowSpanSimple()
    
public  voidtestSimple()
     Test a simple grid consisting of ten cells in default 2 columns and 5 rows.
public  voidtestSimpleWithColumnSpan()
     Test a a simple Grid consisting of ten cells with one of them spanning two columns.
public  voidtestSimpleWithOversidedColumnSpan()
     Test a a simple Grid consisting of ten cells with one of them spanning three columns (even though only two are available).
public  voidtestStaggeredSpans()
    



Method Detail
testBasicColumnWidthAndRowHeight
public void testBasicColumnWidthAndRowHeight()(Code)
Test retrieving column widths and row heights.



testEmptyGrid
public void testEmptyGrid()(Code)
Test a grid with no child components.



testInvalidAttemptCollision
public void testInvalidAttemptCollision()(Code)
Tests span collisions. Requested: Rendered: __ __ __ __ __ __ |0 |VC|1 | |0 |VC|1 | |__| |__| |__| |__| |HC \/ | |HC| |2 | |__ /\ __| |__| |__| |2 | |3 | |3 | | | |__|__|__| |__|__|__|



testLessThanSize
public void testLessThanSize()(Code)
Test behavior of Grid with very little content. This is a special case for the GridProcessor. __ __ __ __ | |XX|XX|XX| |__|XX|XX|XX|



testLessThanSizeWithRowSpan
public void testLessThanSizeWithRowSpan()(Code)
Test behavior of Grid with very little content and a needless row span. This is a special case for the GridProcessor. __ __ __ __ | |XX|XX|XX| | |XX|XX|XX| | |XX|XX|XX| | |XX|XX|XX| | |XX|XX|XX| |__|XX|XX|XX|



testOutOfBoundsRowSpan
public void testOutOfBoundsRowSpan()(Code)
Tests row reduction to ensure proper rendering of the following: (specified) (rendered) __ __ __ __ |0 |1 | 0 |0 |1 | | | | |__| | |XX| | 1 |XX| | |XX| | |XX|__| |XX| | 2 |XX| | |XX| | 3 |XX|__|



testReduceColumnAndRowOneBigCell
public void testReduceColumnAndRowOneBigCell()(Code)
Test Grid that consists a single row-spanned and column-spanned cell. 0 1 2 __ __ __ |0 | 0 | | | | 1 | | | | 2 | | | | 3 | | | | 4 |________|



testReduceColumnAndRowSimple
public void testReduceColumnAndRowSimple()(Code)
Test Grid with row and column reduction (specified) 0 1 2 (spec) (rend) __ _____ |0 |1 | 0 0 |__|_____| |2 |3 | 1 1 | | | | | | 2 |__|_____| 0 1 (rendered)



testReduceColumnComplex
public void testReduceColumnComplex()(Code)
Tests column reduction to ensure proper rendering of the following: 0 1 2 3 4 5 6 (specified column) __ _____ ___________ |0 |1 |2 |3 | |__|_____|_____|_____| |4 |5 |6 |7 |8 | |__|_____|__|__| | |9 |10 |11 | | |__|_____|_____|_____| 0 1 2 3 4 (rendered column)



testReduceColumnLong
public void testReduceColumnLong()(Code)
Test reduction of symmetric column spans. 0 1 2 3 (specified) ________ __ | | | |________|__| | | | |________|__| | | | |________|__| 0 1 (rendered)



testReduceColumnSimple
public void testReduceColumnSimple()(Code)
Tests column reduction to ensure the column #2 is not rendered. 0 1 2 3 (specified column) __ _____ __ |0 |1 |2 | |__|_____|__| |3 |4 |5 | |__|_____|__| 0 1 2 (rendered column)



testReduceRowComplex
public void testReduceRowComplex()(Code)
Tests column reduction to ensure proper rendering of the following: specified rendered __ __ __ row: row: |0 |1 |2 | |__|__|__| 0 0 |3 |4 |5 | | | | | 1 1 | | | | |__|__|__| 2 |6 |7 |8 | | |__| | 3 2 | |9 | | |__|__|__| 4 3 |10|11 | | | | 5 4 | | | |__|_____| 6



testReduceRowLong
public void testReduceRowLong()(Code)
Test reduction of symmetric row spans. __ __ __ (spec) (rend) | | | | | | | | 0 0 | | | | | | | | 1 | | | | |__|__|__| 2 | | | | |__|__|__| 3 1



testReduceRowSimple
public void testReduceRowSimple()(Code)
Tests row reduction to ensure the row #2 is not rendered. __ __ Row: |0 |1 | 0 |__|__| |2 |3 | 1 | | | | | | 2 |__|__| |4 |5 | 3 |__|__|



testRowSpanSimple
public void testRowSpanSimple()(Code)
Tests a grid with a cell spanning two rows: __ __ |0 |1 | |__|__| |2 |3 | | |__| | |4 | |__|__| |5 |6 | |__|__|



testSimple
public void testSimple()(Code)
Test a simple grid consisting of ten cells in default 2 columns and 5 rows. __ __ |0 |1 | |__|__| |2 |3 | |__|__| |4 |5 | |__|__| |6 |7 | |__|__| |8 |9 | |__|__|



testSimpleWithColumnSpan
public void testSimpleWithColumnSpan()(Code)
Test a a simple Grid consisting of ten cells with one of them spanning two columns. __ __ |0 |1 | |__|__| |2 |3 | |__|__| |4 | |_____| |5 |6 | |__|__| |7 |8 | |__|__| |9 |XX| |__|XX|



testSimpleWithOversidedColumnSpan
public void testSimpleWithOversidedColumnSpan()(Code)
Test a a simple Grid consisting of ten cells with one of them spanning three columns (even though only two are available). __ __ |0 |1 | |__|__| |2 |3 | |__|__|__ |4 | |________| |5 |6 | |__|__| |7 |8 | |__|__| |9 |XX| |__|XX|



testStaggeredSpans
public void testStaggeredSpans()(Code)
Test staggered row-spanned cells: __ __ |0 |1 | | |__| | |2 | |__| | |3 | | |__|__|



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