org.kemet.tests.basic
Class TestGrammarManager

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.kemet.tests.TestRoot
              extended by org.kemet.tests.basic.TestGrammarManager
All Implemented Interfaces:
junit.framework.Test, IGlobals, IAttr

public class TestGrammarManager
extends TestRoot

Since:
0.1
Author:
fabricemaupin

Grammar Manager Tests.


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
TestGrammarManager()
           
 
Method Summary
 void init()
           set the parameters before execute the tests.
 void testInitialization()
           test for initialisation of grammar manager.
 void testOthersProcess()
           test if the others process in grammar manager are well.
 void testValues()
           test if the returned values are correct.
 
Methods inherited from class org.kemet.tests.TestRoot
getFormatType, setUp
 
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

TestGrammarManager

public TestGrammarManager()
Method Detail

init

public void init()

set the parameters before execute the tests.

Specified by:
init in class TestRoot
Since:
0.1

testInitialization

public void testInitialization()

test for initialisation of grammar manager.

Since:
0.1

testOthersProcess

public void testOthersProcess()

test if the others process in grammar manager are well.

Since:
0.6

testValues

public void testValues()

test if the returned values are correct.

Since:
0.1


Copyright © 2008 F. MAUPIN. All Rights Reserved.