Package org.shredzone.acme4j.provider
Class AbstractAcmeProviderTest
java.lang.Object
org.shredzone.acme4j.provider.AbstractAcmeProviderTest
Unit tests for
AbstractAcmeProvider
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Test that connect returns a connection.void
Test that challenges are generated properly.void
Verify that the resources directory is read.void
Verify that the cache control headers are evaluated.void
Verify that resorces are fetched if expired.void
Verify that if-modified-since is used.void
Verify that resorces are not fetched if not yet expired.
-
Constructor Details
-
AbstractAcmeProviderTest
public AbstractAcmeProviderTest()
-
-
Method Details
-
testConnect
Test that connect returns a connection. -
testResources
Verify that the resources directory is read.- Throws:
AcmeException
-
testResourcesCacheControl
Verify that the cache control headers are evaluated.- Throws:
AcmeException
-
testResourcesNotExprired
Verify that resorces are not fetched if not yet expired.- Throws:
AcmeException
-
testResourcesExprired
Verify that resorces are fetched if expired.- Throws:
AcmeException
-
testResourcesIfModifiedSince
Verify that if-modified-since is used.- Throws:
AcmeException
-
testCreateChallenge
Test that challenges are generated properly.
-