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


org.jfree.chart.axis.junit.SegmentedTimelineTests

SegmentedTimelineTests
public class SegmentedTimelineTests extends TestCase (Code)
JUnit Tests for the SegmentedTimeline class.



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

Method Summary
public static  voidmain(String[] args)
     Only use to debug JUnit suite.
protected  voidsetUp()
     Sets up the fixture, for example, open a network connection.
public static  Testsuite()
     Returns the tests as a test suite.
protected  voidtearDown()
     Tears down the fixture, for example, close a network connection.
public  voidtestBasicSegmentedTimeline()
     Tests a basic segmented timeline.
public  voidtestCloning()
     Confirm that cloning works.
public  voidtestEquals()
     Confirm that the equals method can distinguish all the required fields.
public  voidtestFifteenMinExceptionSegments()
     Tests methods related to exceptions methods in the fifteenMinTimeline.
public  voidtestFifteenMinInc()
     Tests the inc methods on the Fifteen minute timeline.
public  voidtestFifteenMinIncludedAndExcludedSegments()
     Tests that the Fifteen-Min timeline's included and excluded segments are being calculated correctly.
public  voidtestFifteenMinSegment()
     Tests one segment of the Fifteen timeline.
public  voidtestFifteenMinSegmentedTimeline()
     Tests that the factory method that creates a 15-min 9:00 AM 4:00 PM segmented axis does so correctly.
public  voidtestFifteenMinTranslations()
    
public  voidtestHashCode()
     Two objects that are equal are required to return the same hashCode.
public  voidtestMondayThoughFridayExceptionSegments()
     Tests methods related to exceptions methods in the mondayFridayTimeline.
public  voidtestMondayThroughFridayInc()
     Tests the inc methods on the Monday through Friday timeline.
public  voidtestMondayThroughFridayIncludedAndExcludedSegments()
     Tests that the Monday through Friday timeline's included and excluded segments are being calculated correctly.
public  voidtestMondayThroughFridaySegment()
     Tests one segment of the Monday through Friday timeline.
public  voidtestMondayThroughFridaySegmentedTimeline()
     Tests that the factory method that creates Monday through Friday segmented timeline does so correctly.
public  voidtestMondayThroughFridayTranslations()
    
public  voidtestMs2BaseTimelineExceptionSegments()
     Tests methods related to exceptions methods in the ms2BaseTimeline.
public  voidtestMs2BaseTimelineTranslations()
    
public  voidtestMs2Inc()
     Tests the inc methods on the msTimeline.
public  voidtestMs2IncludedAndExcludedSegments()
     Tests that the ms2Timeline's included and excluded segments are being calculated correctly.
public  voidtestMs2Segment()
     Tests one segment of the ms timeline.
public  voidtestMs2SegmentedTimeline()
     Tests that the new method that created the ms2Timeline segmented timeline did so correctly.
public  voidtestMs2Translations()
    
public  voidtestMsExceptionSegments()
     Tests methods related to exceptions methods in the msTimeline.
public  voidtestMsInc()
     Tests the inc methods on the msTimeline.
public  voidtestMsIncludedAndExcludedSegments()
     Tests that the msTimeline's included and excluded segments are being calculated correctly.
public  voidtestMsSegment()
     Tests one segment of the ms timeline.
public  voidtestMsSegmentedTimeline()
     Tests that the new method that created the msTimeline segmented timeline did so correctly.
public  voidtestMsTranslations()
    
public  voidtestSegmentedTimelineWithException1()
     Tests a basic time line with one exception.
public  voidtestSerialization()
     Serialize an instance, restore it, and check for equality.
public  voidtestSerialization2()
     Serialize an instance, restore it, and check for equality.
public  voidverifyExceptionSegments(SegmentedTimeline timeline, String[] exceptionString, Format fmt)
     Tests methods related to adding exceptions.
public  voidverifyInc(SegmentedTimeline timeline)
     Tests the inc methods.
public  voidverifyIncludedAndExcludedSegments(SegmentedTimeline timeline, long n)
     Tests that a timeline's included and excluded segments are being calculated correctly.
public  voidverifyOneSegment(SegmentedTimeline timeline)
     Tests one segment of the Monday through Friday timeline.
public  voidverifyTranslations(SegmentedTimeline timeline, long startTest)
     Tests translations between timelines.


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




Method Detail
main
public static void main(String[] args) throws Exception(Code)
Only use to debug JUnit suite.
Parameters:
  args - ignored.
throws:
  Exception - if there is some problem.



setUp
protected void setUp() throws Exception(Code)
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
throws:
  Exception - if there is a problem.



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



tearDown
protected void tearDown() throws Exception(Code)
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.
throws:
  Exception - if there is a problem.



testBasicSegmentedTimeline
public void testBasicSegmentedTimeline()(Code)
Tests a basic segmented timeline.



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



testEquals
public void testEquals()(Code)
Confirm that the equals method can distinguish all the required fields.



testFifteenMinExceptionSegments
public void testFifteenMinExceptionSegments() throws ParseException(Code)
Tests methods related to exceptions methods in the fifteenMinTimeline.
throws:
  ParseException - if there is a parsing error.



testFifteenMinInc
public void testFifteenMinInc()(Code)
Tests the inc methods on the Fifteen minute timeline.



testFifteenMinIncludedAndExcludedSegments
public void testFifteenMinIncludedAndExcludedSegments()(Code)
Tests that the Fifteen-Min timeline's included and excluded segments are being calculated correctly. The test is performed starting on the first monday after 1/1/2000 and for five years.



