com.ashridgetech.jamda.test
Class TransformerTest

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

public class TransformerTest
extends BaseTest

Tests the ModelTransformer and related classes. Invoke via junit.swingui.TestRunner.


Field Summary
protected  CodeGenTransformer transformer
           
 
Fields inherited from class com.ashridgetech.jamda.test.BaseTest
checkTextIgnorePrefixes, classWriter, MAGICDRAW_STYLESHEET_LOCATION, NO_NAMES, NO_TYPES, projectRoot, stringWriter, testFile
 
Constructor Summary
TransformerTest(java.lang.String name)
          Standard constructor required by subclasses of TestCase
 
Method Summary
 void testBasic()
          Tests various basic functions.
 
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, 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

transformer

protected CodeGenTransformer transformer
Constructor Detail

TransformerTest

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

Parameters:
name - name of test to run
Method Detail

testBasic

public void testBasic()
               throws ModelTransformer.TransformException
Tests various basic functions.

ModelTransformer.TransformException


Copyright © 2003 Ashridge Technologies Ltd. All Rights Reserved.