diff options
author | Brett Porter <brett@apache.org> | 2011-03-26 11:54:11 +0000 |
---|---|---|
committer | Brett Porter <brett@apache.org> | 2011-03-26 11:54:11 +0000 |
commit | 95b297a2ae3e667109e74a39e2ff2583af422752 (patch) | |
tree | 7389a5166d93d2affc2bba0c1078726d247a134e /archiva-modules/metadata | |
parent | eec6cf2baf16ad570f9679972ae61d4135174ba0 (diff) | |
download | archiva-95b297a2ae3e667109e74a39e2ff2583af422752.tar.gz archiva-95b297a2ae3e667109e74a39e2ff2583af422752.zip |
[MRM-1327] use nodes for dependencies, make several notes about fixes required to properly isolate maven2 pieces
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1085704 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/metadata')
-rw-r--r-- | archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java b/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java index 6b04e845a..9eea712e5 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java +++ b/archiva-modules/metadata/metadata-repository-api/src/test/java/org/apache/archiva/metadata/repository/AbstractMetadataRepositoryTest.java @@ -261,6 +261,7 @@ public abstract class AbstractMetadataRepositoryTest d.setSystemPath( "system path" ); d.setType( "type" ); d.setVersion( "version" ); + d.setOptional( true ); metadata.addDependency( d ); repository.updateProjectVersion( TEST_REPO_ID, TEST_NAMESPACE, TEST_PROJECT, metadata ); @@ -303,6 +304,7 @@ public abstract class AbstractMetadataRepositoryTest assertEquals( "system path", d.getSystemPath() ); assertEquals( "type", d.getType() ); assertEquals( "version", d.getVersion() ); + assertTrue( d.isOptional() ); } public void testUpdateProjectReference() |