it.eng.spagobi.plugins.test
Class TestPlugin_Call

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

public class TestPlugin_Call
extends junit.framework.TestCase


Constructor Summary
TestPlugin_Call()
           
 
Method Summary
 void testCall_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 testCall_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 testCall_NoUserFound()
          The config file exists and contains correct information It's the first time the plugin runs and there are no users already logged 1-The LoginFrame would be opened to set the Login properly 2-The serverLocation has been changed because a new correct information has been read into the config file 3-The tempFolder has been changed because a new correct information has been read into the config file
 void testCall_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 field servletLocation does not have to be changed because information are not correct 4-The field tempFolder does not have to be changed because information are not correct
 void testCall_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
 void testCall_UserFound()
          The config file exists and contains correct information It's the first time the plugin runs and there are no users already logged 1-The TreeFrame would be opened 2-The serverLocation has been changed because a new correct information has been read into the config file 3-The tempFolder has been changed because a new correct information has been read into the config file
 
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_Call

public TestPlugin_Call()
Method Detail

testCall_NoConfigFile

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


testCall_ErrorConfigFile

public void testCall_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


testCall_ServerLocationInfoError

public void testCall_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 field servletLocation does not have to be changed because information are not correct 4-The field tempFolder does not have to be changed because information are not correct


testCall_TempFolderInfoError

public void testCall_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


testCall_NoUserFound

public void testCall_NoUserFound()
The config file exists and contains correct information It's the first time the plugin runs and there are no users already logged 1-The LoginFrame would be opened to set the Login properly 2-The serverLocation has been changed because a new correct information has been read into the config file 3-The tempFolder has been changed because a new correct information has been read into the config file


testCall_UserFound

public void testCall_UserFound()
The config file exists and contains correct information It's the first time the plugin runs and there are no users already logged 1-The TreeFrame would be opened 2-The serverLocation has been changed because a new correct information has been read into the config file 3-The tempFolder has been changed because a new correct information has been read into the config file