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


com.sun.jbi.management.registry.xml.TestGenericQueryImpl

TestGenericQueryImpl
public class TestGenericQueryImpl extends junit.framework.TestCase (Code)


Field Summary
final static  StringCOMPONENT_NAME
    
final static  StringSERVICE_ASSEMBLY_NAME
    
final static  StringSERVICE_UNIT_NAME
    
final static  StringSHARED_LIBRARY_NAME
    
 StringmComponentZipPath
    
 StringmRegFilePath
    
 StringmRegGoodFilePath
    
 StringmServiceAssemblyZipPath
    
 StringmSharedLibraryZipPath
    

Constructor Summary
public  TestGenericQueryImpl(String aTestName)
    

Method Summary
public  voidsetUp()
    
public  voidtearDown()
    
public  voidtestGetAttribute()
    
public  voidtestGetAttributeForOverridenTarget()
     Test getting a configuration attribute for a target which is overriden.
public  voidtestGetAttributeForTarget()
     Test getting a configuration attribute for a target which is not overriden.
public  voidtestGetClustersDeployingServiceAssembly()
    
public  voidtestGetClustersInstallingComponent()
    
public  voidtestGetClustersInstallingSharedLibrary()
    
public  voidtestGetComponentFileName()
    
public  voidtestGetComponentInstallationDescriptor()
    
public  voidtestGetComponentUpgradeNumber()
     This method is used to test the method getComponentUpgradeNumber. upgrade-number is an optional attribute.
public  voidtestGetNonExistantAttribute()
     Test getting a missing configuration attribute, should get back a null.
public  voidtestGetServiceAssemblyDeploymentDescriptor()
    
public  voidtestGetServiceAssemblyFileName()
    
public  voidtestGetServiceUnitDeploymentDescriptor()
    
public  voidtestGetSharedLibraryFileName()
    
public  voidtestGetSharedLibraryInstallationDescriptor()
    
public  voidtestIsComponentRegistered()
    
public  voidtestIsGlobalConfigurationDefined()
    
public  voidtestIsServiceAssemblyDeployed()
    
public  voidtestIsServiceAssemblyRegistered()
    
public  voidtestIsSharedLibraryRegistered()
    
public  voidtestIsSystemComponent()
    
public  voidtestIsSystemSharedLibrary()
    

Field Detail
COMPONENT_NAME
final static String COMPONENT_NAME(Code)



SERVICE_ASSEMBLY_NAME
final static String SERVICE_ASSEMBLY_NAME(Code)



SERVICE_UNIT_NAME
final static String SERVICE_UNIT_NAME(Code)



SHARED_LIBRARY_NAME
final static String SHARED_LIBRARY_NAME(Code)



mComponentZipPath
String mComponentZipPath(Code)



mRegFilePath
String mRegFilePath(Code)



mRegGoodFilePath
String mRegGoodFilePath(Code)



mServiceAssemblyZipPath
String mServiceAssemblyZipPath(Code)



mSharedLibraryZipPath
String mSharedLibraryZipPath(Code)




Constructor Detail
TestGenericQueryImpl
public TestGenericQueryImpl(String aTestName)(Code)




Method Detail
setUp
public void setUp() throws Exception(Code)



tearDown
public void tearDown() throws Exception(Code)



testGetAttribute
public void testGetAttribute() throws Exception(Code)
Test getting a configuration attribute from the domain-configuration



testGetAttributeForOverridenTarget
public void testGetAttributeForOverridenTarget() throws Exception(Code)
Test getting a configuration attribute for a target which is overriden.



testGetAttributeForTarget
public void testGetAttributeForTarget() throws Exception(Code)
Test getting a configuration attribute for a target which is not overriden.



testGetClustersDeployingServiceAssembly
public void testGetClustersDeployingServiceAssembly() throws Exception(Code)

throws:
  Exception - if an unexpected error occurs



testGetClustersInstallingComponent
public void testGetClustersInstallingComponent() throws Exception(Code)

throws:
  Exception - if an unexpected error occurs



testGetClustersInstallingSharedLibrary
public void testGetClustersInstallingSharedLibrary() throws Exception(Code)

throws:
  Exception - if an unexpected error occurs



testGetComponentFileName
public void testGetComponentFileName() throws Exception(Code)
Test getting the component file name



testGetComponentInstallationDescriptor
public void testGetComponentInstallationDescriptor() throws Exception(Code)



testGetComponentUpgradeNumber
public void testGetComponentUpgradeNumber() throws Exception(Code)
This method is used to test the method getComponentUpgradeNumber. upgrade-number is an optional attribute. For a component that does not have it would return 0.



testGetNonExistantAttribute
public void testGetNonExistantAttribute() throws Exception(Code)
Test getting a missing configuration attribute, should get back a null.



testGetServiceAssemblyDeploymentDescriptor
public void testGetServiceAssemblyDeploymentDescriptor() throws Exception(Code)



testGetServiceAssemblyFileName
public void testGetServiceAssemblyFileName() throws Exception(Code)
Test getting the service assembly file name



testGetServiceUnitDeploymentDescriptor
public void testGetServiceUnitDeploymentDescriptor() throws Exception(Code)



testGetSharedLibraryFileName
public void testGetSharedLibraryFileName() throws Exception(Code)
Test getting the shared library file name



testGetSharedLibraryInstallationDescriptor
public void testGetSharedLibraryInstallationDescriptor() throws Exception(Code)



testIsComponentRegistered
public void testIsComponentRegistered() throws Exception(Code)
Test isComponentRegistered(), the component should be removed from the registry, since there is no repos entry and a false is returned



testIsGlobalConfigurationDefined
public void testIsGlobalConfigurationDefined() throws Exception(Code)
Test if domain config exists



testIsServiceAssemblyDeployed
public void testIsServiceAssemblyDeployed() throws Exception(Code)



testIsServiceAssemblyRegistered
public void testIsServiceAssemblyRegistered() throws Exception(Code)
Test isServiceAssemblyRegistered(), the sa should be removed from the registry, since there is no repos entry and a false is returned



testIsSharedLibraryRegistered
public void testIsSharedLibraryRegistered() throws Exception(Code)
Test isSharedLibraryRegistered(), the library should be removed from the registry, since there is no repos entry and a false is returned



testIsSystemComponent
public void testIsSystemComponent() throws Exception(Code)
This method is used to test the system-install attribute



testIsSystemSharedLibrary
public void testIsSystemSharedLibrary() throws Exception(Code)
This method is used to test the system-install attribute for a shared library



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