|
||||||||||
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.TestMev
ossj.common.tck.tests.TestQueryValueSingle
public class TestQueryValueSingle
Test case for ManagedEntityValues
Field Summary |
---|
Fields inherited from class ossj.common.tck.JVTTestBase |
---|
debug, done, EVENT_TIMEOUT, howmany_key, howmany_value, JMS_FACTORY, JNDI_FACT_CLASS_NAME, JNDI_URL, jvtSessionList, LOG_FILE, namingContext, QUOTECHAR, result, return_failed_only, runonce, TESTFILES_HOME, TOPIC_NAME, util |
Method Summary | |
---|---|
protected void |
doGeneric(String testName)
genericTest |
protected void |
setUp()
sets up the TestCase |
static junit.framework.TestSuite |
suite()
|
void |
test_Negative_query_GetAttributeValue_AttributeNameIllegalValue()
DOMAINTEST tests failure of getAttributeValue(a) for a not in getAttributeValues(); |
void |
test_Negative_query_GetAttributeValue_AttributeNameNullValue()
DOMAINTEST tests failure of getAttributeValue(null) |
void |
test_Negative_query_IsPopulated_AttributeNameIllegalValue()
DOMAINTEST tests failure of isPopulated(a) for String a not in getAttributeNames() |
void |
test_Negative_query_IsPopulated_AttributeNameNullValue()
DOMAINTEST tests failure of isPopulated(null) |
void |
test_Negative_query_SetAttributeValue_AttributeNameIllegalValue()
DOMAINTEST tests failure of setAttributeValue(a) for a not in getAttributeNames() |
void |
test_Negative_query_SetAttributeValue_AttributeNameNullValue()
DOMAINTEST tests failure of setAttributeValue(a) for null |
void |
test_Negative_query_SetAttributeValue_IllegalObject()
DOMAINTEST tests failure of setAttributeValue(a) for an illegal object() |
void |
test_Negative_query_SetAttributeValue_PrimitiveNullValue()
DOCUMENT ME! |
void |
test_Negative_query_UnpopulateAttribute_AttributeNameIllegalValue()
DOMAINTEST tests failure of unpopulatedAttribute(a) for a not in getAttributeNames |
void |
test_Negative_query_UnpopulateAttribute_AttributeNameNullValue()
DOMAINTEST tests failure of unpopulatedAttribute(null) |
void |
test_Positive_query_IsPopulated_AttributeNameAllDomainValues()
DOMAINTEST tests isPopulated for all attributes in getAttributeNames() |
void |
test_Positive_query_SetAttributeValue_DomainValue()
|
void |
test_Positive_query_SetAttributeValue_PrimitiveMINMAXValues()
tests setAttributeValue(min/max) for primitive attributes that are not enums |
void |
test_Positive_query_testCloneEqualsImplementation()
Test clone and equals method implementations Expected Result: a = b.clone() a.equals(a) == true b.equals(b) == true a.equals(b) == true b.equals(a) == true |
void |
test_Positive_query_UnpopulateAttribute_AttributeNameAllDomainValues()
DOMAINTEST tests succesful invokation of unpopulateAttribute(a) for all a in getAttributeNames() |
void |
test_query_GetAttributeNames_NamesStartWithLowerCase()
tests that attributes names have length > 0 and start with lowercase letter |
void |
test_query_GetOptionalAttributeNames_InAllAttributes()
tests that all supported optional attibutes are also listed in all attributes and attributes names have length > 0 and start with lowercase letter |
void |
test_query_Query_Type()
tests the public finat static declaration QUERY_TYPE |
void |
test_query_SetAttributeValue_GetPopulatedAttributesNamesContainsAttributeName()
tests that setAttributeValue(a) => a in getPopulatedAttributes() |
void |
test_query_SetAttributeValue_IsPopulated()
tests that setAttributeValue(a) => isPopulated(a) |
void |
test_query_UnpopulateAllAttributes_GetAttributeValueFailsForAll()
tests that unpopulateAlAttributes implies failure of getAttributeValue(a) for all a in getAttributeNames |
void |
test_query_UnpopulateAllAttributes_GetPopulatedAttributesNamesIsEmpty()
tests that unpopulateAlAttributes implies getPopulatedAttributesNamesIsEmpty() is empty |
void |
test_query_UnpopulateAllAttributes_IsPopulatedFalseForAll()
tests that unpopulateAlAttributes implies !isPopulated(a) for all a in getAttributeNames() |
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, tearDown, 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 |
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class TestMev
Exception
public static junit.framework.TestSuite suite() throws Exception
Exception
protected void doGeneric(String testName) throws Exception
Exception
public void test_query_Query_Type() throws Exception
Exception
public void test_query_GetAttributeNames_NamesStartWithLowerCase() throws Exception
Exception
public void test_query_GetOptionalAttributeNames_InAllAttributes() throws Exception
Exception
public void test_Positive_query_IsPopulated_AttributeNameAllDomainValues() throws Exception
Exception
public void test_Negative_query_IsPopulated_AttributeNameNullValue() throws Exception
Exception
public void test_Negative_query_IsPopulated_AttributeNameIllegalValue() throws Exception
Exception
public void test_Positive_query_UnpopulateAttribute_AttributeNameAllDomainValues() throws Exception
Exception
public void test_Negative_query_UnpopulateAttribute_AttributeNameNullValue() throws Exception
Exception
public void test_Negative_query_UnpopulateAttribute_AttributeNameIllegalValue() throws Exception
Exception
public void test_query_UnpopulateAllAttributes_IsPopulatedFalseForAll() throws Exception
Exception
public void test_query_UnpopulateAllAttributes_GetPopulatedAttributesNamesIsEmpty() throws Exception
Exception
public void test_query_UnpopulateAllAttributes_GetAttributeValueFailsForAll() throws Exception
Exception
public void test_Negative_query_SetAttributeValue_AttributeNameNullValue() throws Exception
Exception
public void test_Negative_query_SetAttributeValue_AttributeNameIllegalValue() throws Exception
Exception
public void test_Negative_query_GetAttributeValue_AttributeNameNullValue() throws Exception
Exception
public void test_Negative_query_GetAttributeValue_AttributeNameIllegalValue() throws Exception
Exception
public void test_Positive_query_SetAttributeValue_PrimitiveMINMAXValues() throws Exception
Exception
public void test_Negative_query_SetAttributeValue_PrimitiveNullValue() throws Exception
Exception
- DOCUMENT ME!public void test_Positive_query_SetAttributeValue_DomainValue() throws Exception
Exception
public void test_query_SetAttributeValue_GetPopulatedAttributesNamesContainsAttributeName() throws Exception
Exception
public void test_query_SetAttributeValue_IsPopulated() throws Exception
Exception
public void test_Negative_query_SetAttributeValue_IllegalObject() throws Exception
Exception
public void test_Positive_query_testCloneEqualsImplementation() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |