Class HttpTransporterTest
java.lang.Object
org.eclipse.aether.internal.test.util.http.HttpTransporterTest
Common set of tests against Http transporter.
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.eclipse.aether.repository.Authentication
protected Runnable
protected org.eclipse.aether.spi.connector.transport.http.HttpTransporterFactory
protected HttpServer
protected static final Path
protected static final Path
protected static final long
protected org.eclipse.aether.repository.Proxy
protected File
protected org.eclipse.aether.DefaultRepositorySystemSession
protected org.eclipse.aether.spi.connector.transport.http.HttpTransporter
protected static final Path
-
Constructor Summary
ModifierConstructorDescriptionprotected
HttpTransporterTest
(Supplier<org.eclipse.aether.spi.connector.transport.http.HttpTransporterFactory> transporterFactorySupplier) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected org.eclipse.aether.repository.RemoteRepository
protected void
newTransporter
(String url) protected void
setUp
(org.junit.jupiter.api.TestInfo testInfo) protected static org.eclipse.aether.spi.connector.transport.http.ChecksumExtractor
protected void
tearDown()
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
testPeek()
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
protected void
-
Field Details
-
KEY_STORE_PATH
-
KEY_STORE_SELF_SIGNED_PATH
-
TRUST_STORE_PATH
-
session
-
factory
-
transporter
-
closer
-
repoDir
-
httpServer
-
auth
-
proxy
-
OLD_FILE_TIMESTAMP
- See Also:
-
-
Constructor Details
-
HttpTransporterTest
protected HttpTransporterTest(Supplier<org.eclipse.aether.spi.connector.transport.http.HttpTransporterFactory> transporterFactorySupplier)
-
-
Method Details
-
standardChecksumExtractor
protected static org.eclipse.aether.spi.connector.transport.http.ChecksumExtractor standardChecksumExtractor() -
newRepo
-
newTransporter
- Throws:
Exception
-
setUp
- Throws:
Exception
-
tearDown
- Throws:
Exception
-
testClassify
-
testPeek
- Throws:
Exception
-
testRetryHandler_defaultCount_positive
- Throws:
Exception
-
testRetryHandler_defaultCount_negative
- Throws:
Exception
-
testRetryHandler_explicitCount_positive
- Throws:
Exception
-
testRetryHandler_disabled
- Throws:
Exception
-
testPeek_NotFound
- Throws:
Exception
-
testPeek_Closed
- Throws:
Exception
-
testPeek_Authenticated
- Throws:
Exception
-
testPeek_Unauthenticated
- Throws:
Exception
-
testPeek_ProxyAuthenticated
- Throws:
Exception
-
testPeek_ProxyUnauthenticated
- Throws:
Exception
-
testPeek_SSL
- Throws:
Exception
-
testPeek_Redirect
- Throws:
Exception
-
testGet_ToMemory
- Throws:
Exception
-
testGet_ToFile
- Throws:
Exception
-
testGet_ToFileTimestamp
- Throws:
Exception
-
testGet_EmptyResource
- Throws:
Exception
-
testGet_EncodedResourcePath
- Throws:
Exception
-
testGet_Authenticated
- Throws:
Exception
-
testGet_Unauthenticated
- Throws:
Exception
-
testGet_ProxyAuthenticated
- Throws:
Exception
-
testGet_ProxyUnauthenticated
- Throws:
Exception
-
testGet_RFC9457Response
- Throws:
Exception
-
testGet_RFC9457Response_with_missing_fields
- Throws:
Exception
-
testGet_SSL
- Throws:
Exception
-
testGet_SSL_WithServerErrors
- Throws:
Exception
-
testGet_HTTPS_Unknown_SecurityMode
- Throws:
Exception
-
testGet_HTTPS_Insecure_SecurityMode
- Throws:
Exception
-
testGet_HTTPS_HTTP2Only_Insecure_SecurityMode
- Throws:
Exception
-
enableHttp2Protocol
-
testGet_Redirect
- Throws:
Exception
-
testGet_Resume
- Throws:
Exception
-
testGet_ResumeLocalContentsOutdated
- Throws:
Exception
-
testGet_ResumeRangesNotSupportedByServer
- Throws:
Exception
-
testGet_Checksums_Nexus
- Throws:
Exception
-
testGet_Checksums_XChecksum
- Throws:
Exception
-
testGet_FileHandleLeak
- Throws:
Exception
-
testGet_NotFound
- Throws:
Exception
-
testGet_Closed
- Throws:
Exception
-
testGet_StartCancelled
- Throws:
Exception
-
testGet_ProgressCancelled
- Throws:
Exception
-
testPut_FromMemory
- Throws:
Exception
-
testPut_FromFile
- Throws:
Exception
-
testPut_EmptyResource
- Throws:
Exception
-
testPut_EncodedResourcePath
- Throws:
Exception
-
testPut_Authenticated_ExpectContinue
- Throws:
Exception
-
testPut_Authenticated_ExpectContinueBroken
- Throws:
Exception
-
testPut_Authenticated_ExpectContinueRejected
- Throws:
Exception
-
testPut_Authenticated_ExpectContinueDisabled
- Throws:
Exception
-
testPut_Authenticated_ExpectContinueRejected_ExplicitlyConfiguredHeader
@Test protected void testPut_Authenticated_ExpectContinueRejected_ExplicitlyConfiguredHeader() throws Exception- Throws:
Exception
-
testPut_Unauthenticated
- Throws:
Exception
-
testPut_ProxyAuthenticated
- Throws:
Exception
-
testPut_ProxyUnauthenticated
- Throws:
Exception
-
testPut_SSL
- Throws:
Exception
-
testPut_FileHandleLeak
- Throws:
Exception
-
testPut_Closed
- Throws:
Exception
-
testPut_StartCancelled
- Throws:
Exception
-
testPut_ProgressCancelled
- Throws:
Exception
-
testGetPut_AuthCache
- Throws:
Exception
-
testPut_PreemptiveIsDefault
- Throws:
Exception
-
testPut_AuthCache
- Throws:
Exception
-
testPut_AuthCache_Preemptive
- Throws:
Exception
-
testConcurrency
- Throws:
Exception
-
testConnectTimeout
- Throws:
Exception
-
testRequestTimeout
- Throws:
Exception
-
testUserAgent
- Throws:
Exception
-
testCustomHeaders
- Throws:
Exception
-
testServerAuthScope_NotUsedForProxy
- Throws:
Exception
-
testProxyAuthScope_NotUsedForServer
- Throws:
Exception
-
testAuthSchemeReuse
- Throws:
Exception
-
testAuthSchemePreemptive
- Throws:
Exception
-