Version: 1.1.1

ca.ucalgary.seahawk.services.test
Class MobyClientTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by ca.ucalgary.seahawk.services.test.MobyClientTestCase
All Implemented Interfaces:
junit.framework.Test

public class MobyClientTestCase
extends junit.framework.TestCase


Field Summary
static String TEST_HASDATA
           
static String TEST_HASDATA_CLASSNAME
           
static String TEST_HASDATA_MEMBERNAME
           
static String TEST_HASDATA_MEMBERS1_CLASS
           
static int TEST_HASDATA_MEMBERS1_COUNT
           
static int TEST_HASDATA_MEMBERS2_COUNT
           
static int TEST_HASDATA_NUMOBJS
           
static String TEST_INHERIT_CLASSNAME
           
static int TEST_INHERIT_NUMOBJS
           
static String TEST_INHERITMEMBER_CLASSNAME
           
static int TEST_INHERITMEMBER_NUMOBJS
           
static String TEST_INHERITMEMBER_RESOURCE
           
static String TEST_RULES_RESOURCE1
           
static String TEST_RULES_RESOURCE2
           
static String TEST_RULES_RESOURCE3
           
 
Constructor Summary
MobyClientTestCase(String name)
           
 
Method Summary
static void main(String[] args)
           
 void setUp()
          Sets up the test fixture.
static junit.framework.Test suite()
           
 void testMemberInheritance()
           
 void testRegexHASRelation()
           
 void testRegexInheritance()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TEST_RULES_RESOURCE1

public static final String TEST_RULES_RESOURCE1
See Also:
Constant Field Values

TEST_HASDATA

public static final String TEST_HASDATA
See Also:
Constant Field Values

TEST_HASDATA_NUMOBJS

public static final int TEST_HASDATA_NUMOBJS
See Also:
Constant Field Values

TEST_HASDATA_CLASSNAME

public static final String TEST_HASDATA_CLASSNAME
See Also:
Constant Field Values

TEST_HASDATA_MEMBERNAME

public static final String TEST_HASDATA_MEMBERNAME
See Also:
Constant Field Values

TEST_HASDATA_MEMBERS1_CLASS

public static final String TEST_HASDATA_MEMBERS1_CLASS
See Also:
Constant Field Values

TEST_HASDATA_MEMBERS1_COUNT

public static final int TEST_HASDATA_MEMBERS1_COUNT
See Also:
Constant Field Values

TEST_HASDATA_MEMBERS2_COUNT

public static final int TEST_HASDATA_MEMBERS2_COUNT
See Also:
Constant Field Values

TEST_RULES_RESOURCE2

public static final String TEST_RULES_RESOURCE2
See Also:
Constant Field Values

TEST_INHERIT_NUMOBJS

public static final int TEST_INHERIT_NUMOBJS
See Also:
Constant Field Values

TEST_INHERIT_CLASSNAME

public static final String TEST_INHERIT_CLASSNAME
See Also:
Constant Field Values

TEST_RULES_RESOURCE3

public static final String TEST_RULES_RESOURCE3
See Also:
Constant Field Values

TEST_INHERITMEMBER_RESOURCE

public static final String TEST_INHERITMEMBER_RESOURCE
See Also:
Constant Field Values

TEST_INHERITMEMBER_NUMOBJS

public static final int TEST_INHERITMEMBER_NUMOBJS
See Also:
Constant Field Values

TEST_INHERITMEMBER_CLASSNAME

public static final String TEST_INHERITMEMBER_CLASSNAME
See Also:
Constant Field Values
Constructor Detail

MobyClientTestCase

public MobyClientTestCase(String name)
Method Detail

setUp

public void setUp()
Sets up the test fixture. Called before every test case method.

Overrides:
setUp in class junit.framework.TestCase

testRegexHASRelation

public void testRegexHASRelation()

testRegexInheritance

public void testRegexInheritance()

testMemberInheritance

public void testMemberInheritance()

suite

public static junit.framework.Test suite()
Returns:
a test suite for all the test methods of this test case.

main

public static void main(String[] args)

Version: 1.1.1

Submit a bug or feature
Generated: Sat May 29 04:26:35 EDT 2010