public class DependencyTreeResolutionListenerTest extends AbstractDependencyNodeTest
DependencyTreeResolutionListener
.DependencyTreeResolutionListener
Constructor and Description |
---|
DependencyTreeResolutionListenerTest() |
Modifier and Type | Method and Description |
---|---|
protected Artifact |
createArtifact(String groupId,
String artifactId,
String type,
String version,
String scope) |
protected void |
setUp() |
void |
testAddNode() |
void |
testComplexDependencyTree() |
void |
testIncludeArtifactDuplicate() |
void |
testIncludeArtifactDuplicateWithChildren() |
void |
testOmitForConflictKept() |
void |
testOmitForConflictKeptWithChildren() |
void |
testOmitForConflictOmitted() |
void |
testOmitForConflictOmittedWithChildren() |
void |
testOmitForCycle() |
void |
testSimpleDependencyTree() |
void |
testSimpleDepTreeWithTransitiveDeps() |
createArtifact, createArtifact, createArtifact, createNode, createNode, createNode
atLeastOnce, atMostOnce, defaultMockNameForType, doAll, doAll, doAll, doAll, exactly, mock, mock, never, never, newCoreMock, newDummy, newDummy, newDummy, once, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, onConsecutiveCalls, returnIterator, returnIterator, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, returnValue, throwException
and, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, arrayContaining, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, collectionContaining, collectionContaining, compatibleType, contains, endsWith, eq, eq, eq, eq, eq, eq, eq, eq, eq, eq, hasProperty, hasProperty, isA, isIn, isIn, mapContaining, mapContaining, mapWithKey, mapWithKey, mapWithValue, mapWithValue, not, or, same, startsWith, stringContains, toString
registerToVerify, runBare, unregisterToVerify, verify
countTestCases, createResult, getName, run, run, runTest, setName, tearDown, toString
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
public DependencyTreeResolutionListenerTest()
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void testSimpleDependencyTree()
public void testSimpleDepTreeWithTransitiveDeps()
public void testComplexDependencyTree()
public void testIncludeArtifactDuplicate()
public void testIncludeArtifactDuplicateWithChildren()
public void testOmitForConflictKept()
public void testOmitForConflictKeptWithChildren()
public void testOmitForConflictOmitted()
public void testOmitForConflictOmittedWithChildren()
public void testOmitForCycle()
public void testAddNode()
protected Artifact createArtifact(String groupId, String artifactId, String type, String version, String scope)
createArtifact
in class AbstractDependencyNodeTest
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.