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


org.jfree.data.time.junit.TimeSeriesTests

TimeSeriesTests
public class TimeSeriesTests extends TestCase implements SeriesChangeListener(Code)
A collection of test cases for the TimeSeries class.



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

Method Summary
public  voidseriesChanged(SeriesChangeEvent event)
     Sets the flag to indicate that a SeriesChangeEvent has been received.
protected  voidsetUp()
     Common test setup.
public static  Testsuite()
     Returns the tests as a test suite.
public  voidtestAddOrUpdate()
     Some checks for the addOrUpdate() method.
public  voidtestAddValue()
     Add a value to series A for 1999.
public  voidtestBug1075255()
     A test for the bug report 1075255.
public  voidtestClone()
     Check that cloning works.
public  voidtestCreateCopy1()
     Some tests to ensure that the createCopy(RegularTimePeriod, RegularTimePeriod) method is functioning correctly.
public  voidtestCreateCopy2()
     Some tests to ensure that the createCopy(int, int) method is functioning correctly.
public  voidtestDelete()
     Tests the deletion of values.
public  voidtestDelete2()
     Basic tests for the delete() method.
public  voidtestEquals()
     Tests the equals method.
public  voidtestEquals2()
     Tests a specific bug report where null arguments in the constructor cause the equals() method to fail.
public  voidtestGetDataItem1()
     Some checks for the getDataItem(int) method.
public  voidtestGetDataItem2()
     Some checks for the getDataItem(RegularTimePeriod) method.
public  voidtestGetIndex()
     Some checks for the getIndex() method.
public  voidtestGetValue()
     Tests the retrieval of values.
public  voidtestRemoveAgedItems()
     Some checks for the removeAgedItems() method.
public  voidtestRemoveAgedItems2()
     Some checks for the removeAgedItems(long, boolean) method.
public  voidtestSerialization()
     Serialize an instance, restore it, and check for equality.
public  voidtestSetMaximumItemCount()
     Test the setMaximumItemCount() method to ensure that it removes items from the series if necessary.


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




Method Detail
seriesChanged
public void seriesChanged(SeriesChangeEvent event)(Code)
Sets the flag to indicate that a SeriesChangeEvent has been received.
Parameters:
  event - the event.



setUp
protected void setUp()(Code)
Common test setup.



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



testAddOrUpdate
public void testAddOrUpdate()(Code)
Some checks for the addOrUpdate() method.



testAddValue
public void testAddValue()(Code)
Add a value to series A for 1999. It should be added at index 0.



testBug1075255
public void testBug1075255()(Code)
A test for the bug report 1075255.



testClone
public void testClone()(Code)
Check that cloning works.



testCreateCopy1
public void testCreateCopy1()(Code)
Some tests to ensure that the createCopy(RegularTimePeriod, RegularTimePeriod) method is functioning correctly.



testCreateCopy2
public void testCreateCopy2()(Code)
Some tests to ensure that the createCopy(int, int) method is functioning correctly.



testDelete
public void testDelete()(Code)
Tests the deletion of values.



testDelete2
public void testDelete2()(Code)
Basic tests for the delete() method.



testEquals
public void testEquals()(Code)
Tests the equals method.



testEquals2
public void testEquals2()(Code)
Tests a specific bug report where null arguments in the constructor cause the equals() method to fail. Fixed for 0.9.21.



testGetDataItem1
public void testGetDataItem1()(Code)
Some checks for the getDataItem(int) method.



testGetDataItem2
public void testGetDataItem2()(Code)
Some checks for the getDataItem(RegularTimePeriod) method.



testGetIndex
public void testGetIndex()(Code)
Some checks for the getIndex() method.



testGetValue
public void testGetValue()(Code)
Tests the retrieval of values.



testRemoveAgedItems
public void testRemoveAgedItems()(Code)
Some checks for the removeAgedItems() method.



testRemoveAgedItems2
public void testRemoveAgedItems2()(Code)
Some checks for the removeAgedItems(long, boolean) method.



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



testSetMaximumItemCount
public void testSetMaximumItemCount()(Code)
Test the setMaximumItemCount() method to ensure that it removes items from the series if necessary.



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