testFifteenMinSegment
public void testFifteenMinSegment()(Code)
Tests one segment of the Fifteen timeline. Internal indices inside one segment as well as adjacent segments are verified.



testFifteenMinSegmentedTimeline
public void testFifteenMinSegmentedTimeline()(Code)
Tests that the factory method that creates a 15-min 9:00 AM 4:00 PM segmented axis does so correctly.



testFifteenMinTranslations
public void testFifteenMinTranslations() throws ParseException(Code)
Tests translations for the Fifteen Min timeline
throws:
  ParseException - if there is a parsing error.



testHashCode
public void testHashCode()(Code)
Two objects that are equal are required to return the same hashCode.



testMondayThoughFridayExceptionSegments
public void testMondayThoughFridayExceptionSegments() throws ParseException(Code)
Tests methods related to exceptions methods in the mondayFridayTimeline.
throws:
  ParseException - if there is a parsing error.



testMondayThroughFridayInc
public void testMondayThroughFridayInc()(Code)
Tests the inc methods on the Monday through Friday timeline.



testMondayThroughFridayIncludedAndExcludedSegments
public void testMondayThroughFridayIncludedAndExcludedSegments()(Code)
Tests that the Monday through Friday timeline's included and excluded segments are being calculated correctly. The test is performed starting on the first monday after 1/1/2000 and for five years.



testMondayThroughFridaySegment
public void testMondayThroughFridaySegment()(Code)
Tests one segment of the Monday through Friday timeline. Internal indices inside one segment as well as adjacent segments are verified.



testMondayThroughFridaySegmentedTimeline
public void testMondayThroughFridaySegmentedTimeline()(Code)
Tests that the factory method that creates Monday through Friday segmented timeline does so correctly.



testMondayThroughFridayTranslations
public void testMondayThroughFridayTranslations() throws ParseException(Code)
Tests translations for the Monday through Friday timeline
throws:
  ParseException - if there is a parsing error.



testMs2BaseTimelineExceptionSegments
public void testMs2BaseTimelineExceptionSegments() throws ParseException(Code)
Tests methods related to exceptions methods in the ms2BaseTimeline.
throws:
  ParseException - if there is a parsing error.



testMs2BaseTimelineTranslations
public void testMs2BaseTimelineTranslations() throws ParseException(Code)
Tests translations for the base timeline used for the ms2Timeline
throws:
  ParseException - if there is a parsing error.



testMs2Inc
public void testMs2Inc()(Code)
Tests the inc methods on the msTimeline.



testMs2IncludedAndExcludedSegments
public void testMs2IncludedAndExcludedSegments()(Code)
Tests that the ms2Timeline's included and excluded segments are being calculated correctly.



testMs2Segment
public void testMs2Segment()(Code)
Tests one segment of the ms timeline. Internal indices inside one segment as well as adjacent segments are verified.



testMs2SegmentedTimeline
public void testMs2SegmentedTimeline()(Code)
Tests that the new method that created the ms2Timeline segmented timeline did so correctly.



testMs2Translations
public void testMs2Translations() throws ParseException(Code)
Tests translations for the Monday through Friday timeline
throws:
  ParseException - if there is a parsing error.



testMsExceptionSegments
public void testMsExceptionSegments() throws ParseException(Code)
Tests methods related to exceptions methods in the msTimeline.
throws:
  ParseException - if there is a parsing error.



testMsInc
public void testMsInc()(Code)
Tests the inc methods on the msTimeline.



testMsIncludedAndExcludedSegments
public void testMsIncludedAndExcludedSegments()(Code)
Tests that the msTimeline's included and excluded segments are being calculated correctly.



testMsSegment
public void testMsSegment()(Code)
Tests one segment of the ms timeline. Internal indices inside one segment as well as adjacent segments are verified.



testMsSegmentedTimeline
public void testMsSegmentedTimeline()(Code)
Tests that the new method that created the msTimeline segmented timeline did so correctly.



testMsTranslations
public void testMsTranslations() throws ParseException(Code)
Tests translations for 1-ms timeline
throws:
  ParseException - if there is a parsing error.



testSegmentedTimelineWithException1
public void testSegmentedTimelineWithException1()(Code)
Tests a basic time line with one exception.



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



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



verifyExceptionSegments
public void verifyExceptionSegments(SegmentedTimeline timeline, String[] exceptionString, Format fmt) throws ParseException(Code)
Tests methods related to adding exceptions.
Parameters:
  timeline - the timeline to verify
Parameters:
  exceptionString - array of Strings that represent the exceptions
Parameters:
  fmt - Format object that can parse the exceptionString strings
throws:
  ParseException - if there is a parsing error.



verifyInc
public void verifyInc(SegmentedTimeline timeline)(Code)
Tests the inc methods.
Parameters:
  timeline - the timeline to use for verifications.



verifyIncludedAndExcludedSegments
public void verifyIncludedAndExcludedSegments(SegmentedTimeline timeline, long n)(Code)
Tests that a timeline's included and excluded segments are being calculated correctly.
Parameters:
  timeline - the timeline to verify
Parameters:
  n - the first segment number to start verifying



verifyOneSegment
public void verifyOneSegment(SegmentedTimeline timeline)(Code)
Tests one segment of the Monday through Friday timeline. Internal indices inside one segment as well as adjacent segments are verified.
Parameters:
  timeline - the timeline to use for verifications.



verifyTranslations
public void verifyTranslations(SegmentedTimeline timeline, long startTest)(Code)
Tests translations between timelines.
Parameters:
  timeline - the timeline to use for verifications.
Parameters:
  startTest - ??.



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