Class FileIndexResourceFactoryTest
java.lang.Object
com.googlecode.download.maven.plugin.internal.cache.FileIndexResourceFactoryTest
Unit tests for FileIndexResourceFactory
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidURI is a relative URI without protocol spec, so it doesn't contain the host name.voidURI is a relative URI without protocol spec, so it doesn't contain the host name.voidURI is a relative URI without protocol spec, so it doesn't contain the host name.
-
Constructor Details
-
FileIndexResourceFactoryTest
public FileIndexResourceFactoryTest()
-
-
Method Details
-
testGenerateUniqueCacheFileForEmptyResource
public void testGenerateUniqueCacheFileForEmptyResource()URI is a relative URI without protocol spec, so it doesn't contain the host name. We will test if the methodFileIndexResourceFactory.generateUniqueCachePath(String)is able to generate a unique path for the root resource. -
testGenerateUniqueCacheFileForRootResource
public void testGenerateUniqueCacheFileForRootResource()URI is a relative URI without protocol spec, so it doesn't contain the host name. We will test if the methodFileIndexResourceFactory.generateUniqueCachePath(String)is able to generate a unique path for the root resource. -
testGenerateUniqueCacheFileForNonRootResource
public void testGenerateUniqueCacheFileForNonRootResource()URI is a relative URI without protocol spec, so it doesn't contain the host name. We will test if the methodFileIndexResourceFactory.generateUniqueCachePath(String)is able to generate a unique path for a resource containing a file name.
-