|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
jade.jademx.util.AclMsgCmpTest
public class AclMsgCmpTest
test jade.jademx.util.AclMsgCmp
TODO: ADD TEST CASES FOR PERMISSIVE HAP COMPARISON IN AID
| Nested Class Summary | |
|---|---|
private class |
AclMsgCmpTest.AclMsgCmpForTest
a private class so can test protected AclMsgCmp methods. |
private class |
AclMsgCmpTest.NullStrToVarListAclMsgCmp
test class for testNullStrToVarStrList |
| Field Summary | |
|---|---|
(package private) java.lang.String |
proxyMsg
|
| Constructor Summary | |
|---|---|
AclMsgCmpTest()
|
|
| Method Summary | |
|---|---|
static junit.framework.Test |
suite()
return the implicit suite of tests |
void |
testAidHapCrossSlot()
Test comparison of messages with AID HAP crossing slots. |
void |
testByteSequenceContent()
test comparison of byte sequence content |
void |
testCaseInsStrNulls()
test nulls in a case-insensitive string slot |
void |
testCompareAidSetCardinality()
test compareAidSet cardinality functionality |
void |
testCompareEnvelope()
test envelope comparison WHICH IS NOT YET IMPLEMENTED. |
void |
testContent()
test conversion of a golden content string to list of strings and vars. |
void |
testContentAIDGlobalization()
test globalization of AID strings in content |
void |
testContentEmbeddedAddresses()
test comparison of embedded addresses within content |
void |
testContentNewlineNormalization()
test content newline normalization |
void |
testContentNulls()
test nulls in content slot |
void |
testContentRandom()
test comparison of content with variable of type random |
void |
testContentStrToVarStrList()
test conversion of a golden content string to list of strings and vars. |
void |
testConversationIdCase()
Test comparison of messages with case-varying conversation-ids. |
void |
testConversationIdConsistent()
Test comparison of messages with consistent conversation-ids. |
void |
testConversationIdInconsistent()
Test comparison of messages with inconsistent conversation-ids. |
void |
testEncoding()
Test comparison of messages with different encodings. |
void |
testEncodingCase()
Test case-insensitivity of encoding comparison. |
void |
testEqualMessages()
Test that equal messages are returned as equal. |
void |
testFilterEmbeddedAddresses()
test AclMsgCmp.filterEmbeddedAddresses() |
void |
testFlags()
test initialization and setting/getting flags |
void |
testHasAtPos()
test AclMsgCmp.hasAtPos() |
void |
testInReplyToCase()
Test comparison of messages with case-varying in-reply-tos. |
void |
testInReplyToConsistent()
Test comparison of messages with consistent in-reply-tos. |
void |
testInReplyToInconsistent()
Test comparison of messages with inconsistent in-reply-tos. |
void |
testLanguage()
Test comparison of messages with different languages. |
void |
testLanguageCase()
Test case-insensitivity of language comparison. |
void |
testNullStrToVarStrList()
test passing null to strToVarStrList |
void |
testOntology()
Test comparison of messages with different ontologies. |
void |
testOntologyCase()
Test case-insensitivity of ontology comparison. |
void |
testPerformative()
Test comparison of messages with different performatives. |
void |
testProtocol()
Test comparison of messages with different protocols. |
void |
testProtocolCase()
Test case-insensitivity of protocol comparison. |
void |
testReceiverSingleton()
Test comparison of messages with different singleton receivers. |
void |
testReceiverSingletonCase()
Test comparison of messages with different-cased singleton receivers. |
void |
testReplyBy()
Test comparison of messages with different reply-by timestamps. |
void |
testReplyIdCrossSlot()
Test comparison of messages with reply-id crossing slots. |
void |
testReplyToSingleton()
Test comparison of messages with different singleton reply-tos. |
void |
testReplyToSingletonCase()
Test comparison of messages with different-cased singleton reply-tos. |
void |
testReplyWithCase()
Test comparison of messages with case-varying reply-withs. |
void |
testReplyWithConsistent()
Test comparison of messages with consistent reply-withs. |
void |
testReplyWithInconsistent()
Test comparison of messages with inconsistent reply-withs. |
void |
testSenderCase()
Test case-insensitivity of sender comparison. |
void |
testSenderHAP()
Test sender HAP comparison. |
void |
testSenderLocalName()
Test sender local name comparison. |
void |
testSenderNulls()
test nulls in sender slot |
void |
testUserPropsAdded()
Test comparison of messages with a user property added. |
void |
testUserPropsChanged()
Test comparison of messages with a user property changed. |
void |
testUserPropsEqual()
Test comparison of messages with same user properties. |
void |
testUserPropsRemoved()
Test comparison of messages with a user property removed. |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
java.lang.String proxyMsg
| Constructor Detail |
|---|
public AclMsgCmpTest()
| Method Detail |
|---|
public void testFlags()
public void testNullStrToVarStrList()
public void testEqualMessages()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testCompareAidSetCardinality()
throws jade.lang.acl.ACLCodec.CodecException
compareAidSet cardinality functionality
ACLCodec.CodecException - converting string to message
public void testSenderCase()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testSenderLocalName()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testSenderHAP()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testSenderNulls()
throws jade.lang.acl.ACLCodec.CodecException
ACLCodec.CodecException
public void testContentNulls()
throws jade.lang.acl.ACLCodec.CodecException
ACLCodec.CodecException
public void testCaseInsStrNulls()
throws jade.lang.acl.ACLCodec.CodecException
ACLCodec.CodecException
public void testReceiverSingletonCase()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testReceiverSingleton()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testReplyToSingletonCase()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testReplyToSingleton()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testPerformative()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testLanguage()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testLanguageCase()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testEncoding()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testEncodingCase()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testOntology()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testOntologyCase()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testProtocol()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testProtocolCase()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testConversationIdConsistent()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testConversationIdCase()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testConversationIdInconsistent()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testInReplyToConsistent()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testInReplyToCase()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testInReplyToInconsistent()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testReplyWithConsistent()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testReplyWithCase()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testReplyWithInconsistent()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testReplyBy()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testUserPropsEqual()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testUserPropsChanged()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testUserPropsAdded()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testUserPropsRemoved()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testAidHapCrossSlot()
throws jade.lang.acl.ACLCodec.CodecException
:sender,
:receiver, and
:reply-to.
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testReplyIdCrossSlot()
throws jade.lang.acl.ACLCodec.CodecException
:reply-with, and
:in-reply-to.
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecExceptionpublic void testContentStrToVarStrList()
public void testHasAtPos()
public void testFilterEmbeddedAddresses()
public void testByteSequenceContent()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testContentNewlineNormalization()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testContentAIDGlobalization()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testContent()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testContentRandom()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testContentEmbeddedAddresses()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.ACLCodec.CodecException - converting string to message
jade.lang.acl.ACLCodec.CodecException
public void testCompareEnvelope()
throws jade.lang.acl.ACLCodec.CodecException
jade.lang.acl.ACLCodec.CodecExceptionpublic static junit.framework.Test suite()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||