|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
ossj.common.tck.JVTTestBase
ossj.common.tck.tests.XmlTests
public class XmlTests
XmlTests Class Implement the XML Mesaging Mandatory Test of the JSR144 specification.
Field Summary | |
---|---|
boolean |
done
|
junit.framework.TestResult |
result
|
Fields inherited from class ossj.common.tck.JVTTestBase |
---|
debug, EVENT_TIMEOUT, howmany_key, howmany_value, JMS_FACTORY, JNDI_FACT_CLASS_NAME, JNDI_URL, jvtSessionList, LOG_FILE, namingContext, QUOTECHAR, return_failed_only, runonce, TESTFILES_HOME, TOPIC_NAME, util |
Constructor Summary | |
---|---|
XmlTests(String name)
Creates a new CommonAPIXMLTests object. |
Method Summary | |
---|---|
void |
setUp()
Initialize every test |
static junit.framework.TestSuite |
suite()
Build the suite of test |
void |
tearDown()
|
void |
test_Negative_xml_query_NullQuery()
Query managed entities using null query type Success if querry(null) throws OssIllegalArgumentException |
void |
test_Negative_xml_update_NullUpv()
Update procedure using null type Success if update(null) throws OssIllegalArgumentException |
void |
test_Positive_xml_getEventTypes()
Verify that the JVT support at least one event type. For each Event type, verify also the corresponding EventPropertyDescriptor using the factory. |
void |
test_xml_GetManagedEntityTypes_ContainsACTIVATE()
getManagedEntityTypes, instantiated from TestBasics verify that the JVT support at least one managed Entity type using getManagedEntityTypes |
void |
test_xml_GetQueryTypes_IsNotNull()
verify that JVT support at least one query type using getNamedQueryTypes. getNamedQueryTypes instantiated from TestBasics |
void |
test_xml_GetSupportedOperations_IsSubsetOfJVTSessionOption()
GetSupportedOperations instantiated from TestBasics. just call getSupportedOptionalOperations |
void |
test_xml_GetUpvTypes_IsNotNull()
verify that JVT support at least one query type using getUpdateProcedureTypes. getUpdateProcedureTypes instantiated from TestBasics |
void |
test_xml_Queue_JndiName()
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 |
Methods inherited from class ossj.common.tck.JVTTestBase |
---|
assertTrue, assertTrue, assertTrueMsg, fail, fail, getEnvironment, getInstanceOf, init, log, log, run, run |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, fail |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean done
public junit.framework.TestResult result
Constructor Detail |
---|
public XmlTests(String name) throws Exception
name
- the test name
Exception
- anyMethod Detail |
---|
public void setUp()
setUp
in class junit.framework.TestCase
public void tearDown()
tearDown
in class junit.framework.TestCase
public static junit.framework.TestSuite suite() throws Exception
Exception
- ...public void test_xml_Queue_JndiName() throws Exception
Exception
public void test_xml_GetManagedEntityTypes_ContainsACTIVATE() throws Exception
Success if the the return array is not null and not empty
Exception
public void test_xml_GetQueryTypes_IsNotNull() throws Exception
Success if the the return array is not null and not empty
Exception
public void test_xml_GetUpvTypes_IsNotNull() throws Exception
Success if the the return array is not null
Exception
public void test_xml_GetSupportedOperations_IsSubsetOfJVTSessionOption() throws Exception
Success if no exceptiuon is thrown.
Exception
public void test_Negative_xml_query_NullQuery() throws Exception
Exception
- DOCUMENT ME!
TCKException
- DOCUMENT ME!public void test_Negative_xml_update_NullUpv() throws Exception
Exception
- DOCUMENT ME!
TCKException
- DOCUMENT ME!public void test_Positive_xml_getEventTypes() throws Exception
Exception
- DOCUMENT ME!
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |