org.ocltf.test
Class TranslationTestProcessor

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.ocltf.test.TranslationTestProcessor
All Implemented Interfaces:
junit.framework.Test

public class TranslationTestProcessor
extends junit.framework.TestCase

This object is used to test Translations during development.


Method Summary
protected  ElementFacade findClassifier(java.lang.String fullyQualifiedName)
          Finds the classifier having the.ocltf.llyQualifiedName in the model.
static void main(java.lang.String[] args)
          Runs the test suite
static junit.framework.TestSuite suite()
          Assembles test suite if all known tests
 void testTranslation()
          Tests the current translation set in the currentTestTranslation property.
 
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
 

Method Detail

suite

public static junit.framework.TestSuite suite()
                                       throws java.lang.Exception
Assembles test suite if all known tests

Returns:
non-null test suite
Throws:
java.lang.Exception

findClassifier

protected ElementFacade findClassifier(java.lang.String fullyQualifiedName)
Finds the classifier having the.ocltf.llyQualifiedName in the model.

Returns:
ElementFacade the facade wrapped classifier.

testTranslation

public void testTranslation()
Tests the current translation set in the currentTestTranslation property.


main

public static void main(java.lang.String[] args)
Runs the test suite



Copyright © 2003-2004 Chad Brandon. All Rights Reserved.