public class CommandServiceTest extends CoserTestAbstract
| Modifier and Type | Field and Description |
|---|---|
protected CommandService |
commandService |
protected ProjectService |
projectService |
config, serviceContext, testDirectory| Constructor and Description |
|---|
CommandServiceTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
initService() |
void |
testDeleteLine()
Test la suppression correcte d'une ligne.
|
void |
testDeleteLineUndo()
Test la suppression correcte d'une ligne puis le rétablissement
de la ligne supprimée.
|
void |
testDeleteLineUndoAlreadyExists()
Test que la double annulation d'un retablissement de ligne
lance une exception.
|
void |
testDeleteLineWrong()
Test la suppression incorrecte d'une ligne.
|
void |
testModifyFieldValue()
Test la commande de modification de valeur des champs.
|
void |
testModifyFieldValueError()
Test la commande de modification de valeur des champs alors que la valeur
attendu avant de remplacer est fausse.
|
cleanDirectory, copyDirectoryContent, createTestProject, getFile, initConfig, initProjectDatabase, openTestProject, setUpClassLoaderprotected CommandService commandService
protected ProjectService projectService
public void initService()
public void testDeleteLine()
throws CoserBusinessException
CoserBusinessExceptionpublic void testDeleteLineWrong()
throws CoserBusinessException
CoserBusinessExceptionpublic void testDeleteLineUndo()
throws CoserBusinessException
CoserBusinessExceptionpublic void testDeleteLineUndoAlreadyExists()
throws CoserBusinessException
CoserBusinessExceptionpublic void testModifyFieldValue()
throws CoserBusinessException
CoserBusinessExceptionpublic void testModifyFieldValueError()
throws CoserBusinessException
CoserBusinessExceptionCopyright © 2010–2015 Ifremer. All rights reserved.