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


com.sun.jbi.management.TestComponentInstallationContext

TestComponentInstallationContext
public class TestComponentInstallationContext extends junit.framework.TestCase (Code)
Tests for the ComponentInstallationContext class.
author:
   Sun Microsystems, Inc.



Constructor Summary
public  TestComponentInstallationContext(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  voidtestGetClassPathElements()
     Test the method for getting the class path elements list.
public  voidtestGetInstallationDescriptorExtension()
     Test the method for getting the installation descriptor extension data.
public  voidtestIsBinding()
     Test the method for testing for a binding component type.
public  voidtestIsEngine()
     Test the method for testing for an engine component type.
public  voidtestIsInstall()
     Test the method for determining installation/uninstallation.
public  voidtestSetClassPathElements()
     Test the method for setting the class path elements list.
public  voidtestSetClassPathElementsBadAbsolute()
     Test the method for setting the class path elements list with an absolute path in the argument.
public  voidtestSetClassPathElementsBadEmpty()
     Test the method for setting the class path elements list with an empty argument.
public  voidtestSetClassPathElementsBadNull()
     Test the method for setting the class path elements list with a null argument.
public  voidtestSetClassPathElementsBadSeparators()
     Test the method for setting the class path elements list with invalid separators in the argument.
public  voidtestSetGetComponentClassName()
     Test the methods for setting and getting the component class name.
public  voidtestSetGetComponentName()
     Test the method for setting and getting the component name.
public  voidtestSetGetContext()
     Test the methods for setting and getting the component context.
public  voidtestSetGetDescription()
     Test the methods for setting and getting the component description.
public  voidtestSetGetInstallRoot()
     Test the methods for setting/getting the component install root.
public  voidtestSetGetWorkspaceRoot()
     Test the methods for setting and getting the component work root directory.
public  voidtestSetInstallationDescriptorExtension()
     Test the method for setting the installation descriptor extension data.
public  voidtestSetIsBootstrapClassLoaderSelfFirst()
     Test the methods for setting/testing the self-first flag for the bootstrap class loader.
public  voidtestSetIsComponentClassLoaderSelfFirst()
     Test the methods for setting/testing the self-first flag for the component class loader.


Constructor Detail
TestComponentInstallationContext
public TestComponentInstallationContext(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 ComponentInstallationContext instance and other objects needed for the tests. It serves to test the ComponentInstallationContext constructor.
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.



testGetClassPathElements
public void testGetClassPathElements()(Code)
Test the method for getting the class path elements list.
throws:
  Exception - if an unexpected error occurs.



testGetInstallationDescriptorExtension
public void testGetInstallationDescriptorExtension() throws Exception(Code)
Test the method for getting the installation descriptor extension data.
throws:
  Exception - if an unexpected error occurs.



testIsBinding
public void testIsBinding() throws Exception(Code)
Test the method for testing for a binding component type.
throws:
  Exception - if an unexpected error occurs.



testIsEngine
public void testIsEngine() throws Exception(Code)
Test the method for testing for an engine component type.
throws:
  Exception - if an unexpected error occurs.



testIsInstall
public void testIsInstall() throws Exception(Code)
Test the method for determining installation/uninstallation.
throws:
  Exception - if an unexpected error occurs.



testSetClassPathElements
public void testSetClassPathElements()(Code)
Test the method for setting the class path elements list.
throws:
  Exception - if an unexpected error occurs.



testSetClassPathElementsBadAbsolute
public void testSetClassPathElementsBadAbsolute()(Code)
Test the method for setting the class path elements list with an absolute path in the argument. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testSetClassPathElementsBadEmpty
public void testSetClassPathElementsBadEmpty()(Code)
Test the method for setting the class path elements list with an empty argument. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testSetClassPathElementsBadNull
public void testSetClassPathElementsBadNull()(Code)
Test the method for setting the class path elements list with a null argument. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testSetClassPathElementsBadSeparators
public void testSetClassPathElementsBadSeparators()(Code)
Test the method for setting the class path elements list with invalid separators in the argument. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testSetGetComponentClassName
public void testSetGetComponentClassName() throws Exception(Code)
Test the methods for setting and getting the component class name.
throws:
  Exception - if an unexpected error occurs.



testSetGetComponentName
public void testSetGetComponentName() throws Exception(Code)
Test the method for setting and getting the component name.
throws:
  Exception - if an unexpected error occurs.



testSetGetContext
public void testSetGetContext() throws Exception(Code)
Test the methods for setting and getting the component context.
throws:
  Exception - if an unexpected error occurs.



testSetGetDescription
public void testSetGetDescription() throws Exception(Code)
Test the methods for setting and getting the component description.
throws:
  Exception - if an unexpected error occurs.



testSetGetInstallRoot
public void testSetGetInstallRoot() throws Exception(Code)
Test the methods for setting/getting the component install root.
throws:
  Exception - if an unexpected error occurs.



testSetGetWorkspaceRoot
public void testSetGetWorkspaceRoot() throws Exception(Code)
Test the methods for setting and getting the component work root directory.
throws:
  Exception - if an unexpected error occurs.



testSetInstallationDescriptorExtension
public void testSetInstallationDescriptorExtension() throws Exception(Code)
Test the method for setting the installation descriptor extension data.
throws:
  Exception - if an unexpected error occurs.



testSetIsBootstrapClassLoaderSelfFirst
public void testSetIsBootstrapClassLoaderSelfFirst() throws Exception(Code)
Test the methods for setting/testing the self-first flag for the bootstrap class loader.
throws:
  Exception - if an unexpected error occurs.



testSetIsComponentClassLoaderSelfFirst
public void testSetIsComponentClassLoaderSelfFirst() throws Exception(Code)
Test the methods for setting/testing the self-first flag for the component class loader.
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.