Java Doc for CompositeNameTest.java in  » Apache-Harmony-Java-SE » org-package » org » apache » harmony » jndi » tests » javax » naming » 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.jndi.tests.javax.naming 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.harmony.jndi.tests.javax.naming.CompositeNameTest

CompositeNameTest
public class CompositeNameTest extends TestCase (Code)
unit test for composite name

Inner Class :public class MockCompositeName extends CompositeName


Constructor Summary
public  CompositeNameTest(String arg0)
     Constructor for TestCompositeName.

Method Summary
public  voidTestConstructorNull()
    
protected  voidsetUp()
    
protected  voidtearDown()
    
public  voidtestAddAllName()
    
public  voidtestAddAllintName()
    
public  voidtestAddString()
    
public  voidtestAddintString()
    
public  voidtestClone()
    
public  voidtestCompareTo()
     test compareTo(), include exceptional case, i.e, CompoundName, null, etc.
public  voidtestConstructorEnum()
    
public  voidtestConstructorException()
    
public  voidtestConstructorSimple()
    
public  voidtestEndsWith()
    
public  voidtestEquals()
     test equals, include exceptional case, i.e, CompoundName, null, etc.
public  voidtestGet()
    
public  voidtestGetAll()
    
public  voidtestGetPrefix()
    
public  voidtestGetSuffix()
    
public  voidtestHashCode()
    
public  voidtestIsEmpty()
    
public  voidtestRemove()
    
public  voidtestSerializationCompatibility()
    
public  voidtestSize()
    
public  voidtestSpecialCharacter()
     Special characters are as follows: The separator is / The escape character is \ Quotes can be used - both single quotes and double quotes are allowed.
public  voidtestStartsWith()
    
public  voidtestToString()
    
public  voidtestWriteReadObject()
    


Constructor Detail
CompositeNameTest
public CompositeNameTest(String arg0)(Code)
Constructor for TestCompositeName.
Parameters:
  arg0 -




Method Detail
TestConstructorNull
public void TestConstructorNull() throws InvalidNameException(Code)
test constructor with null string parameter
throws:
  InvalidNameException -



setUp
protected void setUp() throws Exception(Code)



tearDown
protected void tearDown() throws Exception(Code)



testAddAllName
public void testAddAllName() throws InvalidNameException(Code)
Test addAll(Name), include exceptional case



testAddAllintName
public void testAddAllintName() throws InvalidNameException(Code)
test addAll(int), include exceptional case



testAddString
public void testAddString() throws InvalidNameException(Code)
test add(String), include exceptional case of null parameter



testAddintString
public void testAddintString() throws InvalidNameException(Code)
Test add(int, String), include boundary case



testClone
public void testClone() throws InvalidNameException(Code)
test clone



testCompareTo
public void testCompareTo() throws InvalidNameException(Code)
test compareTo(), include exceptional case, i.e, CompoundName, null, etc.
throws:
  InvalidNameException -



testConstructorEnum
public void testConstructorEnum()(Code)



testConstructorException
public void testConstructorException() throws InvalidNameException(Code)



testConstructorSimple
public void testConstructorSimple() throws InvalidNameException(Code)



testEndsWith
public void testEndsWith() throws InvalidNameException(Code)
test endsWith(), include exceptional case of null and CompoundName
throws:
  InvalidNameException -



testEquals
public void testEquals() throws InvalidNameException(Code)
test equals, include exceptional case, i.e, CompoundName, null, etc.
throws:
  InvalidNameException -



testGet
public void testGet()(Code)
test get()



testGetAll
public void testGetAll()(Code)
test getAll()



testGetPrefix
public void testGetPrefix()(Code)
test getPrefix()



testGetSuffix
public void testGetSuffix()(Code)
test getSuffix



testHashCode
public void testHashCode() throws InvalidNameException(Code)
test hashCode()
throws:
  InvalidNameException -



testIsEmpty
public void testIsEmpty() throws InvalidNameException(Code)
test isEmpty()
throws:
  InvalidNameException -



testRemove
public void testRemove() throws InvalidNameException(Code)
test remove, include boundary case
throws:
  InvalidNameException -



testSerializationCompatibility
public void testSerializationCompatibility() throws Exception(Code)
test serialization compatibility
throws:
  Exception -



testSize
public void testSize() throws InvalidNameException(Code)
test size()
throws:
  InvalidNameException -



testSpecialCharacter
public void testSpecialCharacter() throws InvalidNameException(Code)
Special characters are as follows: The separator is / The escape character is \ Quotes can be used - both single quotes and double quotes are allowed. This allows you to quote strings which contain chars such as / which are part of a CompositeName element to avoid them being read as a separator.
throws:
  InvalidNameException -



testStartsWith
public void testStartsWith() throws InvalidNameException(Code)
test startWith(), include exceptional case of null and CompoundName
throws:
  InvalidNameException -



testToString
public void testToString() throws InvalidNameException(Code)
test toString()
throws:
  InvalidNameException -



testWriteReadObject
public void testWriteReadObject() throws Exception(Code)
test serialization
throws:
  Exception -



w___w_w.__j__av___a2_s__.c__o_m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.