Index
All Classes and Interfaces|All Packages
C
- com.googlecode.download.maven.plugin.internal - package com.googlecode.download.maven.plugin.internal
- com.googlecode.download.maven.plugin.internal.cache - package com.googlecode.download.maven.plugin.internal.cache
F
- FileBackedIndexTest - Class in com.googlecode.download.maven.plugin.internal.cache
-
Unit tests for FileBackedIndex
- FileBackedIndexTest() - Constructor for class com.googlecode.download.maven.plugin.internal.cache.FileBackedIndexTest
- FileIndexResourceFactoryTest - Class in com.googlecode.download.maven.plugin.internal.cache
-
Unit tests for FileIndexResourceFactory
- FileIndexResourceFactoryTest() - Constructor for class com.googlecode.download.maven.plugin.internal.cache.FileIndexResourceFactoryTest
- FileNameUtilsTest - Class in com.googlecode.download.maven.plugin.internal
-
Unit test suite for the
FileNameUtilsclass - FileNameUtilsTest() - Constructor for class com.googlecode.download.maven.plugin.internal.FileNameUtilsTest
H
- HttpFileRequesterTest - Class in com.googlecode.download.maven.plugin.internal
-
Unit tests for
HttpFileRequester - HttpFileRequesterTest() - Constructor for class com.googlecode.download.maven.plugin.internal.HttpFileRequesterTest
O
- outputDirectory - Variable in class com.googlecode.download.maven.plugin.internal.HttpFileRequesterTest
S
- setUp() - Method in class com.googlecode.download.maven.plugin.internal.HttpFileRequesterTest
- setUp() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
T
- tearDown() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
- temporaryFolder - Variable in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
- testAlwaysOverwrite() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
The plugin should always overwrite the output file (even if it has the same content) if
overwriteistrue. - testAsUri() - Method in class com.googlecode.download.maven.plugin.internal.cache.FileBackedIndexTest
- testBasicAuth() - Method in class com.googlecode.download.maven.plugin.internal.HttpFileRequesterTest
-
Tests
HttpFileRequester.download(File, List)with basic authentication - testBasicAuthPreempt() - Method in class com.googlecode.download.maven.plugin.internal.HttpFileRequesterTest
-
Tests
HttpFileRequester.download(File, List)with preemptive basic authentication - testBuildShouldFailIfDownloadFails() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Plugin execution should fail if code >= 400 was returned by the resource being downloaded.
- testCacheDirectoryNotCreated() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Verifies the cache is not used if
skipCacheistrue - testCacheInANonExistingDirectory() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Verifies that there is no exception thrown should the cache directory not exist if no file is retrieved
- testCacheInNotADirectory() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Verifies the exception message should the cache directory not a directory.
- testCacheNotWrittenToIfFailed() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Verifies that the cache directory should remain empty if the WGetMojo.execute() execution ended abruptly.
- testCacheRetainingValuesFromTwoConcurrentCalls() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Verifies that a concurrent invocation of two mojos with, the resulting cache index will keep note of both files.
- testCustomHeaders() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
The plugin should echo headers given in the
headersparameter to the resource. - testDownloadFailure() - Method in class com.googlecode.download.maven.plugin.internal.HttpFileRequesterTest
-
Tests
HttpFileRequester.download(File, List)should throw aDownloadFailureExceptionif the download fails - testExistingFileSignatures() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Testing
alwaysVerifyChecksumwith an already existing file. - testGenerateUniqueCacheFileForEmptyResource() - Method in class com.googlecode.download.maven.plugin.internal.cache.FileIndexResourceFactoryTest
-
URI is a relative URI without protocol spec, so it doesn't contain the host name.
- testGenerateUniqueCacheFileForNonRootResource() - Method in class com.googlecode.download.maven.plugin.internal.cache.FileIndexResourceFactoryTest
-
URI is a relative URI without protocol spec, so it doesn't contain the host name.
- testGenerateUniqueCacheFileForRootResource() - Method in class com.googlecode.download.maven.plugin.internal.cache.FileIndexResourceFactoryTest
-
URI is a relative URI without protocol spec, so it doesn't contain the host name.
- testGetOutputFileNameForEmptyResource() - Method in class com.googlecode.download.maven.plugin.internal.FileNameUtilsTest
-
Shall return the host name if the resource is empty.
- testGetOutputFileNameForNonRootResource() - Method in class com.googlecode.download.maven.plugin.internal.FileNameUtilsTest
-
Shall return the resource name if the resource not the root resource
- testGetOutputFileNameForRootResource() - Method in class com.googlecode.download.maven.plugin.internal.FileNameUtilsTest
-
Shall return the host name if the resource is just the root resource.
- testIgnoreDownloadFailure() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Plugin should ignore a download failure if instructed to do so.
- testIndexedFileNotFound() - Method in class com.googlecode.download.maven.plugin.internal.cache.FileBackedIndexTest
-
Cache should check if the file mapped by the index has been deleted by the user and remove the file from the index reverting to retrieving the remote resource.
- testNoAuth() - Method in class com.googlecode.download.maven.plugin.internal.HttpFileRequesterTest
-
Tests
HttpFileRequester.download(File, List)with no authentication - testOverwriteWithSkipCache() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
The plugin should always overwrite the output file (even if it has the same content) if
overwriteistrueandskipCacheistrue. - testPermanentRedirect() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
The plugin should follow permanent redirects
- testQuery() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
The plugin should pass query parameters in the URL to the resource
- testReadingFromCache() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Verifies that the same file is read from cache as it was previously been downloaded by another invocation of the mojo.
- testRetriedAfterDownloadFailsWithCode500() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Plugin execution should fail only after all retries have been exhausted if a 500+ code was returned by the resource being downloaded.
- testShouldCacheLargeFiles() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Plugin should be able to cache large files
- testShouldFollowRedirects() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Plugin should follow redirects
- testShouldNotRetrySuccessfulDownload() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Plugin should not repeat if download succeeds.
- testShouldWarnOnRedirectsIfDisabled() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Plugin should follow redirects
- testSignatures() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
The plugin, if provided the
md5,sha1,sha256,sha512parameters, should verify if the signature is correct. - testTemporaryRedirect() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
The plugin should follow temporary redirects
- testUriWithAdditionalHeaderInfoUri() - Method in class com.googlecode.download.maven.plugin.internal.cache.FileBackedIndexTest
- testUriWithAuthInfoAsUri() - Method in class com.googlecode.download.maven.plugin.internal.cache.FileBackedIndexTest
- testUriWithPortAsUri() - Method in class com.googlecode.download.maven.plugin.internal.cache.FileBackedIndexTest
- testWrongSignatureOfExistingFile() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
Testing
alwaysVerifyChecksumwith an already existing file. - testWrongSignatures() - Method in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
-
The plugin, if provided the
md5,sha1,sha256,sha512parameters, should verify if the signature is incorrect.
W
- WGetMojoTest - Class in com.googlecode.download.maven.plugin.internal
-
Unit tests for
WGetMojo - WGetMojoTest() - Constructor for class com.googlecode.download.maven.plugin.internal.WGetMojoTest
- wireMock - Variable in class com.googlecode.download.maven.plugin.internal.HttpFileRequesterTest
- wireMock - Variable in class com.googlecode.download.maven.plugin.internal.WGetMojoTest
All Classes and Interfaces|All Packages