Test if the given JNDI name follows:
System/System1/ApplicationType/Common/Application/1-1;1-1;ReferenceImplementation/Comp/name
or
System/System1/ApplicationType/Common/Application/1-1;1-1;ReferenceImplementation/Resource/name
Simple class to provide more detailed information for unexpected implementation exceptions
The implementation exception is wrapped, a description added an the new TCKException thrown
Test Value and Value type and key pattern
test if VALUE_TYPE field is declared
test it VALUE_TYPE field is public final static String
test if the declared type exist (call forName)
test if the class is of the declared type (decalreType.isAssignableFrom)
test if the VALUE_TYPE ends with "Value"
test if the VALUE_TYPE corresponding interface exists
Test Value and Value type and key pattern
test if VALUE_TYPE field is declared
test it VALUE_TYPE field is public final static String
test if the declared type exist (call forName)
test if the class is of the declared type (decalreType.isAssignableFrom)
test if the VALUE_TYPE ends with "Value"
test if the VALUE_TYPE corresponding interface exists
Test Value and Value type and key pattern
test if VALUE_TYPE field is declared
test it VALUE_TYPE field is public final static String
test if the declared type exist (call forName)
test if the class is of the declared type (decalreType.isAssignableFrom)
test if the VALUE_TYPE ends with "Value"
test if the VALUE_TYPE corresponding key interface exists
test if the get/set/make methods exist and use/return the correct key type
test if set(make) don't throw exceptions
tests that attributes names have length > 0 and start with lowercase letter
- call getAttributeNames check if return array length>0 and != null
- Fall all attribute names check name length >0 name following bean convention
bean spec: However to support the occasional use of all
upper-case names, we check if the first two characters
of the name are both upper case and if so leave it alone.
tests that getSettableAttributesNames is a subset of getAttributeNames<
Get the settable attribute list and check that all attribute names are also present in the list returned by getAttributeNames
Test if the given JNDI name follows:
System/System1/ApplicationType/Common/Application/1-1;1-1;ReferenceImplementation/Comp/name
or
System/System1/ApplicationType/Common/Application/1-1;1-1;ReferenceImplementation/Resource/name
tests failure of isPopulated(a) for String a not in getAttributeNames()
Successed if java.lang.IllegalArgumentException or javax.oss.OssUnsupportedAttributeException is thrown
Test managed entity value using unsupported type
Success if OssIllegalArgumentException is thrown when an invalid (not returned by getTypes) type is given
Try to find and test methods with the format ManagedEntityKey methodname(ManagedEntityValue)
Success if at leat one method with the profile ManagedEntityKey (ManagedEntityValue) found
(the method is called anyway (exception or valid retrn value are correct)
Try to find and test methods with the format ManagedEntityKeyResults[] methodname(ManagedEntityValue[])
If call to the method is successful the isSuccess or getException method are called on all returned ManagedEntityKeyresults
Success if at leat one method with the profile MManagedEntityKeyResults[] methodname(ManagedEntityValue[]) found
(the method is called anyway (exception or valid retrn value are correct)
Try to find and test methods with the format ManagedEntityValue[] methodname(ManagedEntityKeys[])
If call to the method is successful the isSuccess or getException method are called on all returned ManagedEntityKeyresults
Success if at leat one method with the profile ManagedEntityValue[] methodname(ManagedEntityKey[]) found
(the method is called anyway (exception or valid retrn value are correct)
Try to find and test methods with the format ManagedEntityValue methodname(ManagedEntitykey)
If call to the method is successful the isSuccess or getException method are called on all returned ManagedEntityKeyresults
Success if at leat one method with the profile ManagedEntityValue methodname(ManagedEntitykey) found
(the method is called anyway (exception or valid retrn value are correct)
Try to find and test methods with the format void methodname(ManagedEntitykey)
If call to the method is successful the isSuccess or getException method are called on all returned ManagedEntityKeyresults
Success if at leat one method with the profile void methodname(ManagedEntitykey) found
(the method is called anyway (exception or valid retrn value are correct)
Try to find and test methods with the format void methodname(ManagedEntityValue)
If call to the method is successful the isSuccess or getException method are called on all returned ManagedEntityKeyresults
Success if at leat one method with the profile void methodname(ManagedEntityValue) found
(the method is called anyway (exception or valid retrn value are correct)
Check presence of CBE interfaces implementations
Search only in directoryies and jar file name starting with "oss"
Expected Result:
a hashtable completed with all CBE interfaces from test_Positive_getCbeInterfaces
as key and ArrayList that contains all implementation Classes as value
Check presence of CBE interfaces implementations
Search only in directoryies and jar file name starting with "oss"
Expected Result:
a hashtable completed with all CBE interfaces from test_Positive_getCbeInterfaces
as key and ArrayList that contains all implementation Classes as value
test if QUERY_TYPE field is declared
test it QUERY_TYPE field is public final static String
test if the declared type exist (call forName)
test if the class is of the declared type (decalreType.isAssignableFrom)
test if the QUERY_TYPE corresponding interface exists
test if UPDATE_TYPE field is declared
test it UPDATE_TYPE field is public final static String
test if the declared type exist (call forName)
test if the class is of the declared type (decalreType.isAssignableFrom)
test if the UPDATE_TYPE corresponding interface exists
Test if the given JNDI name follows:
System/System1/ApplicationType/Common/Application/1-2;1-2;ReferenceImplementation/Comp/name
or
System/System1/ApplicationType/Common/Application/1-2;1-2;ReferenceImplementation/Resource/name
Infinit Loop
For all the messages received via the topic:
verify they are of the type javax.oss.Event
contains time and applicationDN properties
is cloneable