java.lang.Object
junit.framework.Assert
junit.framework.TestCase
com.RuntimeCollective.webapps.RuntimeTestCase
com.RuntimeCollective.webapps.test.WebappsTestCase
com.RuntimeCollective.search.test.DefaultSearchTest
- All Implemented Interfaces:
- junit.framework.Test
- public class DefaultSearchTest
- extends com.RuntimeCollective.webapps.test.WebappsTestCase
This is the new-style test script for the search module,
which effectively deprecates SearchTest and SearchTextCase.
New projects should use this.
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class com.RuntimeCollective.webapps.test.WebappsTestCase |
checkBeanStore, getBeanNames, getNameId, getStoreClassForBeanName, initialiseBeanStore, initMailSession, initUserGroups, printBeanStoreClasses, registerBeanClass, registerBeanClass, resetBeanRegister, testCheckEntityBeanStoreValid |
| 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 |
testIndex
private static java.lang.String testIndex
DefaultSearchTest
public DefaultSearchTest(java.lang.String name)
setUp
protected void setUp()
- Description copied from class:
com.RuntimeCollective.webapps.test.WebappsTestCase
- This has been copied over from the theseus test cases, and will
be updated to use the RuntimeTestCase init routines shortly
tearDown
protected void tearDown()
- Description copied from class:
junit.framework.TestCase
- Tears down the fixture, for example, close a network connection.
This method is called after a test is executed.
initSearchIndex
private static void initSearchIndex()
- Initialise the searchIndex
testSearchCriteria
public void testSearchCriteria()
testPhraseSearchCriteria
public void testPhraseSearchCriteria()
testBadCharactersInCriteria
public void testBadCharactersInCriteria()
testMakeSearch
public void testMakeSearch()
testAddRemoveSearchable
public void testAddRemoveSearchable()
testPopulate
public void testPopulate()
testDoSearch
public void testDoSearch()
tearDownIndex
private static void tearDownIndex()
nuke
private static void nuke(java.io.File path)
throws java.io.IOException