Java Doc for BigIntegerConstructorsTest.java in » Apache-Harmony-Java-SE » org-package » org » apache » harmony » tests » java » math » 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
»
Apache Harmony Java SE
»
org package
»
org.apache.harmony.tests.java.math
Source Cross Reference
Class Diagram
Java Document (Java Doc)
org.apache.harmony.tests.java.math
.BigIntegerConstructorsTest
BigIntegerConstructorsTest
public
class BigIntegerConstructorsTest extends TestCase
(Code)
Class: java.math.BigInteger Constructors: BigInteger(byte[] a), BigInteger(int sign, byte[] a), BigInteger(String val, int radix)
Method Summary
public
void
testConstructorBytesException
()
Create a number from an array of bytes.
public
void
testConstructorBytesNegative1
()
Create a negative number from an array of bytes.
public
void
testConstructorBytesNegative2
()
Create a negative number from an array of bytes.
public
void
testConstructorBytesNegative3
()
Create a negative number from an array of bytes.
public
void
testConstructorBytesNegative4
()
Create a negative number from an array of bytes.
public
void
testConstructorBytesPositive
()
Create a positive number from an array of bytes.
public
void
testConstructorBytesPositive1
()
Create a positive number from an array of bytes.
public
void
testConstructorBytesPositive2
()
Create a positive number from an array of bytes.
public
void
testConstructorBytesPositive3
()
Create a positive number from an array of bytes.
public
void
testConstructorBytesZero
()
Create a zero number from an array of zero bytes.
public
void
testConstructorPrime
()
Create a prime number of 25 bits length.
public
void
testConstructorPrime2
()
Create a prime number of 2 bits length.
public
void
testConstructorRandom
()
Create a random number of 75 bits length.
public
void
testConstructorSignBytesException1
()
Create a number from a sign and an array of bytes.
public
void
testConstructorSignBytesException2
()
Create a number from a sign and an array of bytes. Verify an exception thrown if the array contains non-zero bytes while the sign is 0.
public
void
testConstructorSignBytesNegative1
()
Create a negative number from a sign and an array of bytes.
public
void
testConstructorSignBytesNegative2
()
Create a negative number from a sign and an array of bytes.
public
void
testConstructorSignBytesNegative3
()
Create a negative number from a sign and an array of bytes.
public
void
testConstructorSignBytesNegative4
()
Create a negative number from a sign and an array of bytes.
public
void
testConstructorSignBytesNegative5
()
Create a negative number from a sign and an array of bytes.
public
void
testConstructorSignBytesNegative6
()
Create a negative number from a sign and an array of bytes.
public
void
testConstructorSignBytesNegative7
()
Create a negative number from a sign and an array of bytes.
public
void
testConstructorSignBytesPositive1
()
Create a positive number from a sign and an array of bytes.
public
void
testConstructorSignBytesPositive2
()
Create a positive number from a sign and an array of bytes.
public
void
testConstructorSignBytesPositive3
()
Create a positive number from a sign and an array of bytes.
public
void
testConstructorSignBytesPositive4
()
Create a positive number from a sign and an array of bytes.
public
void
testConstructorSignBytesPositive5
()
Create a positive number from a sign and an array of bytes.
public
void
testConstructorSignBytesPositive6
()
Create a positive number from a sign and an array of bytes.
public
void
testConstructorSignBytesPositive7
()
Create a positive number from a sign and an array of bytes.
public
void
testConstructorSignBytesZero1
()
Create a zero number from a sign and an array of zero bytes.
public
void
testConstructorSignBytesZero2
()
Create a zero number from a sign and an array of zero bytes.
public
void
testConstructorSignBytesZero3
()
Create a zero number from a sign and an array of zero bytes.
public
void
testConstructorSignBytesZeroNull1
()
Create a zero number from a sign and an array of zero length.
public
void
testConstructorSignBytesZeroNull2
()
Create a zero number from a sign and an array of zero length.
public
void
testConstructorSignBytesZeroNull3
()
Create a zero number from a sign and an array of zero length.
public
void
testConstructorStringException1
()
Create a number from a string value and radix.
public
void
testConstructorStringException2
()
Create a number from a string value and radix.
public
void
testConstructorStringException3
()
Create a number from a string value and radix.
public
void
testConstructorStringException4
()
Create a number from a string value and radix.
public
void
testConstructorStringRadix10
()
Create a positive number from a string value and radix 10.
public
void
testConstructorStringRadix10Negative
()
Create a negative number from a string value and radix 10.
public
void
testConstructorStringRadix10Zero
()
Create a zero number from a string value and radix 36.
public
void
testConstructorStringRadix16
()
Create a positive number from a string value and radix 16.
public
void
testConstructorStringRadix2
()
Create a positive number from a string value and radix 2.
public
void
testConstructorStringRadix36
()
Create a positive number from a string value and radix 36.
public
void
testConstructorStringRadix8
()
Create a positive number from a string value and radix 8.
Method Detail
testConstructorBytesException
public
void testConstructorBytesException()
(Code)
Create a number from an array of bytes. Verify an exception thrown if an array is zero bytes long
testConstructorBytesNegative1
public
void testConstructorBytesNegative1()
(Code)
Create a negative number from an array of bytes. The number fits in an array of integers.
testConstructorBytesNegative2
public
void testConstructorBytesNegative2()
(Code)
Create a negative number from an array of bytes. The number fits in an integer.
testConstructorBytesNegative3
public
void testConstructorBytesNegative3()
(Code)
Create a negative number from an array of bytes. The number of bytes is 4.
testConstructorBytesNegative4
public
void testConstructorBytesNegative4()
(Code)
Create a negative number from an array of bytes. The number of bytes is multiple of 4.
testConstructorBytesPositive
public
void testConstructorBytesPositive()
(Code)
Create a positive number from an array of bytes. The number of bytes is multiple of 4.
testConstructorBytesPositive1
public
void testConstructorBytesPositive1()
(Code)
Create a positive number from an array of bytes. The number fits in an array of integers.
testConstructorBytesPositive2
public
void testConstructorBytesPositive2()
(Code)
Create a positive number from an array of bytes. The number fits in an integer.
testConstructorBytesPositive3
public
void testConstructorBytesPositive3()
(Code)
Create a positive number from an array of bytes. The number of bytes is 4.
testConstructorBytesZero
public
void testConstructorBytesZero()
(Code)
Create a zero number from an array of zero bytes.
testConstructorPrime
public
void testConstructorPrime()
(Code)
Create a prime number of 25 bits length.
testConstructorPrime2
public
void testConstructorPrime2()
(Code)
Create a prime number of 2 bits length.
testConstructorRandom
public
void testConstructorRandom()
(Code)
Create a random number of 75 bits length.
testConstructorSignBytesException1
public
void testConstructorSignBytesException1()
(Code)
Create a number from a sign and an array of bytes. Verify an exception thrown if a sign has improper value.
testConstructorSignBytesException2
public
void testConstructorSignBytesException2()
(Code)
Create a number from a sign and an array of bytes. Verify an exception thrown if the array contains non-zero bytes while the sign is 0.
testConstructorSignBytesNegative1
public
void testConstructorSignBytesNegative1()
(Code)
Create a negative number from a sign and an array of bytes. The number fits in an array of integers. The most significant byte is positive.
testConstructorSignBytesNegative2
public
void testConstructorSignBytesNegative2()
(Code)
Create a negative number from a sign and an array of bytes. The number fits in an array of integers. The most significant byte is negative.
testConstructorSignBytesNegative3
public
void testConstructorSignBytesNegative3()
(Code)
Create a negative number from a sign and an array of bytes. The number fits in an integer.
testConstructorSignBytesNegative4
public
void testConstructorSignBytesNegative4()
(Code)
Create a negative number from a sign and an array of bytes. The number of bytes is 4. The most significant byte is positive.
testConstructorSignBytesNegative5
public
void testConstructorSignBytesNegative5()
(Code)
Create a negative number from a sign and an array of bytes. The number of bytes is 4. The most significant byte is negative.
testConstructorSignBytesNegative6
public
void testConstructorSignBytesNegative6()
(Code)
Create a negative number from a sign and an array of bytes. The number of bytes is multiple of 4. The most significant byte is positive.
testConstructorSignBytesNegative7
public
void testConstructorSignBytesNegative7()
(Code)
Create a negative number from a sign and an array of bytes. The number of bytes is multiple of 4. The most significant byte is negative.
testConstructorSignBytesPositive1
public
void testConstructorSignBytesPositive1()
(Code)
Create a positive number from a sign and an array of bytes. The number fits in an array of integers. The most significant byte is positive.
testConstructorSignBytesPositive2
public
void testConstructorSignBytesPositive2()
(Code)
Create a positive number from a sign and an array of bytes. The number fits in an array of integers. The most significant byte is negative.
testConstructorSignBytesPositive3
public
void testConstructorSignBytesPositive3()
(Code)
Create a positive number from a sign and an array of bytes. The number fits in an integer.
testConstructorSignBytesPositive4
public
void testConstructorSignBytesPositive4()
(Code)
Create a positive number from a sign and an array of bytes. The number of bytes is 4. The most significant byte is positive.
testConstructorSignBytesPositive5
public
void testConstructorSignBytesPositive5()
(Code)
Create a positive number from a sign and an array of bytes. The number of bytes is 4. The most significant byte is negative.
testConstructorSignBytesPositive6
public
void testConstructorSignBytesPositive6()
(Code)
Create a positive number from a sign and an array of bytes. The number of bytes is multiple of 4. The most significant byte is positive.
testConstructorSignBytesPositive7
public
void testConstructorSignBytesPositive7()
(Code)
Create a positive number from a sign and an array of bytes. The number of bytes is multiple of 4. The most significant byte is negative.
testConstructorSignBytesZero1
public
void testConstructorSignBytesZero1()
(Code)
Create a zero number from a sign and an array of zero bytes. The sign is -1.
testConstructorSignBytesZero2
public
void testConstructorSignBytesZero2()
(Code)
Create a zero number from a sign and an array of zero bytes. The sign is 0.
testConstructorSignBytesZero3
public
void testConstructorSignBytesZero3()
(Code)
Create a zero number from a sign and an array of zero bytes. The sign is 1.
testConstructorSignBytesZeroNull1
public
void testConstructorSignBytesZeroNull1()
(Code)
Create a zero number from a sign and an array of zero length. The sign is -1.
testConstructorSignBytesZeroNull2
public
void testConstructorSignBytesZeroNull2()
(Code)
Create a zero number from a sign and an array of zero length. The sign is 0.
testConstructorSignBytesZeroNull3
public
void testConstructorSignBytesZeroNull3()
(Code)
Create a zero number from a sign and an array of zero length. The sign is 1.
testConstructorStringException1
public
void testConstructorStringException1()
(Code)
Create a number from a string value and radix. Verify an exception thrown if a radix is out of range
testConstructorStringException2
public
void testConstructorStringException2()
(Code)
Create a number from a string value and radix. Verify an exception thrown if the string starts with a space.
testConstructorStringException3
public
void testConstructorStringException3()
(Code)
Create a number from a string value and radix. Verify an exception thrown if the string contains improper characters.
testConstructorStringException4
public
void testConstructorStringException4()
(Code)
Create a number from a string value and radix. Verify an exception thrown if some digits are greater than radix.
testConstructorStringRadix10
public
void testConstructorStringRadix10()
(Code)
Create a positive number from a string value and radix 10.
testConstructorStringRadix10Negative
public
void testConstructorStringRadix10Negative()
(Code)
Create a negative number from a string value and radix 10.
testConstructorStringRadix10Zero
public
void testConstructorStringRadix10Zero()
(Code)
Create a zero number from a string value and radix 36.
testConstructorStringRadix16
public
void testConstructorStringRadix16()
(Code)
Create a positive number from a string value and radix 16.
testConstructorStringRadix2
public
void testConstructorStringRadix2()
(Code)
Create a positive number from a string value and radix 2.
testConstructorStringRadix36
public
void testConstructorStringRadix36()
(Code)
Create a positive number from a string value and radix 36.
testConstructorStringRadix8
public
void testConstructorStringRadix8()
(Code)
Create a positive number from a string value and radix 8.
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.