Java Doc for YearTests.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.YearTests

YearTests
public class YearTests extends TestCase (Code)
Tests for the Year class.



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

Method Summary
protected  voidsetUp()
     Common test setup.
public static  Testsuite()
     Returns the tests as a test suite.
public  voidtest1900Next()
     Set up a year equal to 1900.
public  voidtest1900Previous()
     Set up a year equal to 1900.
public  voidtest9999Next()
     Set up a year equal to 9999.
public  voidtest9999Previous()
     Set up a year equal to 9999.
public  voidtestDateConstructor1()
     In GMT, the end of 2001 is java.util.Date(1009843199999L).
public  voidtestDateConstructor2()
     In Los Angeles, the end of 2001 is java.util.Date(1009871999999L).
public  voidtestEquals()
     Tests the equals method.
public  voidtestEqualsSelf()
     Check that a Year instance is equal to itself.
public  voidtestGetEnd()
     Some checks for the getEnd() method.
public  voidtestGetFirstMillisecond()
     Some checks for the getFirstMillisecond() method.
public  voidtestGetFirstMillisecondWithCalendar()
     Some checks for the getFirstMillisecond(TimeZone) method.
public  voidtestGetFirstMillisecondWithTimeZone()
     Some checks for the getFirstMillisecond(TimeZone) method.
public  voidtestGetLastMillisecond()
     Some checks for the getLastMillisecond() method.
public  voidtestGetLastMillisecondWithCalendar()
     Some checks for the getLastMillisecond(TimeZone) method.
public  voidtestGetLastMillisecondWithTimeZone()
     Some checks for the getLastMillisecond(TimeZone) method.
public  voidtestGetSerialIndex()
     Some checks for the getSerialIndex() method.
public  voidtestGetStart()
     Some checks for the getStart() method.
public  voidtestHashcode()
     Two objects that are equal are required to return the same hashCode.
public  voidtestNext()
     Some checks for the testNext() method.
public  voidtestNotCloneable()
     The Year class is immutable, so should not be Cloneable .
public  voidtestParseYear()
     Tests the year string parser.
public  voidtestSerialization()
     Serialize an instance, restore it, and check for equality.


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




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



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



test1900Next
public void test1900Next()(Code)
Set up a year equal to 1900. Request the next year, it should be 1901.



test1900Previous
public void test1900Previous()(Code)
Set up a year equal to 1900. Request the previous year, it should be null.



test9999Next
public void test9999Next()(Code)
Set up a year equal to 9999. Request the next year, it should be null.



test9999Previous
public void test9999Previous()(Code)
Set up a year equal to 9999. Request the previous year, it should be 9998.



testDateConstructor1
public void testDateConstructor1()(Code)
In GMT, the end of 2001 is java.util.Date(1009843199999L). Use this to check the year constructor.



testDateConstructor2
public void testDateConstructor2()(Code)
In Los Angeles, the end of 2001 is java.util.Date(1009871999999L). Use this to check the year constructor.



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



testEqualsSelf
public void testEqualsSelf()(Code)
Check that a Year instance is equal to itself. SourceForge Bug ID: 558850.



testGetEnd
public void testGetEnd()(Code)
Some checks for the getEnd() method.



testGetFirstMillisecond
public void testGetFirstMillisecond()(Code)
Some checks for the getFirstMillisecond() method.



testGetFirstMillisecondWithCalendar
public void testGetFirstMillisecondWithCalendar()(Code)
Some checks for the getFirstMillisecond(TimeZone) method.



testGetFirstMillisecondWithTimeZone
public void testGetFirstMillisecondWithTimeZone()(Code)
Some checks for the getFirstMillisecond(TimeZone) method.



testGetLastMillisecond
public void testGetLastMillisecond()(Code)
Some checks for the getLastMillisecond() method.



testGetLastMillisecondWithCalendar
public void testGetLastMillisecondWithCalendar()(Code)
Some checks for the getLastMillisecond(TimeZone) method.



testGetLastMillisecondWithTimeZone
public void testGetLastMillisecondWithTimeZone()(Code)
Some checks for the getLastMillisecond(TimeZone) method.



testGetSerialIndex
public void testGetSerialIndex()(Code)
Some checks for the getSerialIndex() method.



testGetStart
public void testGetStart()(Code)
Some checks for the getStart() method.



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



testNext
public void testNext()(Code)
Some checks for the testNext() method.



testNotCloneable
public void testNotCloneable()(Code)
The Year class is immutable, so should not be Cloneable .



testParseYear
public void testParseYear()(Code)
Tests the year string parser.



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



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