| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.ashridgetech.jamda.test.BaseTest
                    |
                    +--com.ashridgetech.jamda.test.LoadingTest
Tests the Model class. Invoke via junit.swingui.TestRunner.
 Assumes the use of the ecomm2j test package.
| Field Summary | 
| Fields inherited from class com.ashridgetech.jamda.test.BaseTest | 
checkTextIgnorePrefixes, classWriter, MAGICDRAW_STYLESHEET_LOCATION, NO_NAMES, NO_TYPES, projectRoot, stringWriter, testFile | 
| Constructor Summary | |
LoadingTest(java.lang.String name)
Standard constructor required by subclasses of TestCase | 
|
| Method Summary | |
protected  void | 
setUp()
 | 
 void | 
testActorsLoad()
Tests that Actors load correctly. | 
 void | 
testAssociationsLoad()
Tests that Associations load correctly. | 
 void | 
testAttributesLoad()
Tests that Attributes load correctly. | 
 void | 
testClassTypesLoad()
Tests that ClassTypes load correctly. | 
 void | 
testDataTypesLoad()
Tests that DataTypes load correctly. | 
 void | 
testInterfaceTypesLoad()
Tests that InterfaceTypes load correctly. | 
 void | 
testOperationsLoad()
Tests that Operations load correctly. | 
 void | 
testPackagesLoad()
Tests that ModelPackages load correctly. | 
 void | 
testProperties()
Tests that Propertys are exposed correctly. | 
 void | 
testStereotypesLoad()
Tests that Stereotypes load correctly. | 
 void | 
testSubSuperTypesLoad()
Tests that subtypes are linked up correctly.  | 
 void | 
testTagDefinitionsLoad()
Tests that TagDefinitions load correctly. | 
| Methods inherited from class com.ashridgetech.jamda.test.BaseTest | 
assertContains, assertContainsAsString, assertContainsOnly, assertContainsOnly, assertContainsOnly, assertContainsOnly, assertEmpty, assertNotContainsAsString, checkAssocEnd, checkAttribute, checkEquals, checkEquals, checkOperation, checkProperty, checkText, checkText, checkTextIgnore, fullPathName, getModel, getText, loadModel, loadModel, testFileName | 
| Methods inherited from class junit.framework.TestCase | 
countTestCases, createResult, getName, run, run, 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, assertTrue, fail, fail | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public LoadingTest(java.lang.String name)
TestCase
name - name| Method Detail | 
protected void setUp()
setUp in class junit.framework.TestCasepublic void testStereotypesLoad()
Stereotypes load correctly.
public void testActorsLoad()
Actors load correctly.
public void testTagDefinitionsLoad()
TagDefinitions load correctly.
public void testPackagesLoad()
ModelPackages load correctly.
public void testDataTypesLoad()
DataTypes load correctly.
public void testClassTypesLoad()
ClassTypes load correctly.
 Also test comments.
public void testInterfaceTypesLoad()
InterfaceTypes load correctly.
public void testSubSuperTypesLoad()
public void testAttributesLoad()
Attributes load correctly.
public void testOperationsLoad()
Operations load correctly.
public void testAssociationsLoad()
Associations load correctly.
public void testProperties()
Propertys are exposed correctly.
  | 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||