|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase com.dfamaj.textproc.xwm.DefPrimitiveTest
public class DefPrimitiveTest
tests sur les définitions de macros.
Constructor Summary | |
---|---|
DefPrimitiveTest()
|
Method Summary | |
---|---|
void |
setUp()
positionner le debug. |
void |
testDefSetSomeSeparator()
test sur la définition d'une macro qui réenclenche
une macro en lui mettant un séparateur. |
void |
testDefWithOneLongParameterWithSeparator()
test sur la définition d'une macro avec un paramètre un peu plus long qu'un seul token, et avec séparateur. |
void |
testDefWithOneLongParameterWithUnfinishedSeparator()
test sur la définition d'une macro avec un paramètre un peu plus long qu'un seul token, et avec séparateur. |
void |
testDefWithOneParameter()
test sur la définition d'une macro avec un paramètre. |
void |
testDefWithOneParameterUnfinished()
test sur la définition d'une macro avec un paramètre. |
void |
testDefWithOneParameterWithBraces()
test sur la définition d'une macro avec un paramètre et des accolades. |
void |
testDefWithOneParameterWithSeparator()
test sur la définition d'une macro avec un paramètre avec séparateur. |
void |
testDefWithTwoIdenticalParameters()
test sur la définition d'une macro avec deux paramètres, mais qui ont le même nom. |
void |
testDefWithTwoParameters()
test sur la définition d'une macro avec deux paramètres. |
void |
testDefWithTwoParametersFirstWithoutSeparatorSecondWith()
test sur la définition d'une macro avec deux paramètres. |
void |
testDefWithTwoParametersFirstWithSeparatorSecondWithout()
test sur la définition d'une macro avec deux paramètres. |
void |
testDefWithTwoParametersWithSeparators()
test sur la définition d'une macro avec deux paramètres. |
void |
testDefWithTwoParametersWithSeparatorsBothEmpty()
test sur la définition d'une macro avec deux paramètres. |
void |
testDefWithTwoParametersWithSeparatorsFirstEmpty()
test sur la définition d'une macro avec deux paramètres. |
void |
testDefWithTwoParametersWithSeparatorsSecondEmpty()
test sur la définition d'une macro avec deux paramètres. |
void |
testShereDef()
test sur la définition d'une macro simple. |
void |
testShereDefWithSpace()
test sur la définition d'une macro simple. |
void |
testUnfinishedDefPrimitive()
test sur une définition qui ne termine pas. |
void |
testUnfinishedMacroDef()
test sur une mauvaise définition de macro. |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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 |
Constructor Detail |
---|
public DefPrimitiveTest()
Method Detail |
---|
public void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testDefSetSomeSeparator() throws java.lang.Exception
java.lang.Exception
public void testDefWithOneLongParameterWithSeparator() throws java.lang.Exception
java.lang.Exception
public void testDefWithOneLongParameterWithUnfinishedSeparator() throws java.lang.Exception
java.lang.Exception
public void testDefWithOneParameter() throws java.lang.Exception
java.lang.Exception
public void testDefWithOneParameterUnfinished() throws java.lang.Exception
java.lang.Exception
public void testDefWithOneParameterWithBraces() throws java.lang.Exception
java.lang.Exception
public void testDefWithOneParameterWithSeparator() throws java.lang.Exception
java.lang.Exception
public void testDefWithTwoIdenticalParameters() throws java.lang.Exception
java.lang.Exception
public void testDefWithTwoParameters() throws java.lang.Exception
java.lang.Exception
public void testDefWithTwoParametersFirstWithSeparatorSecondWithout() throws java.lang.Exception
java.lang.Exception
public void testDefWithTwoParametersFirstWithoutSeparatorSecondWith() throws java.lang.Exception
java.lang.Exception
public void testDefWithTwoParametersWithSeparators() throws java.lang.Exception
java.lang.Exception
public void testDefWithTwoParametersWithSeparatorsBothEmpty() throws java.lang.Exception
java.lang.Exception
public void testDefWithTwoParametersWithSeparatorsFirstEmpty() throws java.lang.Exception
java.lang.Exception
public void testDefWithTwoParametersWithSeparatorsSecondEmpty() throws java.lang.Exception
java.lang.Exception
public void testShereDef() throws java.lang.Exception
java.lang.Exception
public void testShereDefWithSpace() throws java.lang.Exception
java.lang.Exception
public void testUnfinishedDefPrimitive() throws java.lang.Exception
java.lang.Exception
public void testUnfinishedMacroDef() throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |