use of org.commonjava.indy.pkg.npm.content.NPMStoragePathCalculator in project indy by Commonjava.
the class PackageMetadataMergerTest method setup.
@Before
public void setup() throws Exception {
cacheProvider = new FileCacheProvider(temp.newFolder("cache"), new IndyPathGenerator(Collections.singleton(new NPMStoragePathCalculator(new SpecialPathManagerImpl()))), new NoOpFileEventManager(), new TransferDecoratorManager(new NoOpTransferDecorator()), false);
mapper = new IndyObjectMapper(true);
mapper.registerModule(new PackageSerializerModule());
}
Aggregations