Class NexusIndexerTest

java.lang.Object
org.eclipse.sisu.launch.InjectedTest
All Implemented Interfaces:
com.google.inject.Module

public class NexusIndexerTest extends AbstractIndexCreatorHelper
Author:
Jason van Zyl
  • Constructor Details

    • NexusIndexerTest

      public NexusIndexerTest()
  • Method Details

    • testSingleQuery

      public void testSingleQuery() throws Exception
      Throws:
      Exception
    • testQueryCreatorNG

      public void testQueryCreatorNG() throws Exception
      Throws:
      Exception
    • performQueryCreatorNGSearch

      public void performQueryCreatorNGSearch(org.apache.maven.index.NexusIndexer indexer, org.apache.maven.index.context.IndexingContext context) throws Exception
      Throws:
      Exception
    • testQueryCreatorNGSearch

      public void testQueryCreatorNGSearch() throws Exception
      Throws:
      Exception
    • testQueryCreatorNGSearchOnMergedContext

      public void testQueryCreatorNGSearchOnMergedContext() throws Exception
      Throws:
      Exception
    • checkResults

      public void checkResults(org.apache.maven.index.Field field, String query, org.apache.lucene.search.Query q, org.apache.maven.index.IteratorSearchResponse res, File expectedResults) throws IOException
      Will "print" the result set, and suck up a file and compare the two
      Throws:
      IOException
    • testSearchIterator

      public void testSearchIterator() throws Exception
      Throws:
      Exception
    • testSearchIteratorWithFilter

      public void testSearchIteratorWithFilter() throws Exception
      Throws:
      Exception
    • testSearchGrouped

      public void testSearchGrouped() throws Exception
      Throws:
      Exception
    • testSearchFlat

      public void testSearchFlat() throws Exception
      Throws:
      Exception
    • testSearchPackaging

      public void testSearchPackaging() throws Exception
      Throws:
      Exception
    • testIdentity

      public void testIdentity() throws Exception
      Throws:
      Exception
    • testUpdateArtifact

      public void testUpdateArtifact() throws Exception
      Throws:
      Exception
    • testUnpack

      public void testUnpack() throws Exception
      Throws:
      Exception