Java Doc for MillisecondTests.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
.MillisecondTests
MillisecondTests
public
class MillisecondTests extends TestCase
(Code)
Tests for the
Millisecond
class.
Constructor Summary
public
MillisecondTests
(
String
name)
Constructs a new set of tests.
Method Summary
protected
void
setUp
()
Common test setup.
public
static Test
suite
()
Returns the tests as a test suite.
public
void
test943985
()
A test for bug report 943985 - the calculation for the middle millisecond is incorrect for odd milliseconds.
public
void
testDateConstructor1
()
In GMT, the 4.55:59.123pm on 21 Mar 2002 is java.util.Date(1016729759123L).
public
void
testDateConstructor2
()
In Tallinn, the 4.55:59.123pm on 21 Mar 2002 is java.util.Date(1016722559123L).
public
void
testEquals
()
Tests the equals method.
public
void
testEqualsSelf
()
Check that a
Millisecond
instance is equal to itself.
public
void
testGetEnd
()
Some checks for the getEnd() method.
public
void
testGetFirstMillisecond
()
Some checks for the getFirstMillisecond() method.
public
void
testGetFirstMillisecondWithCalendar
()
Some checks for the getFirstMillisecond(TimeZone) method.
public
void
testGetFirstMillisecondWithTimeZone
()
Some checks for the getFirstMillisecond(TimeZone) method.
public
void
testGetLastMillisecond
()
Some checks for the getLastMillisecond() method.
public
void
testGetLastMillisecondWithCalendar
()
Some checks for the getLastMillisecond(TimeZone) method.
public
void
testGetLastMillisecondWithTimeZone
()
Some checks for the getLastMillisecond(TimeZone) method.
public
void
testGetSerialIndex
()
Some checks for the getSerialIndex() method.
public
void
testGetStart
()
Some checks for the getStart() method.
public
void
testHashcode
()
Two objects that are equal are required to return the same hashCode.
public
void
testNext
()
Some checks for the testNext() method.
public
void
testNotCloneable
()
The
Millisecond
class is immutable, so should not be
Cloneable
.
public
void
testSerialization
()
Serialize an instance, restore it, and check for equality.
Constructor Detail
MillisecondTests
public
MillisecondTests(
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.
test943985
public
void test943985()
(Code)
A test for bug report 943985 - the calculation for the middle millisecond is incorrect for odd milliseconds.
testDateConstructor1
public
void testDateConstructor1()
(Code)
In GMT, the 4.55:59.123pm on 21 Mar 2002 is java.util.Date(1016729759123L). Use this to check the Millisecond constructor.
testDateConstructor2
public
void testDateConstructor2()
(Code)
In Tallinn, the 4.55:59.123pm on 21 Mar 2002 is java.util.Date(1016722559123L). Use this to check the Millisecond constructor.
testEquals
public
void testEquals()
(Code)
Tests the equals method.
testEqualsSelf
public
void testEqualsSelf()
(Code)
Check that a
Millisecond
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
Millisecond
class is immutable, so should not be
Cloneable
.
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.