org.kemet.tests
Class TestRoot

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.kemet.tests.TestRoot
All Implemented Interfaces:
junit.framework.Test, IGlobals, IAttr
Direct Known Subclasses:
TestBiliteral, TestDeterminer, TestGrammarManager, TestPartialSequence, TestsPPA, TestsToHieroglyphs, TestsToPhonetic, TestsToTransliteration, TestsToTransliteration, TestsToType, TestsToType, TestTriliteral, TestUniliteral

public abstract class TestRoot
extends junit.framework.TestCase
implements IGlobals, IAttr

Since:
0.6
Author:
fabricemaupin

define global attributes for tests classes.


Field Summary
 
Fields inherited from interface org.kemet.impl.grammar.IGlobals
ALL, ANALYSE_FROM_SIGNS, BILITERAL, CONSONAT, exceptionnalVo, grammarMainClassName, MAX_PART_OF_NOUN, MAX_PART_OF_PREPOSITION, MAX_PART_OF_PRONOUNS, methodNameToManageHieroglyphs, methodNameToManageTransliteration, methodNameToPhoneticRead, methodNameToPhoneticReadWithGlobalApproach, minVersionJRE, NUMBER_OF_TYPE_OF_PHONOGRAMS, patternForHieroglyph, patternForTransliteration, PROPOSITION_TYPE_PPA, selectedGrammar, SEMI_CONSONAT, TO_FORMAT, TO_HIEROGLYPHS, TO_READ, TO_READ_COMPLETE, TO_TRANSLITERATION, TO_TYPE, TRILITERAL, UNILITERAL, vo
 
Fields inherited from interface org.kemet.tests.IAttr
file1, file2, file3, SupportedSequenceFormats, XMLPath
 
Constructor Summary
TestRoot()
           
 
Method Summary
static java.lang.String getFormatType(java.lang.String currentType)
           return the localized type.
abstract  void init()
           initialization method to custom in test classes.
 void setUp()
           set the parameters before execute the tests.
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, setName, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestRoot

public TestRoot()
Method Detail

init

public abstract void init()

initialization method to custom in test classes.


setUp

public void setUp()

set the parameters before execute the tests.

Overrides:
setUp in class junit.framework.TestCase
Since:
0.6

getFormatType

public static java.lang.String getFormatType(java.lang.String currentType)

return the localized type.

Parameters:
currentType - type to localized
Returns:
localized type
Since:
0.6


Copyright © 2008 F. MAUPIN. All Rights Reserved.