Package org.sonatype.nexus.proxy.item

Examples of org.sonatype.nexus.proxy.item.StorageCollectionItem


    // pom + jar + sha1 for both, but sources jar and associated sha1 should be left alone
    assertThat(releaseRemovalResult.getDeletedFileCount(), is(4));
    assertThat(releaseRemovalResult.isSuccessful(), is(true));
    StorageItem item = releases.retrieveItem(new ResourceStoreRequest("org/sonatype/test/1.0"));
    assertThat(item, notNullValue());
    StorageCollectionItem coll = (StorageCollectionItem) item;
    Collection<StorageItem> storageItems = releases.list(false, coll);
    assertThat(storageItems, hasSize(2));
    for (StorageItem storageItem : storageItems) {
      assertThat(storageItem.getName(), containsString("sources"));
    }
View Full Code Here

TOP

Related Classes of org.sonatype.nexus.proxy.item.StorageCollectionItem

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.