|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.maven.it.AbstractMavenIntegrationTestCase
org.apache.maven.it.MavenITmng1895ScopeConflictResolutionTest
public class MavenITmng1895ScopeConflictResolutionTest
This is a test set for MNG-1895.
Field Summary |
---|
Fields inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase |
---|
ALL_MAVEN_VERSIONS |
Constructor Summary | |
---|---|
MavenITmng1895ScopeConflictResolutionTest()
|
Method Summary | |
---|---|
void |
testitCompileVsProvided()
Verify that for a dependency being referenced in compile and in provided scope, compile scope wins. |
void |
testitCompileVsRuntime()
Verify that for a dependency being referenced in compile and in runtime scope, compile scope wins. |
void |
testitCompileVsTest()
Verify that for a dependency being referenced in compile and in test scope, compile scope wins. |
void |
testitDirectVsIndirect()
Verify that for a dependency being referenced in two different scopes, the scope given directly in the POM always wins, even if weaker than the scope of the transitive dependency. |
void |
testitProvidedVsTest()
Verify that for a dependency being referenced in provided and in test scope, provided scope wins. |
void |
testitRuntimeVsProvided()
Verify that for a dependency being referenced in runtime and in provided scope, runtime scope wins. |
void |
testitRuntimeVsTest()
Verify that for a dependency being referenced in runtime and in test scope, runtime scope wins. |
Methods inherited from class org.apache.maven.it.AbstractMavenIntegrationTestCase |
---|
matchesVersionRange, newVerifier, newVerifier, newVerifier, newVerifier, requiresJavaVersion, requiresMavenVersion, runTest, setupLocalRepo |
Methods inherited from class junit.framework.TestCase |
---|
countTestCases, createResult, getName, run, run, runBare, setName, setUp, tearDown, 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 |
Constructor Detail |
---|
public MavenITmng1895ScopeConflictResolutionTest()
Method Detail |
---|
public void testitDirectVsIndirect() throws Exception
Exception
public void testitCompileVsRuntime() throws Exception
Exception
public void testitCompileVsTest() throws Exception
Exception
public void testitCompileVsProvided() throws Exception
Exception
public void testitRuntimeVsTest() throws Exception
Exception
public void testitRuntimeVsProvided() throws Exception
Exception
public void testitProvidedVsTest() throws Exception
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |