org.apache.maven.index.treeview
Class IndexTreeViewTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.codehaus.plexus.PlexusTestCase
              extended by org.apache.maven.index.AbstractIndexCreatorHelper
                  extended by org.apache.maven.index.AbstractNexusIndexerTest
                      extended by org.apache.maven.index.treeview.IndexTreeViewTest
All Implemented Interfaces:
Test

public class IndexTreeViewTest
extends AbstractNexusIndexerTest


Field Summary
protected  boolean debug
           
protected  IndexTreeView indexTreeView
           
protected  File repo
           
 
Fields inherited from class org.apache.maven.index.AbstractNexusIndexerTest
context, indexDir, nexusIndexer
 
Fields inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
DEFAULT_CREATORS, FULL_CREATORS, MIN_CREATORS
 
Constructor Summary
IndexTreeViewTest()
           
 
Method Summary
protected  void prepareNexusIndexer(NexusIndexer nexusIndexer)
           
protected  int prettyPrint(boolean debug, TreeNode node, int level)
           
protected  void setUp()
           
 void testPathIsAboveRealGroup()
           
 void testPathIsRealGroup()
           
 void testPathIsRealGroupArtifact()
           
 void testPathIsRealGroupArtifactVersion()
           
 void testRoot()
           
 
Methods inherited from class org.apache.maven.index.AbstractNexusIndexerTest
assertGroup, tearDown, unprepareNexusIndexer
 
Methods inherited from class org.apache.maven.index.AbstractIndexCreatorHelper
deleteDirectory, getDirectory, testDirectory
 
Methods inherited from class org.codehaus.plexus.PlexusTestCase
customizeComponentConfiguration, customizeContainerConfiguration, customizeContext, getBasedir, getClassLoader, getConfiguration, getConfiguration, getConfigurationName, getContainer, getCustomConfigurationName, getResourceAsStream, getTestConfiguration, getTestConfiguration, getTestFile, getTestFile, getTestPath, getTestPath, lookup, lookup, lookup, lookup, release, setupContainer
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

repo

protected File repo

indexTreeView

protected IndexTreeView indexTreeView

debug

protected boolean debug
Constructor Detail

IndexTreeViewTest

public IndexTreeViewTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class AbstractNexusIndexerTest
Throws:
Exception

prepareNexusIndexer

protected void prepareNexusIndexer(NexusIndexer nexusIndexer)
                            throws Exception
Specified by:
prepareNexusIndexer in class AbstractNexusIndexerTest
Throws:
Exception

prettyPrint

protected int prettyPrint(boolean debug,
                          TreeNode node,
                          int level)
                   throws Exception
Throws:
Exception

testRoot

public void testRoot()
              throws Exception
Throws:
Exception

testPathIsAboveRealGroup

public void testPathIsAboveRealGroup()
                              throws Exception
Throws:
Exception

testPathIsRealGroup

public void testPathIsRealGroup()
                         throws Exception
Throws:
Exception

testPathIsRealGroupArtifact

public void testPathIsRealGroupArtifact()
                                 throws Exception
Throws:
Exception

testPathIsRealGroupArtifactVersion

public void testPathIsRealGroupArtifactVersion()
                                        throws Exception
Throws:
Exception


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.