Java Doc for XYPlotTests.java in  » Chart » jfreechart » org » jfree » chart » plot » junit » 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 » Chart » jfreechart » org.jfree.chart.plot.junit 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jfree.chart.plot.junit.XYPlotTests

XYPlotTests
public class XYPlotTests extends TestCase (Code)
Tests for the XYPlot class.



Constructor Summary
public  XYPlotTests(String name)
     Constructs a new set of tests.

Method Summary
public static  Testsuite()
     Returns the tests as a test suite.
public  voidtest1654215()
     A test for bug 1654215 (where a renderer is added to the plot without a corresponding dataset and it throws an exception at drawing time).
public  voidtestAddDomainMarker()
     Some tests for the addDomainMarker() method(s).
public  voidtestAddRangeMarker()
     Some tests for the addRangeMarker() method(s).
public  voidtestCloneIndependence()
     Tests the independence of the clones.
public  voidtestCloning()
     Confirm that basic cloning works.
public  voidtestCloning2()
     Tests cloning for a more complex plot.
public  voidtestCloning_QuadrantOrigin()
     Confirm that cloning captures the quadrantOrigin field.
public  voidtestCloning_QuadrantPaint()
     Confirm that cloning captures the quadrantOrigin field.
public  voidtestDrawRangeGridlines()
     A test for drawing range grid lines when there is no primary renderer.
public  voidtestDrawSeriesWithZeroItems()
     A test for drawing a plot where a series has zero items.
public  voidtestEquals()
     Some checks for the equals() method.
public  voidtestGetLegendItems()
     Some checks for the getLegendItems() method.
public  voidtestGetRendererForDataset()
     Some checks for the getRendererForDataset() method.
public  voidtestRemoveAnnotation()
     Some checks for the removeAnnotation() method.
public  voidtestSerialization1()
     Serialize an instance, restore it, and check for equality.
public  voidtestSerialization2()
     Serialize an instance, restore it, and check for equality.
public  voidtestSerialization3()
     Problem to reproduce a bug in serialization.
public  voidtestSerialization4()
     A test to reproduce a bug in serialization: the domain and/or range markers for a plot are not being serialized.
public  voidtestSerialization5()
     Tests a bug where the plot is no longer registered as a listener with the dataset(s) and axes after deserialization.
public  voidtestSetNullRenderer()
     Setting a null renderer should be allowed, but is generating a null pointer exception in 0.9.7.
public  voidtestSetRenderer()
     A test for a bug where setting the renderer doesn't register the plot as a RendererChangeListener.


Constructor Detail
XYPlotTests
public XYPlotTests(String name)(Code)
Constructs a new set of tests.
Parameters:
  name - the name of the tests.




Method Detail
suite
public static Test suite()(Code)
Returns the tests as a test suite. The test suite.



test1654215
public void test1654215()(Code)
A test for bug 1654215 (where a renderer is added to the plot without a corresponding dataset and it throws an exception at drawing time).



testAddDomainMarker
public void testAddDomainMarker()(Code)
Some tests for the addDomainMarker() method(s).



testAddRangeMarker
public void testAddRangeMarker()(Code)
Some tests for the addRangeMarker() method(s).



testCloneIndependence
public void testCloneIndependence()(Code)
Tests the independence of the clones.



testCloning
public void testCloning()(Code)
Confirm that basic cloning works.



testCloning2
public void testCloning2()(Code)
Tests cloning for a more complex plot.



testCloning_QuadrantOrigin
public void testCloning_QuadrantOrigin()(Code)
Confirm that cloning captures the quadrantOrigin field.



testCloning_QuadrantPaint
public void testCloning_QuadrantPaint()(Code)
Confirm that cloning captures the quadrantOrigin field.



testDrawRangeGridlines
public void testDrawRangeGridlines()(Code)
A test for drawing range grid lines when there is no primary renderer. In 1.0.4, this is throwing a NullPointerException.



testDrawSeriesWithZeroItems
public void testDrawSeriesWithZeroItems()(Code)
A test for drawing a plot where a series has zero items. With JFreeChart 1.0.5+cvs this was throwing an exception at one point.



testEquals
public void testEquals()(Code)
Some checks for the equals() method.



testGetLegendItems
public void testGetLegendItems()(Code)
Some checks for the getLegendItems() method.



testGetRendererForDataset
public void testGetRendererForDataset()(Code)
Some checks for the getRendererForDataset() method.



testRemoveAnnotation
public void testRemoveAnnotation()(Code)
Some checks for the removeAnnotation() method.



testSerialization1
public void testSerialization1()(Code)
Serialize an instance, restore it, and check for equality.



testSerialization2
public void testSerialization2()(Code)
Serialize an instance, restore it, and check for equality. This test uses a DateAxis and a StandardXYToolTipGenerator .



testSerialization3
public void testSerialization3()(Code)
Problem to reproduce a bug in serialization. The bug (first reported against the org.jfree.chart.plot.CategoryPlot class) is a null pointer exception that occurs when drawing a plot after deserialization. It is caused by four temporary storage structures (axesAtTop, axesAtBottom, axesAtLeft and axesAtRight - all initialized as empty lists in the constructor) not being initialized by the readObject() method following deserialization. This test has been written to reproduce the bug (now fixed).



testSerialization4
public void testSerialization4()(Code)
A test to reproduce a bug in serialization: the domain and/or range markers for a plot are not being serialized.



testSerialization5
public void testSerialization5()(Code)
Tests a bug where the plot is no longer registered as a listener with the dataset(s) and axes after deserialization. See patch 1209475 at SourceForge.



testSetNullRenderer
public void testSetNullRenderer()(Code)
Setting a null renderer should be allowed, but is generating a null pointer exception in 0.9.7.



testSetRenderer
public void testSetRenderer()(Code)
A test for a bug where setting the renderer doesn't register the plot as a RendererChangeListener.



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