Java Doc for TestSharedLibrary.java in  » ESB » open-esb » com » sun » jbi » framework » 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 » ESB » open esb » com.sun.jbi.framework 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


com.sun.jbi.framework.TestSharedLibrary

TestSharedLibrary
public class TestSharedLibrary extends junit.framework.TestCase (Code)
Tests the SharedLibrary class.
author:
   Sun Microsystems, Inc.


Field Summary
final static  StringSL_1
    
final static  StringSL_1_CP_1
    
final static  StringSL_1_DESC
    
final static  StringSL_1_ROOT
    
final static  StringSL_2
    
final static  StringSL_2_CP_1
    
final static  StringSL_2_CP_2
    
final static  StringSL_2_DESC
    
final static  StringSL_2_ROOT
    
final static  StringSL_3
    
final static  StringSL_3_CP_1
    
final static  StringSL_3_CP_2
    
final static  StringSL_3_CP_3
    
final static  StringSL_3_DESC
    
final static  StringSL_3_ROOT
    

Constructor Summary
public  TestSharedLibrary(String aTestName)
     The constructor for this testcase, forwards the test name to the jUnit TestCase base class.

Method Summary
public  voidsetUp()
     Setup for the test.
public  voidtearDown()
     Cleanup for the test.
public  voidtestGetBootstrapClassName()
     Test the getBootstrapClassName method.
public  voidtestGetBootstrapClassPathElements()
     Test the getBootstrapClassPathElements method.
public  voidtestGetClassPathAsString()
     Tests getClassPath with good results.
public  voidtestGetClassPathElements()
     Tests getClassPathElements with good results.
public  voidtestGetComponentClassName()
     Tests getComponentClassName with good results.
public  voidtestGetComponentType()
     Tests getComponentType with good results.
public  voidtestGetDescription()
     Tests getDescription with good results.
public  voidtestGetInstallRoot()
     Tests getInstallRoot with good results.
public  voidtestGetName()
     Tests getName with good results.
public  voidtestGetProperties()
     Test the getProperties method.
public  voidtestGetSharedLibraryNames()
     Tests getSharedLibraryNames with good results.
public  voidtestGetStatus()
     Tests getStatus with good results.
public  voidtestGetWorkspaceRoot()
     Test the getWorkspaceRoot method.
public  voidtestIsBootstrapClassLoaderSelfFirst()
     Test the isBootstrapClassLoaderSelfFirst method.
public  voidtestIsClassLoaderSelfFirst()
     Test the isClassLoaderSelfFirst method.

Field Detail
SL_1
final static String SL_1(Code)
Constant for Shared Library 1 unique ID



SL_1_CP_1
final static String SL_1_CP_1(Code)
Constant for Shared Library 1 classpath element



SL_1_DESC
final static String SL_1_DESC(Code)
Constant for Shared Library 1 description



SL_1_ROOT
final static String SL_1_ROOT(Code)
Constant for Shared Library 1 root directory



SL_2
final static String SL_2(Code)
Constant for Shared Library 2 unique ID



SL_2_CP_1
final static String SL_2_CP_1(Code)
Constant for Shared Library 2 classpath element



SL_2_CP_2
final static String SL_2_CP_2(Code)
Constant for Shared Library 2 classpath element



SL_2_DESC
final static String SL_2_DESC(Code)
Constant for Shared Library 2 description



SL_2_ROOT
final static String SL_2_ROOT(Code)
Constant for Shared Library 2 root directory



SL_3
final static String SL_3(Code)
Constant for Shared Library 3 unique ID



SL_3_CP_1
final static String SL_3_CP_1(Code)
Constant for Shared Library 3 classpath element



SL_3_CP_2
final static String SL_3_CP_2(Code)
Constant for Shared Library 3 classpath element



SL_3_CP_3
final static String SL_3_CP_3(Code)
Constant for Shared Library 3 classpath element



SL_3_DESC
final static String SL_3_DESC(Code)
Constant for Shared Library 3 description



SL_3_ROOT
final static String SL_3_ROOT(Code)
Constant for Shared Library 3 root directory




Constructor Detail
TestSharedLibrary
public TestSharedLibrary(String aTestName)(Code)
The constructor for this testcase, forwards the test name to the jUnit TestCase base class.
Parameters:
  aTestName - String with the name of this test.




Method Detail
setUp
public void setUp() throws Exception(Code)
Setup for the test. This creates the SharedLibrary instances and other objects needed for the tests. It also serves to test the constructor for the class.
throws:
  Exception - when set up fails for any reason.



tearDown
public void tearDown() throws Exception(Code)
Cleanup for the test.
throws:
  Exception - when tearDown fails for any reason.



testGetBootstrapClassName
public void testGetBootstrapClassName() throws Exception(Code)
Test the getBootstrapClassName method. It should always throw an exception.
throws:
  Exception - if an unexpected error occurs.



testGetBootstrapClassPathElements
public void testGetBootstrapClassPathElements() throws Exception(Code)
Test the getBootstrapClassPathElements method. It should always throw an exception.
throws:
  Exception - if an unexpected error occurs.



testGetClassPathAsString
public void testGetClassPathAsString() throws Exception(Code)
Tests getClassPath with good results.
throws:
  Exception - if an unexpected error occurs.



testGetClassPathElements
public void testGetClassPathElements() throws Exception(Code)
Tests getClassPathElements with good results.
throws:
  Exception - if an unexpected error occurs.



testGetComponentClassName
public void testGetComponentClassName() throws Exception(Code)
Tests getComponentClassName with good results.
throws:
  Exception - if an unexpected error occurs.



testGetComponentType
public void testGetComponentType() throws Exception(Code)
Tests getComponentType with good results.
throws:
  Exception - if an unexpected error occurs.



testGetDescription
public void testGetDescription() throws Exception(Code)
Tests getDescription with good results.
throws:
  Exception - if an unexpected error occurs.



testGetInstallRoot
public void testGetInstallRoot() throws Exception(Code)
Tests getInstallRoot with good results.
throws:
  Exception - if an unexpected error occurs.



testGetName
public void testGetName() throws Exception(Code)
Tests getName with good results.
throws:
  Exception - if an unexpected error occurs.



testGetProperties
public void testGetProperties() throws Exception(Code)
Test the getProperties method. It should always throw an exception.
throws:
  Exception - if an unexpected error occurs.



testGetSharedLibraryNames
public void testGetSharedLibraryNames() throws Exception(Code)
Tests getSharedLibraryNames with good results.
throws:
  Exception - if an unexpected error occurs.



testGetStatus
public void testGetStatus() throws Exception(Code)
Tests getStatus with good results.
throws:
  Exception - if an unexpected error occurs.



testGetWorkspaceRoot
public void testGetWorkspaceRoot() throws Exception(Code)
Test the getWorkspaceRoot method. It should always throw an exception.
throws:
  Exception - if an unexpected error occurs.



testIsBootstrapClassLoaderSelfFirst
public void testIsBootstrapClassLoaderSelfFirst() throws Exception(Code)
Test the isBootstrapClassLoaderSelfFirst method. It should always throw an exception.
throws:
  Exception - if an unexpected error occurs.



testIsClassLoaderSelfFirst
public void testIsClassLoaderSelfFirst() throws Exception(Code)
Test the isClassLoaderSelfFirst method.
throws:
  Exception - if an unexpected error occurs.



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