it.eng.spagobi.plugins.test
Class TestPlugin_Configure

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

public class TestPlugin_Configure
extends junit.framework.TestCase


Constructor Summary
TestPlugin_Configure()
           
 
Method Summary
 void testConfigure_ErrorConfigFile()
          The config file exists but the xml structure is not correct 1-Error Message on Console 2-The ConfigurationFrame would be opened to set the config file properly
 void testConfigure_NoConfigFile()
          The config file doesn't exists 1-Error Message on Console 2-The ConfigurationFrame would be opened to set the config file properly
 void testConfigure_NoError()
          The config file exists and it contains correct information 1-The filed servletLocation have to be updated with information get frmo config file 1-The filed tempFolder have to be updated with information get frmo config file
 void testConfigure_ServerLocationInfoError()
          The config file exists but the information that it contains are not correct 1-Error message on the console 2-The ConfigurationFrame would be opened to set the config file properly 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 testConfigure_TempFolderInfoError()
          The config file exists but the information that it contains are not correct 1-Error message on the console 2-The ConfigurationFrame would be opened to set the config file properly 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_Configure

public TestPlugin_Configure()
Method Detail

testConfigure_NoConfigFile

public void testConfigure_NoConfigFile()
The config file doesn't exists 1-Error Message on Console 2-The ConfigurationFrame would be opened to set the config file properly


testConfigure_ErrorConfigFile

public void testConfigure_ErrorConfigFile()
The config file exists but the xml structure is not correct 1-Error Message on Console 2-The ConfigurationFrame would be opened to set the config file properly


testConfigure_ServerLocationInfoError

public void testConfigure_ServerLocationInfoError()
The config file exists but the information that it contains are not correct 1-Error message on the console 2-The ConfigurationFrame would be opened to set the config file properly 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


testConfigure_TempFolderInfoError

public void testConfigure_TempFolderInfoError()
The config file exists but the information that it contains are not correct 1-Error message on the console 2-The ConfigurationFrame would be opened to set the config file properly 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


testConfigure_NoError

public void testConfigure_NoError()
The config file exists and it contains correct information 1-The filed servletLocation have to be updated with information get frmo config file 1-The filed tempFolder have to be updated with information get frmo config file