org.silverpeas.search.indexEngine.model
Class TestDidYouMeanIndexer

java.lang.Object
  extended by org.silverpeas.search.indexEngine.model.TestDidYouMeanIndexer

public class TestDidYouMeanIndexer
extends Object

Test class for org.silverpeas.search.indexEngine.model.DidYouMeanIndexer


Field Summary
static String spellingIndexpath
           
 
Constructor Summary
TestDidYouMeanIndexer()
           
 
Method Summary
static void setUpBeforeClass()
           
 void tearDown()
           
static void tearDownAfterClass()
           
 void testClearSpellIndex()
          Test method for DidYouMeanIndexer.clearSpellIndex(java.lang.String) .
 void testClearSpellIndexWithArrayParameter()
          Test method for org.silverpeas.search.indexEngine.model.DidYouMeanIndexer#clearSpellIdex(java.lang.String[]) .
 void testCreateSpellIndexForAllLanguage()
          Test method for (String, String) .
 void testCreateSpellIndexThreeStringParameter()
          Test method for DidYouMeanIndexer.createSpellIndex(java.lang.String, java.lang.String, java.lang.String) .
 void testCreateSpellIndexTwoStringsParameter()
          Test method for DidYouMeanIndexer.createSpellIndex(java.lang.String, java.lang.String) .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

spellingIndexpath

public static final String spellingIndexpath
Constructor Detail

TestDidYouMeanIndexer

public TestDidYouMeanIndexer()
Method Detail

setUpBeforeClass

public static void setUpBeforeClass()
                             throws Exception
Throws:
Exception

tearDownAfterClass

public static void tearDownAfterClass()
                               throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

testCreateSpellIndexThreeStringParameter

public final void testCreateSpellIndexThreeStringParameter()
Test method for DidYouMeanIndexer.createSpellIndex(java.lang.String, java.lang.String, java.lang.String) .


testCreateSpellIndexTwoStringsParameter

public final void testCreateSpellIndexTwoStringsParameter()
Test method for DidYouMeanIndexer.createSpellIndex(java.lang.String, java.lang.String) .


testClearSpellIndex

public final void testClearSpellIndex()
                               throws IOException
Test method for DidYouMeanIndexer.clearSpellIndex(java.lang.String) .

Throws:
IOException

testClearSpellIndexWithArrayParameter

public final void testClearSpellIndexWithArrayParameter()
                                                 throws IOException
Test method for org.silverpeas.search.indexEngine.model.DidYouMeanIndexer#clearSpellIdex(java.lang.String[]) .

Throws:
IOException

testCreateSpellIndexForAllLanguage

public final void testCreateSpellIndexForAllLanguage()
                                              throws IOException
Test method for (String, String) .

Throws:
IOException
IOException


Copyright © 2016 Silverpeas. All Rights Reserved.