com.ashridgetech.jamda.test
Class LoadingTest

java.lang.Object
  |
  +--junit.framework.Assert
        |
        +--junit.framework.TestCase
              |
              +--com.ashridgetech.jamda.test.BaseTest
                    |
                    +--com.ashridgetech.jamda.test.LoadingTest
All Implemented Interfaces:
junit.framework.Test

public class LoadingTest
extends BaseTest

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

LoadingTest

public LoadingTest(java.lang.String name)
Standard constructor required by subclasses of TestCase

Parameters:
name - name
Method Detail

setUp

protected void setUp()
Overrides:
setUp in class junit.framework.TestCase

testStereotypesLoad

public void testStereotypesLoad()
Tests that Stereotypes load correctly.


testActorsLoad

public void testActorsLoad()
Tests that Actors load correctly.


testTagDefinitionsLoad

public void testTagDefinitionsLoad()
Tests that TagDefinitions load correctly.


testPackagesLoad

public void testPackagesLoad()
Tests that ModelPackages load correctly.


testDataTypesLoad

public void testDataTypesLoad()
Tests that DataTypes load correctly.


testClassTypesLoad

public void testClassTypesLoad()
Tests that ClassTypes load correctly. Also test comments.


testInterfaceTypesLoad

public void testInterfaceTypesLoad()
Tests that InterfaceTypes load correctly.


testSubSuperTypesLoad

public void testSubSuperTypesLoad()
Tests that subtypes are linked up correctly.


testAttributesLoad

public void testAttributesLoad()
Tests that Attributes load correctly.


testOperationsLoad

public void testOperationsLoad()
Tests that Operations load correctly.


testAssociationsLoad

public void testAssociationsLoad()
Tests that Associations load correctly.


testProperties

public void testProperties()
Tests that Propertys are exposed correctly.



Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.