Dresden OCL Toolkit

tudresden.ocl.test
Class TestJavaGenerator

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bytudresden.ocl.test.TestJavaGenerator
All Implemented Interfaces:
junit.framework.Test

public class TestJavaGenerator
extends junit.framework.TestCase


Field Summary
(package private) static int index
           
(package private) static StringBuffer javaFile
           
(package private) static String oclLibPackage
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
TestJavaGenerator(String n)
           
 
Method Summary
protected  void assertGenerate(String ocl, String java)
           
protected  void assertGenerate(String ocl, String[] java)
           
 void testColLiteral()
           
 void testCompile()
           
 void testElements()
           
 void testIterate()
           
 void testLet()
           
 void testLogExpressions()
           
 void testPostConstraints()
           
 void testPostfix()
           
 void testPre()
           
 
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

javaFile

static StringBuffer javaFile

index

static int index

oclLibPackage

static String oclLibPackage
Constructor Detail

TestJavaGenerator

public TestJavaGenerator(String n)
Method Detail

testLet

public void testLet()

testColLiteral

public void testColLiteral()

testPostfix

public void testPostfix()

testIterate

public void testIterate()

testLogExpressions

public void testLogExpressions()

testElements

public void testElements()

testPre

public void testPre()

testCompile

public void testCompile()

testPostConstraints

public void testPostConstraints()

assertGenerate

protected void assertGenerate(String ocl,
                              String java)

assertGenerate

protected void assertGenerate(String ocl,
                              String[] java)

Dresden OCL Toolkit

Submit a bug
Developed at the Dresden University of Technology.
This software is published under the GNU Lesser General Public License.