net.firstpartners.rp.mid.global
Class PluginManagerTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.firstpartners.rp.BaseTestCase
              extended by net.firstpartners.rp.mid.global.PluginManagerTests
All Implemented Interfaces:
junit.framework.Test, IBaseCase

public class PluginManagerTests
extends BaseTestCase

PluginManager TestCases

Version:
1.1
Author:
Firstpartners.net

Field Summary
private  KnowledgeSphereManager manager
           
private  PluginManager pluginManager
           
 
Fields inherited from class net.firstpartners.rp.BaseTestCase
DEFAULT_CONTEXT_CONFIG_LOCATION
 
Constructor Summary
PluginManagerTests()
           
 
Method Summary
 void onSetup()
          Set-up for the test after loading the application context by the base testcase
 void testInit()
          Test the initialization of the system
 void testloadPlugins_CategoryStore()
          Test the getCategoryStore method of the PluginManager
 void testloadPlugins_DataExtractors()
          Test the getDataExtractors method of the PluginManager
 void testloadPlugins_FeedbackStore()
          Test the getFeedbackStore method of the PluginManager
 void testloadPlugins_InterrestedInAdd()
          Test the getInterrestedInAdd method of the PluginManager
 void testloadPlugins_InterrestedInFeedback()
          Test the getInterrestedInFeedback method of the PluginManager
 void testloadPlugins_InterrestedInFilterResult()
          Test the getInterrestedInFilterResult method of the PluginManager
 void testloadPlugins_InterrestedInSearch()
          Test the getInterrestedInSearch method of the PluginManager
 void testloadPlugins()
          Test the loadPlugins method of the PluginManager
 
Methods inherited from class net.firstpartners.rp.BaseTestCase
getContexDir, getContext, getContextConfigLocation, setUp
 
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
 

Field Detail

pluginManager

private PluginManager pluginManager

manager

private KnowledgeSphereManager manager
Constructor Detail

PluginManagerTests

public PluginManagerTests()
Method Detail

onSetup

public void onSetup()
             throws java.lang.Exception
Set-up for the test after loading the application context by the base testcase

Throws:
java.lang.Exception - Exception in set-up the test case

testInit

public void testInit()
Test the initialization of the system


testloadPlugins

public void testloadPlugins()
Test the loadPlugins method of the PluginManager


testloadPlugins_CategoryStore

public void testloadPlugins_CategoryStore()
Test the getCategoryStore method of the PluginManager


testloadPlugins_FeedbackStore

public void testloadPlugins_FeedbackStore()
Test the getFeedbackStore method of the PluginManager


testloadPlugins_InterrestedInAdd

public void testloadPlugins_InterrestedInAdd()
Test the getInterrestedInAdd method of the PluginManager


testloadPlugins_InterrestedInSearch

public void testloadPlugins_InterrestedInSearch()
Test the getInterrestedInSearch method of the PluginManager


testloadPlugins_InterrestedInFeedback

public void testloadPlugins_InterrestedInFeedback()
Test the getInterrestedInFeedback method of the PluginManager


testloadPlugins_InterrestedInFilterResult

public void testloadPlugins_InterrestedInFilterResult()
Test the getInterrestedInFilterResult method of the PluginManager


testloadPlugins_DataExtractors

public void testloadPlugins_DataExtractors()
Test the getDataExtractors method of the PluginManager