|
|||||||||||
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 Actor s load correctly. |
void |
testAssociationsLoad()
Tests that Association s load correctly. |
void |
testAttributesLoad()
Tests that Attribute s load correctly. |
void |
testClassTypesLoad()
Tests that ClassType s load correctly. |
void |
testDataTypesLoad()
Tests that DataType s load correctly. |
void |
testInterfaceTypesLoad()
Tests that InterfaceType s load correctly. |
void |
testOperationsLoad()
Tests that Operation s load correctly. |
void |
testPackagesLoad()
Tests that ModelPackage s load correctly. |
void |
testProperties()
Tests that Property s are exposed correctly. |
void |
testStereotypesLoad()
Tests that Stereotype s load correctly. |
void |
testSubSuperTypesLoad()
Tests that subtypes are linked up correctly. |
void |
testTagDefinitionsLoad()
Tests that TagDefinition s 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
- nameMethod Detail |
protected void setUp()
setUp
in class junit.framework.TestCase
public void testStereotypesLoad()
Stereotype
s load correctly.
public void testActorsLoad()
Actor
s load correctly.
public void testTagDefinitionsLoad()
TagDefinition
s load correctly.
public void testPackagesLoad()
ModelPackage
s load correctly.
public void testDataTypesLoad()
DataType
s load correctly.
public void testClassTypesLoad()
ClassType
s load correctly.
Also test comments.
public void testInterfaceTypesLoad()
InterfaceType
s load correctly.
public void testSubSuperTypesLoad()
public void testAttributesLoad()
Attribute
s load correctly.
public void testOperationsLoad()
Operation
s load correctly.
public void testAssociationsLoad()
Association
s load correctly.
public void testProperties()
Property
s are exposed correctly.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |