jade.jademx.unit
Class UnitTestBehaviourTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by jade.jademx.unit.UnitTestBehaviourTest
All Implemented Interfaces:
junit.framework.Test

public class UnitTestBehaviourTest
extends junit.framework.TestCase

unit testing test

Author:
David Bernstein, Caboodle Networks, Inc.

Field Summary
private  jade.lang.acl.ACLMessage aclMessage
          non-null ACL message to use
private  jade.jademx.util.iso8601.Duration duration
          non-null duration to use
private  jade.jademx.agent.JademxAgent jademxAgent
          non-null JademxAgent to use
private  java.util.Properties properties
          non-null properties to use
 
Constructor Summary
UnitTestBehaviourTest()
           
 
Method Summary
static junit.framework.Test suite()
          return the implicit suite of tests
 void testNullExpectedMessage()
          test for expected exception when passing null expected message to constructor
 void testNullInjectMessage()
          test for expected exception when passing null inject message to constructor
 void testNullJademxAgent()
          test for expected exception when passing null JademxAgent to constructor
 void testNullProperties()
          test for expected exception when passing null variable properties to constructor
 void testNullTimeout()
          test for expected exception when passing null timeout to constructor
 
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

jademxAgent

private jade.jademx.agent.JademxAgent jademxAgent
non-null JademxAgent to use


aclMessage

private jade.lang.acl.ACLMessage aclMessage
non-null ACL message to use


duration

private jade.jademx.util.iso8601.Duration duration
non-null duration to use


properties

private java.util.Properties properties
non-null properties to use

Constructor Detail

UnitTestBehaviourTest

public UnitTestBehaviourTest()
Method Detail

testNullJademxAgent

public void testNullJademxAgent()
test for expected exception when passing null JademxAgent to constructor


testNullExpectedMessage

public void testNullExpectedMessage()
test for expected exception when passing null expected message to constructor


testNullInjectMessage

public void testNullInjectMessage()
test for expected exception when passing null inject message to constructor


testNullTimeout

public void testNullTimeout()
test for expected exception when passing null timeout to constructor


testNullProperties

public void testNullProperties()
test for expected exception when passing null variable properties to constructor


suite

public static junit.framework.Test suite()
return the implicit suite of tests

Returns:
the implicit suite of tests


Copyright © 2005-2006 Caboodle Networks, Inc.
LGPL license