jade.jademx.config.jademx.onto
Class JademxConfigTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by jade.jademx.config.jademx.onto.JademxConfigTest
All Implemented Interfaces:
junit.framework.Test

public class JademxConfigTest
extends junit.framework.TestCase

JademxConfig test

Author:
David Bernstein, Caboodle Networks, Inc.

Field Summary
private static java.lang.String cfgString
          toString() version of config
private static java.lang.String slAction
           
private static java.lang.String slActionActor
           
private static java.lang.String slCfgString
          SL version of config
 
Constructor Summary
JademxConfigTest()
           
 
Method Summary
private  jade.jademx.config.jademx.onto.JademxConfig buildCfg()
          make a configuration for testing use programmatically
private  jade.lang.acl.ACLMessage makeMsg()
          make a message for testing use
static junit.framework.Test suite()
          return the implicit suite of tests
 void testJademxConfigToSLString()
          test conversion of JademxConfig to SL using ontology
 void testJademxConfigToString()
          test conversion of JademxConfig to string
 void testSLToJademxConfig()
          test conversion of SL to JademxConfig
 
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

slCfgString

private static final java.lang.String slCfgString
SL version of config

See Also:
Constant Field Values

cfgString

private static final java.lang.String cfgString
toString() version of config

See Also:
Constant Field Values

slActionActor

private static final java.lang.String slActionActor
See Also:
Constant Field Values

slAction

private static final java.lang.String slAction
See Also:
Constant Field Values
Constructor Detail

JademxConfigTest

public JademxConfigTest()
Method Detail

buildCfg

private jade.jademx.config.jademx.onto.JademxConfig buildCfg()
make a configuration for testing use programmatically


makeMsg

private jade.lang.acl.ACLMessage makeMsg()
                                  throws java.lang.Exception
make a message for testing use

Throws:
java.lang.Exception

testJademxConfigToSLString

public void testJademxConfigToSLString()
                                throws java.lang.Exception
test conversion of JademxConfig to SL using ontology

Throws:
java.lang.Exception

testSLToJademxConfig

public void testSLToJademxConfig()
                          throws java.lang.Exception
test conversion of SL to JademxConfig

Throws:
java.lang.Exception

testJademxConfigToString

public void testJademxConfigToString()
                              throws java.lang.Exception
test conversion of JademxConfig to string

Throws:
java.lang.Exception

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