Java Doc for TestComponentFramework.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.TestComponentFramework

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

Inner Class :class SAXErrorHandler implements org.xml.sax.ErrorHandler


Constructor Summary
public  TestComponentFramework(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  voidtestCancelComponentUpgradeBadEmptyComponentName()
     Tests cancelComponentUpgrade with an empty component name parameter.
public  voidtestCancelComponentUpgradeBadNotFound()
     Tests cancelComponentUpgrade with a non-existent component.
public  voidtestCancelComponentUpgradeBadNullComponentName()
     Tests cancelComponentUpgrade with a null component name parameter.
public  voidtestCancelComponentUpgradeGood()
     Tests cancelComponentUpgrade with a good result.
public  voidtestGetComponentInstanceGood()
     Tests getComponentInstance with a good result.
public  voidtestGetDeployerInstanceGood()
     Tests getDeployerInstance with a good result.
public  voidtestGetInstallerConfigurationMBeanNameBadBinding()
     Tests getInstallerConfigurationMBeanName for a BC with a bad result.
public  voidtestGetInstallerConfigurationMBeanNameBadEngine()
     Tests getInstallerConfigurationMBeanName for an SE with a bad result.
public  voidtestGetInstallerConfigurationMBeanNameGoodBinding()
     Tests getInstallerConfigurationMBeanName for a BC with a good result.
public  voidtestGetInstallerConfigurationMBeanNameGoodEngine()
     Tests getInstallerConfigurationMBeanName for an SE with a good result.
public  voidtestInstallBindingBadBootstrapNotLoaded()
     Tests installComponent with a component whose bootstrap class is no longer loaded.
public  voidtestInstallBindingBadCleanUpException()
     Tests installComponent with a binding whose bootstrap cleanUp() method throws an exception.
public  voidtestInstallBindingBadGetLifeCycleException()
     Tests installComponent with a binding that throws an exception from its getLifeCycle() method.
public  voidtestInstallBindingBadGetLifeCycleNull()
     Tests installComponent with a binding that returns null from its getLifeCycle() method.
public  voidtestInstallBindingBadLifeCycleNotFound()
     Tests installComponent with a bad life cycle class name.
public  voidtestInstallBindingBadNotLoaded()
     Tests installComponent with a component name that was never loaded.
public  voidtestInstallBindingBadNullInstallationContext()
     Tests installComponent with a null ComponentInstallationContext.
public  voidtestInstallBindingBadOnInstallCleanupExceptions()
     Tests installComponent with a binding whose bootstrap onInstall() and cleanUp() methods both throw exceptions.
public  voidtestInstallBindingBadOnInstallException()
     Tests installComponent with a binding whose bootstrap onInstall() method throws an exception.
public  voidtestInstallBindingGood()
     Tests installComponent for a BC with a good result.
public  voidtestInstallBindingGoodModifiedClassPath()
     Tests installComponent with a modified class path and a good result.
public  voidtestInstallComponentGoodLoggerNames()
     Test an install with pre-defined logger names in the installation descriptor extension.
public  voidtestInstallEngineBadBootstrapNotLoaded()
     Tests installComponent with a component whose bootstrap class is no longer loaded.
public  voidtestInstallEngineBadCleanUpException()
     Tests installComponent with an engine whose bootstrap cleanUp() method throws an exception.
public  voidtestInstallEngineBadGetLifeCycleException()
     Tests installComponent with an engine that throws an exception from its getLifeCycle() method.
public  voidtestInstallEngineBadGetLifeCycleNull()
     Tests installComponent with an engine that returns null from its getLifeCycle() method.
public  voidtestInstallEngineBadLifeCycleNotFound()
     Tests installComponent with a bad life cycle class name.
public  voidtestInstallEngineBadNotLoaded()
     Tests installComponent with a component name that was never loaded.
public  voidtestInstallEngineBadNullInstallationContext()
     Tests installComponent with a null ComponentInstallationContext.
public  voidtestInstallEngineBadOnInstallCleanUpExceptions()
     Tests installComponent with an engine whose bootstrap onInstall() and cleanUp() methods both throw exceptions.
public  voidtestInstallEngineBadOnInstallException()
     Tests installComponent with an engine whose bootstrap onInstall() method throws an exception.
public  voidtestInstallEngineGood()
     Tests installComponent with a good result.
public  voidtestInstallEngineGoodModifiedClassPath()
     Tests installComponent with a modified class path and a good result.
public  voidtestInstallSharedLibraryBadDuplicate()
     Tests installSharedLibrary with a duplicate component name.
public  voidtestInstallSharedLibraryBadEmptyClassPath()
     Tests installSharedLibrary with an empty class path.
public  voidtestInstallSharedLibraryBadEmptyComponentRoot()
     Tests installSharedLibrary with an empty component root.
public  voidtestInstallSharedLibraryBadEmptyName()
     Tests installSharedLibrary with an empty name.
public  voidtestInstallSharedLibraryBadNullClassPath()
     Tests installSharedLibrary with a null class path.
public  voidtestInstallSharedLibraryBadNullComponentRoot()
     Tests installSharedLibrary with a null component root.
public  voidtestInstallSharedLibraryBadNullName()
     Tests installSharedLibrary with a null name.
public  voidtestInstallSharedLibraryGood()
     Tests installSharedLibrary with a good result.
public  voidtestLoadBootstrapBindingBadBootstrapInitCleanUpException()
     Tests loadBootstrap with a binding that throws an exception from its bootstrap init() method and from its bootstrap cleanUp() method.
public  voidtestLoadBootstrapBindingBadBootstrapInitException()
     Tests loadBootstrap with a binding that throws an exception from its bootstrap init() method.
public  voidtestLoadBootstrapBindingBadBootstrapNotFound()
     Tests loadBootstrap with a bad bootstrap class name.
public  voidtestLoadBootstrapBindingBadDuplicate()
     Tests loadBootstrap with a duplicate component name specified.
public  voidtestLoadBootstrapBindingBadEmptyBootstrapClassName()
     Tests loadBootstrap with an empty bootstrap class name parameter.
public  voidtestLoadBootstrapBindingBadEmptyBootstrapClassPath()
     Tests loadBootstrap with an empty bootstrap class path parameter.
public  voidtestLoadBootstrapBindingBadLoaded()
     Tests loadBootstrap for an uninstall with a loaded component.
public  voidtestLoadBootstrapBindingBadMissingSharedLibrary()
     Tests loadBootstrap with a required Shared Library missing.
public  voidtestLoadBootstrapBindingBadNotInstalled()
     Tests loadBootstrap for an uninstall with a non-existent component.
public  voidtestLoadBootstrapBindingBadNullBootstrapClassName()
     Tests loadBootstrap with a null bootstrap class name parameter.
public  voidtestLoadBootstrapBindingBadNullBootstrapClassPath()
     Tests loadBootstrap with a null bootstrap class path parameter.
public  voidtestLoadBootstrapBindingBadNullInstallationContext()
     Tests loadBootstrap with a null ComponentInstallationContext parameter.
public  voidtestLoadBootstrapBindingGood()
     Tests loadBootstrap with a good result.
public  voidtestLoadBootstrapEngineBadBootstrapInitCleanUpException()
     Tests loadBootstrap with an engine that throws an exception from its bootstrap init() method and from its bootstrap cleanUp() method.
public  voidtestLoadBootstrapEngineBadBootstrapInitException()
     Tests loadBootstrap with an engine that throws an exception from its bootstrap init() method.
public  voidtestLoadBootstrapEngineBadBootstrapNotFound()
     Tests loadBootstrap with a bad bootstrap class name.
public  voidtestLoadBootstrapEngineBadDuplicate()
     Tests loadBootstrap with a duplicate component name specified.
public  voidtestLoadBootstrapEngineBadEmptyBootstrapClassName()
     Tests loadBootstrap with an empty bootstrap class name parameter.
public  voidtestLoadBootstrapEngineBadEmptyBootstrapClassPath()
     Tests loadBootstrap with an empty bootstrap class path parameter.
public  voidtestLoadBootstrapEngineBadLoaded()
     Tests loadBootstrap with for an uninstall with a loaded component.
public  voidtestLoadBootstrapEngineBadMissingSharedLibrary()
     Tests loadBootstrap with a required Shared Library missing.
public  voidtestLoadBootstrapEngineBadNotInstalled()
     Tests loadBootstrap with for an uninstall with a non-existent component.
public  voidtestLoadBootstrapEngineBadNullBootstrapClassName()
     Tests loadBootstrap with a null bootstrap class name parameter.
public  voidtestLoadBootstrapEngineBadNullBootstrapClassPath()
     Tests loadBootstrap with a null bootstrap class path parameter.
public  voidtestLoadBootstrapEngineBadNullInstallationContext()
     Tests loadBootstrap with a null ComponentInstallationContext parameter.
public  voidtestLoadBootstrapEngineGood()
     Tests loadBootstrap with a good result.
public  voidtestShutdownBindingBadShutdownException()
     Tests shutdownComponent with a binding whose shutDown() method always throws an exception.
public  voidtestShutdownBindingBadStopException()
     Tests shutdownComponent with a binding whose stop() method always throws an exception.
public  voidtestShutdownBindingForceShutdownException()
     Tests shutdownComponent force=true with a binding whose shutDown() method always throws an exception.
public  voidtestShutdownBindingForceStopException()
     Tests shutdownComponent force=true with a binding whose stop() method always throws an exception.
public  voidtestShutdownBindingGood()
     Tests shutdownComponent with a good result.
public  voidtestShutdownBindingNotActive()
     Tests shutdownComponent with a binding that is not active.
public  voidtestShutdownEngineAlreadyShutdown()
     Tests shutdownComponent with an engine that is not active.
public  voidtestShutdownEngineBadShutdownException()
     Tests shutdownComponent with an engine whose shutDown() method always throws an exception.
public  voidtestShutdownEngineBadStopException()
     Tests shutdownComponent with an engine whose stop() method always throws an exception.
public  voidtestShutdownEngineForceShutdownException()
     Tests shutdownComponent force=true with an engine whose shutDown() method always throws an exception.
public  voidtestShutdownEngineForceStopException()
     Tests shutdownComponent force=true with an engine whose stop() method always throws an exception.
public  voidtestShutdownEngineGood()
     Tests shutdownComponent with a good result.
public  voidtestStartBindingAlreadyStarted()
     Tests startComponent with a binding that is already started.
public  voidtestStartBindingBadInitException()
     Tests startComponent with a binding whose init() method always throws an exception.
public  voidtestStartBindingBadMissingSharedLibrary()
     Tests startComponent with a required Shared Library missing.
public  voidtestStartBindingBadStartException()
     Tests startComponent with a binding whose start() method always throws an exception.
public  voidtestStartBindingGood()
     Tests startComponent with a good result.
public  voidtestStartEngineAlreadyStarted()
     Tests startComponent with a engine that is already started.
public  voidtestStartEngineBadInitException()
     Tests startComponent with an engine whose init() method always throws an exception.
public  voidtestStartEngineBadMissingSharedLibrary()
     Tests startComponent with a required Shared Library missing.
public  voidtestStartEngineBadStartException()
     Tests startComponent with an engine whose start() method always throws an exception.
public  voidtestStartEngineGood()
     Tests startComponent with a good result.
public  voidtestStartServiceTimeout()
     Tests startService with a BC that times out in its init() method and an SE that times out on its start() method.
public  voidtestStopBindingAlreadyStopped()
     Tests stopComponent with a binding that is already stopped.
public  voidtestStopBindingBadNotActive()
     Tests stopComponent with a binding that is not active.
public  voidtestStopBindingBadStopException()
     Tests stopComponent with a binding whose stop() method always throws an exception.
public  voidtestStopBindingGood()
     Tests stopComponent with a good result.
public  voidtestStopEngineAlreadyStopped()
     Tests stopComponent with an engine that is already stopped.
public  voidtestStopEngineBadNotActive()
     Tests stopComponent with an engine that is not active.
public  voidtestStopEngineBadStopException()
     Tests stopComponent with an engine whose stop() method always throws an exception.
public  voidtestStopEngineGood()
     Tests stopComponent with a good result.
public  voidtestStopServiceGood()
     Tests stopService with a good result.
public  voidtestStopServiceMixed()
     Tests stopService with a BC that times out in its shutDown() method, an SE that shuts down normally.
public  voidtestStopServiceTimeout()
     Tests stopService with a BC that times out in its stop() method and an SE that times out on its shutDown().
public  voidtestUninstallBindingBadCleanUpException()
     Tests uninstallComponent with binding whose bootstrap cleanUp() method throws an exception.
public  voidtestUninstallBindingBadDeployed()
     Tests uninstallComponent with a binding that still has SUs deployed to it.
public  voidtestUninstallBindingBadNotFound()
     Tests uninstallComponent with an nonexistent binding.
public  voidtestUninstallBindingBadNullInstallationContext()
     Tests uninstallComponent with a null ComponentInstallationContext parameter.
public  voidtestUninstallBindingBadOnUninstallCleanUpExceptions()
     Tests uninstallComponent with binding whose bootstrap onUninstall() and cleanUp() methods both throw exceptions.
public  voidtestUninstallBindingBadOnUninstallException()
     Tests uninstallComponent with binding whose bootstrap onUninstall() method throws an exception.
public  voidtestUninstallBindingBadStarted()
     Tests uninstallComponent with the binding started.
public  voidtestUninstallBindingBadStopped()
     Tests uninstallComponent with the binding stopped.
public  voidtestUninstallBindingGood()
     Tests uninstallComponent with a good result.
public  voidtestUninstallEngineBadCleanUpException()
     Tests uninstallComponent with an engine whose bootstrap cleanUp() method throws an exception.
public  voidtestUninstallEngineBadDeployed()
     Tests uninstallComponent with an engine that still has SUs deployed.
public  voidtestUninstallEngineBadNotFound()
     Tests uninstallComponent with an nonexistent engine.
public  voidtestUninstallEngineBadNullInstallationContext()
     Tests uninstallComponent with a null ComponentInstallationContext parameter.
public  voidtestUninstallEngineBadOnUninstallCleanupExceptions()
     Tests uninstallComponent with an engine whose bootstrap onUninstall() and cleanUp() methods both throw exceptions.
public  voidtestUninstallEngineBadOnUninstallException()
     Tests uninstallComponent with an engine whose bootstrap onUninstall() method throws an exception.
public  voidtestUninstallEngineBadStarted()
     Tests uninstallComponent with the engine started.
public  voidtestUninstallEngineBadStopped()
     Tests uninstallComponent with the engine stopped.
public  voidtestUninstallEngineGood()
     Tests uninstallComponent with good results.
public  voidtestUninstallForceGoodCleanUpException()
     Tests uninstallComponent with the force option with a component that throws an exception in its cleanUp() method.
public  voidtestUninstallForceGoodOnUninstallCleanUpException()
     Tests uninstallComponent with the force option with a component that throws an exception in both its onUninstall() and its cleanUp() methods.
public  voidtestUninstallForceGoodOnUninstallException()
     Tests uninstallComponent with the force option with a component that throws an exception in its onUninstall() method.
public  voidtestUninstallSharedLibraryBadDependents()
     Tests uninstallSharedLibrary with dependent components that are either running or stopped.
public  voidtestUninstallSharedLibraryBadNotFound()
     Tests uninstallSharedLibrary with a nonexistent Shared Library.
public  voidtestUninstallSharedLibraryGood()
     Tests uninstallSharedLibrary with a good result.
public  voidtestUninstallSharedLibraryGoodDependents()
     Tests uninstallSharedLibrary with dependent components that are already shutdown.
public  voidtestUnloadBootstrapBadEmptyComponentName()
     Tests unloadBootstrap with an empty component name.
public  voidtestUnloadBootstrapBadNullComponentName()
     Tests unloadBootstrap with a null component name.
public  voidtestUnloadBootstrapBindingGood()
     Tests unloadBootstrap for a binding with good results.
public  voidtestUnloadBootstrapEngineGood()
     Tests unloadBootstrap for an engine with good results.
public  voidtestUpgradeComponentBadBootstrapLoadFailed()
     Tests upgradeComponent with a failure loading the bootstrap class.
public  voidtestUpgradeComponentBadEmptyBootClassName()
     Tests upgradeComponent with an empty bootstrap class name parameter.
public  voidtestUpgradeComponentBadEmptyBootClassPathElementList()
     Tests upgradeComponent with an empty bootstrap class path element list parameter.
public  voidtestUpgradeComponentBadMissingSharedLibrary()
     Tests upgradeComponent with a missing shared library.
public  voidtestUpgradeComponentBadNoValidate()
     Tests upgradeComponent without first calling validateComponentForUpgrade().
public  voidtestUpgradeComponentBadNotFound()
     Tests upgradeComponent with a non-existent component.
public  voidtestUpgradeComponentBadNullBootClassName()
     Tests upgradeComponent with a null bootstrap class name parameter.
public  voidtestUpgradeComponentBadNullBootClassPathElementList()
     Tests upgradeComponent with a null bootstrap class path element list parameter.
public  voidtestUpgradeComponentBadNullInstallationContext()
     Tests upgradeComponent with a null ComponentInstallationContext parameter.
public  voidtestUpgradeComponentBadUpgradeMethodFailed()
     Tests upgradeComponent with a failure in the component's upgrade method.
public  voidtestUpgradeComponentGood()
     Tests upgradeComponent with a good result.
public  voidtestUpgradeComponentGoodBootstrapClassPath()
     Tests upgradeComponent with a good result with a changed bootstrap class path.
public  voidtestUpgradeComponentGoodBootstrapSelfFirst()
     Tests upgradeComponent with a good result with a changed bootstrap class loader self-first setting.
public  voidtestUpgradeComponentGoodComponentClassPath()
     Tests upgradeComponent with a good result with a changed component class path.
public  voidtestUpgradeComponentGoodComponentSelfFirst()
     Tests upgradeComponent with a good result with a changed component class loader self-first setting.
public  voidtestUpgradeComponentGoodDescription()
     Tests upgradeComponent with a good result with a changed component description.
public  voidtestUpgradeComponentGoodLoggerNames()
     Test an upgrade with pre-defined logger names in the installation descriptor extension.
public  voidtestUpgradeComponentGoodSharedLibrary()
     Tests upgradeComponent with a good result with a new shared library.
public  voidtestValidateComponentForUpgradeBadBootstrapClassNotFound()
     Tests validateComponentForUpgrade with a bootstrap class loading failure.
public  voidtestValidateComponentForUpgradeBadBusy()
     Tests validateComponentForUpgrade with a busy component.
public  voidtestValidateComponentForUpgradeBadComponentClassNotFound()
     Tests validateComponentForUpgrade with a component class loading failure.
public  voidtestValidateComponentForUpgradeBadEmptyBootClassName()
     Tests validateComponentForUpgrade with an empty bootstrap class name parameter.
public  voidtestValidateComponentForUpgradeBadEmptyBootClassPathElementList()
     Tests validateComponentForUpgrade with an empty bootstrap class path element list parameter.
public  voidtestValidateComponentForUpgradeBadMissingSharedLibrary()
     Tests validateComponentForUpgrade with a missing shared library.
public  voidtestValidateComponentForUpgradeBadNotFound()
     Tests validateComponentForUpgrade with a non-existent component.
public  voidtestValidateComponentForUpgradeBadNotShutDown()
     Tests validateComponentForUpgrade with a running component.
public  voidtestValidateComponentForUpgradeBadNullBootClassName()
     Tests validateComponentForUpgrade with a null bootstrap class name parameter.
public  voidtestValidateComponentForUpgradeBadNullBootClassPathElementList()
     Tests validateComponentForUpgrade with a null bootstrap class path element list parameter.
public  voidtestValidateComponentForUpgradeBadNullInstallationContext()
     Tests validateComponentForUpgrade with a null ComponentInstallationContext parameter.
public  voidtestValidateComponentForUpgradeGood()
     Tests validateComponentForUpgrade with a good result.
public  voidtestValidateComponentForUpgradeGoodSharedLibraries()
     Tests validateComponentForUpgrade with additional Shared Libraries with a good result.


Constructor Detail
TestComponentFramework
public TestComponentFramework(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 ComponentRegistry instance and other objects needed for the tests.
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.



testCancelComponentUpgradeBadEmptyComponentName
public void testCancelComponentUpgradeBadEmptyComponentName() throws Exception(Code)
Tests cancelComponentUpgrade with an empty component name parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testCancelComponentUpgradeBadNotFound
public void testCancelComponentUpgradeBadNotFound() throws Exception(Code)
Tests cancelComponentUpgrade with a non-existent component. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testCancelComponentUpgradeBadNullComponentName
public void testCancelComponentUpgradeBadNullComponentName() throws Exception(Code)
Tests cancelComponentUpgrade with a null component name parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testCancelComponentUpgradeGood
public void testCancelComponentUpgradeGood() throws Exception(Code)
Tests cancelComponentUpgrade with a good result.
throws:
  Exception - if an unexpected error occurs.



testGetComponentInstanceGood
public void testGetComponentInstanceGood() throws Exception(Code)
Tests getComponentInstance with a good result.
throws:
  Exception - if an unexpected error occurs.



testGetDeployerInstanceGood
public void testGetDeployerInstanceGood() throws Exception(Code)
Tests getDeployerInstance with a good result.
throws:
  Exception - if an unexpected error occurs.



testGetInstallerConfigurationMBeanNameBadBinding
public void testGetInstallerConfigurationMBeanNameBadBinding() throws Exception(Code)
Tests getInstallerConfigurationMBeanName for a BC with a bad result.
throws:
  Exception - if an unexpected error occurs.



testGetInstallerConfigurationMBeanNameBadEngine
public void testGetInstallerConfigurationMBeanNameBadEngine() throws Exception(Code)
Tests getInstallerConfigurationMBeanName for an SE with a bad result.
throws:
  Exception - if an unexpected error occurs.



testGetInstallerConfigurationMBeanNameGoodBinding
public void testGetInstallerConfigurationMBeanNameGoodBinding() throws Exception(Code)
Tests getInstallerConfigurationMBeanName for a BC with a good result.
throws:
  Exception - if an unexpected error occurs.



testGetInstallerConfigurationMBeanNameGoodEngine
public void testGetInstallerConfigurationMBeanNameGoodEngine() throws Exception(Code)
Tests getInstallerConfigurationMBeanName for an SE with a good result.
throws:
  Exception - if an unexpected error occurs.



testInstallBindingBadBootstrapNotLoaded
public void testInstallBindingBadBootstrapNotLoaded() throws Exception(Code)
Tests installComponent with a component whose bootstrap class is no longer loaded. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testInstallBindingBadCleanUpException
public void testInstallBindingBadCleanUpException() throws Exception(Code)
Tests installComponent with a binding whose bootstrap cleanUp() method throws an exception.
throws:
  Exception - if an unexpected error occurs.



testInstallBindingBadGetLifeCycleException
public void testInstallBindingBadGetLifeCycleException() throws Exception(Code)
Tests installComponent with a binding that throws an exception from its getLifeCycle() method.
throws:
  Exception - if an unexpected error occurs.



testInstallBindingBadGetLifeCycleNull
public void testInstallBindingBadGetLifeCycleNull() throws Exception(Code)
Tests installComponent with a binding that returns null from its getLifeCycle() method.
throws:
  Exception - if an unexpected error occurs.



testInstallBindingBadLifeCycleNotFound
public void testInstallBindingBadLifeCycleNotFound() throws Exception(Code)
Tests installComponent with a bad life cycle class name. The life cycle class will not be found when an attempt is made to load it. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testInstallBindingBadNotLoaded
public void testInstallBindingBadNotLoaded() throws Exception(Code)
Tests installComponent with a component name that was never loaded. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testInstallBindingBadNullInstallationContext
public void testInstallBindingBadNullInstallationContext() throws Exception(Code)
Tests installComponent with a null ComponentInstallationContext. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testInstallBindingBadOnInstallCleanupExceptions
public void testInstallBindingBadOnInstallCleanupExceptions() throws Exception(Code)
Tests installComponent with a binding whose bootstrap onInstall() and cleanUp() methods both throw exceptions. The client should see the onInstall() exception, not the cleanUp() exception. The cleanUp() exception should be logged.
throws:
  Exception - if an unexpected error occurs.



testInstallBindingBadOnInstallException
public void testInstallBindingBadOnInstallException() throws Exception(Code)
Tests installComponent with a binding whose bootstrap onInstall() method throws an exception.
throws:
  Exception - if an unexpected error occurs.



testInstallBindingGood
public void testInstallBindingGood() throws Exception(Code)
Tests installComponent for a BC with a good result.
throws:
  Exception - if an unexpected error occurs.



testInstallBindingGoodModifiedClassPath
public void testInstallBindingGoodModifiedClassPath() throws Exception(Code)
Tests installComponent with a modified class path and a good result.
throws:
  Exception - if an unexpected error occurs.



testInstallComponentGoodLoggerNames
public void testInstallComponentGoodLoggerNames() throws Exception(Code)
Test an install with pre-defined logger names in the installation descriptor extension.
throws:
  Exception - if an unexpected error occurs.



testInstallEngineBadBootstrapNotLoaded
public void testInstallEngineBadBootstrapNotLoaded() throws Exception(Code)
Tests installComponent with a component whose bootstrap class is no longer loaded. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testInstallEngineBadCleanUpException
public void testInstallEngineBadCleanUpException() throws Exception(Code)
Tests installComponent with an engine whose bootstrap cleanUp() method throws an exception.
throws:
  Exception - if an unexpected error occurs.



testInstallEngineBadGetLifeCycleException
public void testInstallEngineBadGetLifeCycleException() throws Exception(Code)
Tests installComponent with an engine that throws an exception from its getLifeCycle() method.
throws:
  Exception - if an unexpected error occurs.



testInstallEngineBadGetLifeCycleNull
public void testInstallEngineBadGetLifeCycleNull() throws Exception(Code)
Tests installComponent with an engine that returns null from its getLifeCycle() method.
throws:
  Exception - if an unexpected error occurs.



testInstallEngineBadLifeCycleNotFound
public void testInstallEngineBadLifeCycleNotFound() throws Exception(Code)
Tests installComponent with a bad life cycle class name. The life cycle class will not be found when an attempt is made to load it. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testInstallEngineBadNotLoaded
public void testInstallEngineBadNotLoaded() throws Exception(Code)
Tests installComponent with a component name that was never loaded. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testInstallEngineBadNullInstallationContext
public void testInstallEngineBadNullInstallationContext() throws Exception(Code)
Tests installComponent with a null ComponentInstallationContext. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testInstallEngineBadOnInstallCleanUpExceptions
public void testInstallEngineBadOnInstallCleanUpExceptions() throws Exception(Code)
Tests installComponent with an engine whose bootstrap onInstall() and cleanUp() methods both throw exceptions. The client should see the onInstall() exception, not the cleanUp() exception. The cleanUp() exception should be logged.
throws:
  Exception - if an unexpected error occurs.



testInstallEngineBadOnInstallException
public void testInstallEngineBadOnInstallException() throws Exception(Code)
Tests installComponent with an engine whose bootstrap onInstall() method throws an exception.
throws:
  Exception - if an unexpected error occurs.



testInstallEngineGood
public void testInstallEngineGood() throws Exception(Code)
Tests installComponent with a good result.
throws:
  Exception - if an unexpected error occurs.



testInstallEngineGoodModifiedClassPath
public void testInstallEngineGoodModifiedClassPath() throws Exception(Code)
Tests installComponent with a modified class path and a good result.
throws:
  Exception - if an unexpected error occurs.



testInstallSharedLibraryBadDuplicate
public void testInstallSharedLibraryBadDuplicate() throws Exception(Code)
Tests installSharedLibrary with a duplicate component name.
throws:
  Exception - if an unexpected error occurs.



testInstallSharedLibraryBadEmptyClassPath
public void testInstallSharedLibraryBadEmptyClassPath() throws Exception(Code)
Tests installSharedLibrary with an empty class path.
throws:
  Exception - if an unexpected error occurs.



testInstallSharedLibraryBadEmptyComponentRoot
public void testInstallSharedLibraryBadEmptyComponentRoot() throws Exception(Code)
Tests installSharedLibrary with an empty component root.
throws:
  Exception - if an unexpected error occurs.



testInstallSharedLibraryBadEmptyName
public void testInstallSharedLibraryBadEmptyName() throws Exception(Code)
Tests installSharedLibrary with an empty name.
throws:
  Exception - if an unexpected error occurs.



testInstallSharedLibraryBadNullClassPath
public void testInstallSharedLibraryBadNullClassPath() throws Exception(Code)
Tests installSharedLibrary with a null class path.
throws:
  Exception - if an unexpected error occurs.



testInstallSharedLibraryBadNullComponentRoot
public void testInstallSharedLibraryBadNullComponentRoot() throws Exception(Code)
Tests installSharedLibrary with a null component root.
throws:
  Exception - if an unexpected error occurs.



testInstallSharedLibraryBadNullName
public void testInstallSharedLibraryBadNullName() throws Exception(Code)
Tests installSharedLibrary with a null name.
throws:
  Exception - if an unexpected error occurs.



testInstallSharedLibraryGood
public void testInstallSharedLibraryGood() throws Exception(Code)
Tests installSharedLibrary with a good result.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapBindingBadBootstrapInitCleanUpException
public void testLoadBootstrapBindingBadBootstrapInitCleanUpException() throws Exception(Code)
Tests loadBootstrap with a binding that throws an exception from its bootstrap init() method and from its bootstrap cleanUp() method.
throws:
  Exception - if an unexpected error occurs



testLoadBootstrapBindingBadBootstrapInitException
public void testLoadBootstrapBindingBadBootstrapInitException() throws Exception(Code)
Tests loadBootstrap with a binding that throws an exception from its bootstrap init() method.
throws:
  Exception - if an unexpected error occurs



testLoadBootstrapBindingBadBootstrapNotFound
public void testLoadBootstrapBindingBadBootstrapNotFound() throws Exception(Code)
Tests loadBootstrap with a bad bootstrap class name. The bootstrap class will not be found when an attempt is made to load it. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapBindingBadDuplicate
public void testLoadBootstrapBindingBadDuplicate() throws Exception(Code)
Tests loadBootstrap with a duplicate component name specified. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapBindingBadEmptyBootstrapClassName
public void testLoadBootstrapBindingBadEmptyBootstrapClassName() throws Exception(Code)
Tests loadBootstrap with an empty bootstrap class name parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapBindingBadEmptyBootstrapClassPath
public void testLoadBootstrapBindingBadEmptyBootstrapClassPath() throws Exception(Code)
Tests loadBootstrap with an empty bootstrap class path parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapBindingBadLoaded
public void testLoadBootstrapBindingBadLoaded() throws Exception(Code)
Tests loadBootstrap for an uninstall with a loaded component.
throws:
  Exception - if an unexpected error occurs



testLoadBootstrapBindingBadMissingSharedLibrary
public void testLoadBootstrapBindingBadMissingSharedLibrary() throws Exception(Code)
Tests loadBootstrap with a required Shared Library missing. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapBindingBadNotInstalled
public void testLoadBootstrapBindingBadNotInstalled() throws Exception(Code)
Tests loadBootstrap for an uninstall with a non-existent component.
throws:
  Exception - if an unexpected error occurs



testLoadBootstrapBindingBadNullBootstrapClassName
public void testLoadBootstrapBindingBadNullBootstrapClassName() throws Exception(Code)
Tests loadBootstrap with a null bootstrap class name parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapBindingBadNullBootstrapClassPath
public void testLoadBootstrapBindingBadNullBootstrapClassPath() throws Exception(Code)
Tests loadBootstrap with a null bootstrap class path parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapBindingBadNullInstallationContext
public void testLoadBootstrapBindingBadNullInstallationContext() throws Exception(Code)
Tests loadBootstrap with a null ComponentInstallationContext parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapBindingGood
public void testLoadBootstrapBindingGood() throws Exception(Code)
Tests loadBootstrap with a good result.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapEngineBadBootstrapInitCleanUpException
public void testLoadBootstrapEngineBadBootstrapInitCleanUpException() throws Exception(Code)
Tests loadBootstrap with an engine that throws an exception from its bootstrap init() method and from its bootstrap cleanUp() method.
throws:
  Exception - if an unexpected error occurs



testLoadBootstrapEngineBadBootstrapInitException
public void testLoadBootstrapEngineBadBootstrapInitException() throws Exception(Code)
Tests loadBootstrap with an engine that throws an exception from its bootstrap init() method.
throws:
  Exception - if an unexpected error occurs



testLoadBootstrapEngineBadBootstrapNotFound
public void testLoadBootstrapEngineBadBootstrapNotFound() throws Exception(Code)
Tests loadBootstrap with a bad bootstrap class name. The bootstrap class will not be found when an attempt is made to load it. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapEngineBadDuplicate
public void testLoadBootstrapEngineBadDuplicate() throws Exception(Code)
Tests loadBootstrap with a duplicate component name specified. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapEngineBadEmptyBootstrapClassName
public void testLoadBootstrapEngineBadEmptyBootstrapClassName() throws Exception(Code)
Tests loadBootstrap with an empty bootstrap class name parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapEngineBadEmptyBootstrapClassPath
public void testLoadBootstrapEngineBadEmptyBootstrapClassPath() throws Exception(Code)
Tests loadBootstrap with an empty bootstrap class path parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapEngineBadLoaded
public void testLoadBootstrapEngineBadLoaded() throws Exception(Code)
Tests loadBootstrap with for an uninstall with a loaded component.
throws:
  Exception - if an unexpected error occurs



testLoadBootstrapEngineBadMissingSharedLibrary
public void testLoadBootstrapEngineBadMissingSharedLibrary() throws Exception(Code)
Tests loadBootstrap with a required Shared Library missing. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapEngineBadNotInstalled
public void testLoadBootstrapEngineBadNotInstalled() throws Exception(Code)
Tests loadBootstrap with for an uninstall with a non-existent component.
throws:
  Exception - if an unexpected error occurs



testLoadBootstrapEngineBadNullBootstrapClassName
public void testLoadBootstrapEngineBadNullBootstrapClassName() throws Exception(Code)
Tests loadBootstrap with a null bootstrap class name parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapEngineBadNullBootstrapClassPath
public void testLoadBootstrapEngineBadNullBootstrapClassPath() throws Exception(Code)
Tests loadBootstrap with a null bootstrap class path parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapEngineBadNullInstallationContext
public void testLoadBootstrapEngineBadNullInstallationContext() throws Exception(Code)
Tests loadBootstrap with a null ComponentInstallationContext parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testLoadBootstrapEngineGood
public void testLoadBootstrapEngineGood() throws Exception(Code)
Tests loadBootstrap with a good result.
throws:
  Exception - if an unexpected error occurs.



testShutdownBindingBadShutdownException
public void testShutdownBindingBadShutdownException() throws Exception(Code)
Tests shutdownComponent with a binding whose shutDown() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testShutdownBindingBadStopException
public void testShutdownBindingBadStopException() throws Exception(Code)
Tests shutdownComponent with a binding whose stop() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testShutdownBindingForceShutdownException
public void testShutdownBindingForceShutdownException() throws Exception(Code)
Tests shutdownComponent force=true with a binding whose shutDown() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testShutdownBindingForceStopException
public void testShutdownBindingForceStopException() throws Exception(Code)
Tests shutdownComponent force=true with a binding whose stop() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testShutdownBindingGood
public void testShutdownBindingGood() throws Exception(Code)
Tests shutdownComponent with a good result.
throws:
  Exception - if an unexpected error occurs.



testShutdownBindingNotActive
public void testShutdownBindingNotActive() throws Exception(Code)
Tests shutdownComponent with a binding that is not active.
throws:
  Exception - if an unexpected error occurs.



testShutdownEngineAlreadyShutdown
public void testShutdownEngineAlreadyShutdown() throws Exception(Code)
Tests shutdownComponent with an engine that is not active.
throws:
  Exception - if an unexpected error occurs.



testShutdownEngineBadShutdownException
public void testShutdownEngineBadShutdownException() throws Exception(Code)
Tests shutdownComponent with an engine whose shutDown() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testShutdownEngineBadStopException
public void testShutdownEngineBadStopException() throws Exception(Code)
Tests shutdownComponent with an engine whose stop() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testShutdownEngineForceShutdownException
public void testShutdownEngineForceShutdownException() throws Exception(Code)
Tests shutdownComponent force=true with an engine whose shutDown() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testShutdownEngineForceStopException
public void testShutdownEngineForceStopException() throws Exception(Code)
Tests shutdownComponent force=true with an engine whose stop() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testShutdownEngineGood
public void testShutdownEngineGood() throws Exception(Code)
Tests shutdownComponent with a good result.
throws:
  Exception - if an unexpected error occurs.



testStartBindingAlreadyStarted
public void testStartBindingAlreadyStarted() throws Exception(Code)
Tests startComponent with a binding that is already started.
throws:
  Exception - if an unexpected error occurs.



testStartBindingBadInitException
public void testStartBindingBadInitException() throws Exception(Code)
Tests startComponent with a binding whose init() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testStartBindingBadMissingSharedLibrary
public void testStartBindingBadMissingSharedLibrary() throws Exception(Code)
Tests startComponent with a required Shared Library missing. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testStartBindingBadStartException
public void testStartBindingBadStartException() throws Exception(Code)
Tests startComponent with a binding whose start() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testStartBindingGood
public void testStartBindingGood() throws Exception(Code)
Tests startComponent with a good result.
throws:
  Exception - if an unexpected error occurs.



testStartEngineAlreadyStarted
public void testStartEngineAlreadyStarted() throws Exception(Code)
Tests startComponent with a engine that is already started.
throws:
  Exception - if an unexpected error occurs.



testStartEngineBadInitException
public void testStartEngineBadInitException() throws Exception(Code)
Tests startComponent with an engine whose init() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testStartEngineBadMissingSharedLibrary
public void testStartEngineBadMissingSharedLibrary() throws Exception(Code)
Tests startComponent with a required Shared Library missing. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testStartEngineBadStartException
public void testStartEngineBadStartException() throws Exception(Code)
Tests startComponent with an engine whose start() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testStartEngineGood
public void testStartEngineGood() throws Exception(Code)
Tests startComponent with a good result.
throws:
  Exception - if an unexpected error occurs.



testStartServiceTimeout
public void testStartServiceTimeout() throws Exception(Code)
Tests startService with a BC that times out in its init() method and an SE that times out on its start() method.
throws:
  Exception - if an unexpected error occurs.



testStopBindingAlreadyStopped
public void testStopBindingAlreadyStopped() throws Exception(Code)
Tests stopComponent with a binding that is already stopped.
throws:
  Exception - if an unexpected error occurs.



testStopBindingBadNotActive
public void testStopBindingBadNotActive() throws Exception(Code)
Tests stopComponent with a binding that is not active. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testStopBindingBadStopException
public void testStopBindingBadStopException() throws Exception(Code)
Tests stopComponent with a binding whose stop() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testStopBindingGood
public void testStopBindingGood() throws Exception(Code)
Tests stopComponent with a good result.
throws:
  Exception - if an unexpected error occurs.



testStopEngineAlreadyStopped
public void testStopEngineAlreadyStopped() throws Exception(Code)
Tests stopComponent with an engine that is already stopped.
throws:
  Exception - if an unexpected error occurs.



testStopEngineBadNotActive
public void testStopEngineBadNotActive() throws Exception(Code)
Tests stopComponent with an engine that is not active. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testStopEngineBadStopException
public void testStopEngineBadStopException() throws Exception(Code)
Tests stopComponent with an engine whose stop() method always throws an exception.
throws:
  Exception - if an unexpected error occurs.



testStopEngineGood
public void testStopEngineGood() throws Exception(Code)
Tests stopComponent with a good result.
throws:
  Exception - if an unexpected error occurs.



testStopServiceGood
public void testStopServiceGood() throws Exception(Code)
Tests stopService with a good result.
throws:
  Exception - if an unexpected error occurs.



testStopServiceMixed
public void testStopServiceMixed() throws Exception(Code)
Tests stopService with a BC that times out in its shutDown() method, an SE that shuts down normally.
throws:
  Exception - if an unexpected error occurs.



testStopServiceTimeout
public void testStopServiceTimeout() throws Exception(Code)
Tests stopService with a BC that times out in its stop() method and an SE that times out on its shutDown().
throws:
  Exception - if an unexpected error occurs.



testUninstallBindingBadCleanUpException
public void testUninstallBindingBadCleanUpException() throws Exception(Code)
Tests uninstallComponent with binding whose bootstrap cleanUp() method throws an exception.
throws:
  Exception - if an unexpected error occurs.



testUninstallBindingBadDeployed
public void testUninstallBindingBadDeployed() throws Exception(Code)
Tests uninstallComponent with a binding that still has SUs deployed to it. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUninstallBindingBadNotFound
public void testUninstallBindingBadNotFound() throws Exception(Code)
Tests uninstallComponent with an nonexistent binding. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUninstallBindingBadNullInstallationContext
public void testUninstallBindingBadNullInstallationContext() throws Exception(Code)
Tests uninstallComponent with a null ComponentInstallationContext parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUninstallBindingBadOnUninstallCleanUpExceptions
public void testUninstallBindingBadOnUninstallCleanUpExceptions() throws Exception(Code)
Tests uninstallComponent with binding whose bootstrap onUninstall() and cleanUp() methods both throw exceptions. The client should see the onUninstall() exception, not the cleanUp() exception. The cleanUp() exception is only logged.
throws:
  Exception - if an unexpected error occurs.



testUninstallBindingBadOnUninstallException
public void testUninstallBindingBadOnUninstallException() throws Exception(Code)
Tests uninstallComponent with binding whose bootstrap onUninstall() method throws an exception.
throws:
  Exception - if an unexpected error occurs.



testUninstallBindingBadStarted
public void testUninstallBindingBadStarted() throws Exception(Code)
Tests uninstallComponent with the binding started. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUninstallBindingBadStopped
public void testUninstallBindingBadStopped() throws Exception(Code)
Tests uninstallComponent with the binding stopped. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUninstallBindingGood
public void testUninstallBindingGood() throws Exception(Code)
Tests uninstallComponent with a good result.
throws:
  Exception - if an unexpected error occurs.



testUninstallEngineBadCleanUpException
public void testUninstallEngineBadCleanUpException() throws Exception(Code)
Tests uninstallComponent with an engine whose bootstrap cleanUp() method throws an exception.
throws:
  Exception - if an unexpected error occurs.



testUninstallEngineBadDeployed
public void testUninstallEngineBadDeployed() throws Exception(Code)
Tests uninstallComponent with an engine that still has SUs deployed. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUninstallEngineBadNotFound
public void testUninstallEngineBadNotFound() throws Exception(Code)
Tests uninstallComponent with an nonexistent engine. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUninstallEngineBadNullInstallationContext
public void testUninstallEngineBadNullInstallationContext() throws Exception(Code)
Tests uninstallComponent with a null ComponentInstallationContext parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUninstallEngineBadOnUninstallCleanupExceptions
public void testUninstallEngineBadOnUninstallCleanupExceptions() throws Exception(Code)
Tests uninstallComponent with an engine whose bootstrap onUninstall() and cleanUp() methods both throw exceptions. The client should see the onUninstall() exception, not the cleanUp() exception. The cleanUp() exception is only logged.
throws:
  Exception - if an unexpected error occurs.



testUninstallEngineBadOnUninstallException
public void testUninstallEngineBadOnUninstallException() throws Exception(Code)
Tests uninstallComponent with an engine whose bootstrap onUninstall() method throws an exception.
throws:
  Exception - if an unexpected error occurs.



testUninstallEngineBadStarted
public void testUninstallEngineBadStarted() throws Exception(Code)
Tests uninstallComponent with the engine started. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUninstallEngineBadStopped
public void testUninstallEngineBadStopped() throws Exception(Code)
Tests uninstallComponent with the engine stopped. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



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



testUninstallForceGoodCleanUpException
public void testUninstallForceGoodCleanUpException() throws Exception(Code)
Tests uninstallComponent with the force option with a component that throws an exception in its cleanUp() method.
throws:
  Exception - if an unexpected error occurs.



testUninstallForceGoodOnUninstallCleanUpException
public void testUninstallForceGoodOnUninstallCleanUpException() throws Exception(Code)
Tests uninstallComponent with the force option with a component that throws an exception in both its onUninstall() and its cleanUp() methods.
throws:
  Exception - if an unexpected error occurs.



testUninstallForceGoodOnUninstallException
public void testUninstallForceGoodOnUninstallException() throws Exception(Code)
Tests uninstallComponent with the force option with a component that throws an exception in its onUninstall() method.
throws:
  Exception - if an unexpected error occurs.



testUninstallSharedLibraryBadDependents
public void testUninstallSharedLibraryBadDependents() throws Exception(Code)
Tests uninstallSharedLibrary with dependent components that are either running or stopped. This will fail because all dependent components must be shutdown before the uninstall will proceed.
throws:
  Exception - if an unexpected error occurs.



testUninstallSharedLibraryBadNotFound
public void testUninstallSharedLibraryBadNotFound() throws Exception(Code)
Tests uninstallSharedLibrary with a nonexistent Shared Library.
throws:
  Exception - if an unexpected error occurs.



testUninstallSharedLibraryGood
public void testUninstallSharedLibraryGood() throws Exception(Code)
Tests uninstallSharedLibrary with a good result.
throws:
  Exception - if an unexpected error occurs.



testUninstallSharedLibraryGoodDependents
public void testUninstallSharedLibraryGoodDependents() throws Exception(Code)
Tests uninstallSharedLibrary with dependent components that are already shutdown.
throws:
  Exception - if an unexpected error occurs.



testUnloadBootstrapBadEmptyComponentName
public void testUnloadBootstrapBadEmptyComponentName() throws Exception(Code)
Tests unloadBootstrap with an empty component name. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUnloadBootstrapBadNullComponentName
public void testUnloadBootstrapBadNullComponentName() throws Exception(Code)
Tests unloadBootstrap with a null component name. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUnloadBootstrapBindingGood
public void testUnloadBootstrapBindingGood() throws Exception(Code)
Tests unloadBootstrap for a binding with good results.
throws:
  Exception - if an unexpected error occurs.



testUnloadBootstrapEngineGood
public void testUnloadBootstrapEngineGood() throws Exception(Code)
Tests unloadBootstrap for an engine with good results.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentBadBootstrapLoadFailed
public void testUpgradeComponentBadBootstrapLoadFailed() throws Exception(Code)
Tests upgradeComponent with a failure loading the bootstrap class. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentBadEmptyBootClassName
public void testUpgradeComponentBadEmptyBootClassName() throws Exception(Code)
Tests upgradeComponent with an empty bootstrap class name parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentBadEmptyBootClassPathElementList
public void testUpgradeComponentBadEmptyBootClassPathElementList() throws Exception(Code)
Tests upgradeComponent with an empty bootstrap class path element list parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentBadMissingSharedLibrary
public void testUpgradeComponentBadMissingSharedLibrary() throws Exception(Code)
Tests upgradeComponent with a missing shared library. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentBadNoValidate
public void testUpgradeComponentBadNoValidate() throws Exception(Code)
Tests upgradeComponent without first calling validateComponentForUpgrade(). An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentBadNotFound
public void testUpgradeComponentBadNotFound() throws Exception(Code)
Tests upgradeComponent with a non-existent component. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentBadNullBootClassName
public void testUpgradeComponentBadNullBootClassName() throws Exception(Code)
Tests upgradeComponent with a null bootstrap class name parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentBadNullBootClassPathElementList
public void testUpgradeComponentBadNullBootClassPathElementList() throws Exception(Code)
Tests upgradeComponent with a null bootstrap class path element list parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentBadNullInstallationContext
public void testUpgradeComponentBadNullInstallationContext() throws Exception(Code)
Tests upgradeComponent with a null ComponentInstallationContext parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentBadUpgradeMethodFailed
public void testUpgradeComponentBadUpgradeMethodFailed() throws Exception(Code)
Tests upgradeComponent with a failure in the component's upgrade method. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentGood
public void testUpgradeComponentGood() throws Exception(Code)
Tests upgradeComponent with a good result.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentGoodBootstrapClassPath
public void testUpgradeComponentGoodBootstrapClassPath() throws Exception(Code)
Tests upgradeComponent with a good result with a changed bootstrap class path.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentGoodBootstrapSelfFirst
public void testUpgradeComponentGoodBootstrapSelfFirst() throws Exception(Code)
Tests upgradeComponent with a good result with a changed bootstrap class loader self-first setting.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentGoodComponentClassPath
public void testUpgradeComponentGoodComponentClassPath() throws Exception(Code)
Tests upgradeComponent with a good result with a changed component class path.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentGoodComponentSelfFirst
public void testUpgradeComponentGoodComponentSelfFirst() throws Exception(Code)
Tests upgradeComponent with a good result with a changed component class loader self-first setting.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentGoodDescription
public void testUpgradeComponentGoodDescription() throws Exception(Code)
Tests upgradeComponent with a good result with a changed component description.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentGoodLoggerNames
public void testUpgradeComponentGoodLoggerNames() throws Exception(Code)
Test an upgrade with pre-defined logger names in the installation descriptor extension.
throws:
  Exception - if an unexpected error occurs.



testUpgradeComponentGoodSharedLibrary
public void testUpgradeComponentGoodSharedLibrary() throws Exception(Code)
Tests upgradeComponent with a good result with a new shared library.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeBadBootstrapClassNotFound
public void testValidateComponentForUpgradeBadBootstrapClassNotFound() throws Exception(Code)
Tests validateComponentForUpgrade with a bootstrap class loading failure. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeBadBusy
public void testValidateComponentForUpgradeBadBusy() throws Exception(Code)
Tests validateComponentForUpgrade with a busy component. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeBadComponentClassNotFound
public void testValidateComponentForUpgradeBadComponentClassNotFound() throws Exception(Code)
Tests validateComponentForUpgrade with a component class loading failure. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeBadEmptyBootClassName
public void testValidateComponentForUpgradeBadEmptyBootClassName() throws Exception(Code)
Tests validateComponentForUpgrade with an empty bootstrap class name parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeBadEmptyBootClassPathElementList
public void testValidateComponentForUpgradeBadEmptyBootClassPathElementList() throws Exception(Code)
Tests validateComponentForUpgrade with an empty bootstrap class path element list parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeBadMissingSharedLibrary
public void testValidateComponentForUpgradeBadMissingSharedLibrary() throws Exception(Code)
Tests validateComponentForUpgrade with a missing shared library. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeBadNotFound
public void testValidateComponentForUpgradeBadNotFound() throws Exception(Code)
Tests validateComponentForUpgrade with a non-existent component. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeBadNotShutDown
public void testValidateComponentForUpgradeBadNotShutDown() throws Exception(Code)
Tests validateComponentForUpgrade with a running component. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeBadNullBootClassName
public void testValidateComponentForUpgradeBadNullBootClassName() throws Exception(Code)
Tests validateComponentForUpgrade with a null bootstrap class name parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeBadNullBootClassPathElementList
public void testValidateComponentForUpgradeBadNullBootClassPathElementList() throws Exception(Code)
Tests validateComponentForUpgrade with a null bootstrap class path element list parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeBadNullInstallationContext
public void testValidateComponentForUpgradeBadNullInstallationContext() throws Exception(Code)
Tests validateComponentForUpgrade with a null ComponentInstallationContext parameter. An exception is expected.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeGood
public void testValidateComponentForUpgradeGood() throws Exception(Code)
Tests validateComponentForUpgrade with a good result.
throws:
  Exception - if an unexpected error occurs.



testValidateComponentForUpgradeGoodSharedLibraries
public void testValidateComponentForUpgradeGoodSharedLibraries() throws Exception(Code)
Tests validateComponentForUpgrade with additional Shared Libraries with a good result.
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.