Package org.apache.maven.index.treeview
Class IndexTreeViewTest
java.lang.Object
org.eclipse.sisu.launch.InjectedTest
org.apache.maven.index.AbstractTestSupport
org.apache.maven.index.AbstractIndexCreatorHelper
org.apache.maven.index.AbstractNexusIndexerTest
org.apache.maven.index.treeview.IndexTreeViewTest
- All Implemented Interfaces:
com.google.inject.Module
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected org.apache.maven.index.treeview.IndexTreeView
protected File
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
prepareNexusIndexer
(org.apache.maven.index.NexusIndexer nexusIndexer) protected int
prettyPrint
(boolean debug, org.apache.maven.index.treeview.TreeNode node, int level) void
setUp()
void
void
void
void
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.apache.maven.index.AbstractTestSupport
getTestFile
Methods inherited from class org.eclipse.sisu.launch.InjectedTest
configure, configure, getBasedir, lookup, lookup, lookup, lookup, scanning, space, spaceModule
-
Field Details
-
repo
-
indexTreeView
protected org.apache.maven.index.treeview.IndexTreeView indexTreeView -
debug
protected boolean debug
-
-
Constructor Details
-
IndexTreeViewTest
public IndexTreeViewTest()
-
-
Method Details
-
setUp
- Overrides:
setUp
in classAbstractNexusIndexerTest
- Throws:
Exception
-
prepareNexusIndexer
protected void prepareNexusIndexer(org.apache.maven.index.NexusIndexer nexusIndexer) throws Exception - Specified by:
prepareNexusIndexer
in classAbstractNexusIndexerTest
- Throws:
Exception
-
prettyPrint
protected int prettyPrint(boolean debug, org.apache.maven.index.treeview.TreeNode node, int level) throws Exception - Throws:
Exception
-
testRoot
- Throws:
Exception
-
testPathIsAboveRealGroup
- Throws:
Exception
-
testPathIsRealGroup
- Throws:
Exception
-
testPathIsRealGroupArtifact
- Throws:
Exception
-
testPathIsRealGroupArtifactVersion
- Throws:
Exception
-