Package org.apache.maven.index
Class NexusIndexerTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.codehaus.plexus.PlexusTestCase
org.apache.maven.index.AbstractTestSupport
org.apache.maven.index.AbstractIndexCreatorHelper
org.apache.maven.index.NexusIndexerTest
- All Implemented Interfaces:
junit.framework.Test
- Author:
- Jason van Zyl
-
Field Summary
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckResults(Field field, String query, org.apache.lucene.search.Query q, IteratorSearchResponse res, File expectedResults) Will "print" the result set, and suck up a file and compare the twovoidperformQueryCreatorNGSearch(NexusIndexer indexer, IndexingContext context) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
deleteDirectory, getDirectory, setUp, testDirectoryMethods inherited from class org.apache.maven.index.AbstractTestSupport
customizeContainerConfigurationMethods inherited from class org.codehaus.plexus.PlexusTestCase
customizeContext, getBasedir, getClassLoader, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer, tearDown, teardownContainerMethods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
-
Constructor Details
-
NexusIndexerTest
public NexusIndexerTest()
-
-
Method Details
-
testSingleQuery
- Throws:
Exception
-
testQueryCreatorNG
- Throws:
Exception
-
performQueryCreatorNGSearch
public void performQueryCreatorNGSearch(NexusIndexer indexer, IndexingContext context) throws Exception - Throws:
Exception
-
testQueryCreatorNGSearch
- Throws:
Exception
-
testQueryCreatorNGSearchOnMergedContext
- Throws:
Exception
-
checkResults
public void checkResults(Field field, String query, org.apache.lucene.search.Query q, IteratorSearchResponse res, File expectedResults) throws IOException Will "print" the result set, and suck up a file and compare the two- Throws:
IOException
-
testSearchIterator
- Throws:
Exception
-
testSearchIteratorWithFilter
- Throws:
Exception
-
testSearchGrouped
- Throws:
Exception
-
testSearchFlat
- Throws:
Exception
-
testSearchPackaging
- Throws:
Exception
-
testIdentity
- Throws:
Exception
-
testUpdateArtifact
- Throws:
Exception
-
testUnpack
- Throws:
Exception
-