org.kemet.tests.determiner
Class TestDeterminer

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

public class TestDeterminer
extends TestRoot

Since:
0.6
Author:
fabricemaupin

Tests for determiners management.


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
TestDeterminer()
           
 
Method Summary
 void init()
           set the parameters before execute the tests.
 void test1()
           verify which is the substitute for determiners (Z5) and the number of substitutes (must be equal to 1).
 void test2()
           verify if the determiner used for ideogram is the right determiner (Z1) and the number of these special determiners (must be equal to 1).
 void test3()
           verify if the determiner used for define the feminine grammatical kind is the right determiner (X1) and the number of these special determiners (must be equal to 1).
 
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

TestDeterminer

public TestDeterminer()
Method Detail

init

public void init()

set the parameters before execute the tests.

Specified by:
init in class TestRoot
Since:
0.6

test1

public void test1()

verify which is the substitute for determiners (Z5) and the number of substitutes (must be equal to 1).

Since:
0.6

test2

public void test2()

verify if the determiner used for ideogram is the right determiner (Z1) and the number of these special determiners (must be equal to 1).

Since:
0.6

test3

public void test3()

verify if the determiner used for define the feminine grammatical kind is the right determiner (X1) and the number of these special determiners (must be equal to 1).

Since:
0.6


Copyright © 2008 F. MAUPIN. All Rights Reserved.