it.eng.spagobi.plugins.test
Class TestPlugin_UpdateConfiguration

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byit.eng.spagobi.plugins.test.TestPlugin_UpdateConfiguration
All Implemented Interfaces:
junit.framework.Test

public class TestPlugin_UpdateConfiguration
extends junit.framework.TestCase


Constructor Summary
TestPlugin_UpdateConfiguration()
           
 
Method Summary
 void testUpdateConfiguration_ConfigTempError()
          The Config Folder is not correct: 1-The method under test must return the value false 2-Error on the console 3-The filed servletLocation does not have to be changed because information are not correct 4-The filed tempFolder does not have to be changed because information are not correct
 void testUpdateConfiguration_NoError()
          The information given are correct: 1-The method under test must return the value true 2-The serverLocation have to be changed because a new correct information has been read into the config file 3-The tempFolder have to be changed because a new correct information has been read into the config file *
 void testUpdateConfiguration_ServerLocationInfoError()
          The Server Location is not correct: 1-The method under test must return the value false 2-Error on the console 3-The filed servletLocation does not have to be changed because information are not correct 4-The filed tempFolder does not have to be changed because information are not correct
 void testUpdateConfiguration_TempFolderInfoError()
          The Temp Folder is not correct: 1-The method under test must return the value false 2-Error on the console 3-The filed servletLocation does not have to be changed because information are not correct 4-The filed tempFolder does not have to be changed because information are not correct
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestPlugin_UpdateConfiguration

public TestPlugin_UpdateConfiguration()
Method Detail

testUpdateConfiguration_NoError

public void testUpdateConfiguration_NoError()
The information given are correct: 1-The method under test must return the value true 2-The serverLocation have to be changed because a new correct information has been read into the config file 3-The tempFolder have to be changed because a new correct information has been read into the config file *


testUpdateConfiguration_ConfigTempError

public void testUpdateConfiguration_ConfigTempError()
The Config Folder is not correct: 1-The method under test must return the value false 2-Error on the console 3-The filed servletLocation does not have to be changed because information are not correct 4-The filed tempFolder does not have to be changed because information are not correct


testUpdateConfiguration_ServerLocationInfoError

public void testUpdateConfiguration_ServerLocationInfoError()
The Server Location is not correct: 1-The method under test must return the value false 2-Error on the console 3-The filed servletLocation does not have to be changed because information are not correct 4-The filed tempFolder does not have to be changed because information are not correct


testUpdateConfiguration_TempFolderInfoError

public void testUpdateConfiguration_TempFolderInfoError()
The Temp Folder is not correct: 1-The method under test must return the value false 2-Error on the console 3-The filed servletLocation does not have to be changed because information are not correct 4-The filed tempFolder does not have to be changed because information are not correct