HsDomainSetupHostingAssetValidatorUnitTest

41

tests

0

failures

0

ignored

0.039s

duration

100%

successful

Tests

Test Method name Duration Result
acceptSetupOfRegisteredSubdomainWithInvalidDnsVerificationButValidDnsVerificationInSuperDomain() acceptSetupOfRegisteredSubdomainWithInvalidDnsVerificationButValidDnsVerificationInSuperDomain() 0s passed
acceptSetupOfUnregisteredSubdomainWithParentAssetEvenWithoutDnsVerificationInSuperDomain() acceptSetupOfUnregisteredSubdomainWithParentAssetEvenWithoutDnsVerificationInSuperDomain() 0.001s passed
[1] testCase=SIMPLE acceptsValidIdentifier(ValidSubDomainNameIdentifier)[1] 0s passed
[2] testCase=MAX_LENGTH acceptsValidIdentifier(ValidSubDomainNameIdentifier)[2] 0s passed
[3] testCase=MIN_LENGTH acceptsValidIdentifier(ValidSubDomainNameIdentifier)[3] 0.001s passed
[4] testCase=WITH_DASH acceptsValidIdentifier(ValidSubDomainNameIdentifier)[4] 0s passed
allowSetupOfAvailableRegistrable2ndLevelDomain() allowSetupOfAvailableRegistrable2ndLevelDomain() 0.001s passed
allowSetupOfAvailableRegistrableDomain() allowSetupOfAvailableRegistrableDomain() 0.001s passed
allowSetupOfExistingRegistrableDomainWithValidDnsVerification() allowSetupOfExistingRegistrableDomainWithValidDnsVerification() 0s passed
allowSetupOfExistingSubdomainWithValidDnsVerificationInSuperDomain() allowSetupOfExistingSubdomainWithValidDnsVerificationInSuperDomain() 0s passed
allowSetupOfRegisteredRegistrable2ndLevelDomainWithVerification() allowSetupOfRegisteredRegistrable2ndLevelDomainWithVerification() 0s passed
allowSetupOfRegistrableDomainWithUserDefinedVerificationCode() allowSetupOfRegistrableDomainWithUserDefinedVerificationCode() 0.001s passed
allowSetupOfUnregisteredSubdomainIfSuperDomainParentAssetIsSpecified() allowSetupOfUnregisteredSubdomainIfSuperDomainParentAssetIsSpecified() 0s passed
allowSetupOfUnregisteredSubdomainWithValidDnsVerificationInSuperDomain() allowSetupOfUnregisteredSubdomainWithValidDnsVerificationInSuperDomain() 0.001s passed
containsNoProperties() containsNoProperties() 0.001s passed
[1] testCase=SERVICE_UNAVAILABLE handlesDnsLookupFailures(DnsLookupFailureTestCase)[1] 0s passed
[2] testCase=NAME_NOT_FOUND handlesDnsLookupFailures(DnsLookupFailureTestCase)[2] 0s passed
[3] testCase=INVALID_NAME handlesDnsLookupFailures(DnsLookupFailureTestCase)[3] 0.001s passed
[4] testCase=UNKNOWN_FAILURE handlesDnsLookupFailures(DnsLookupFailureTestCase)[4] 0.001s passed
rejectSetupOfExistingRegistrableDomainWithInvalidDnsVerification() rejectSetupOfExistingRegistrableDomainWithInvalidDnsVerification() 0.001s passed
rejectSetupOfExistingRegistrableDomainWithoutValidDnsVerification() rejectSetupOfExistingRegistrableDomainWithoutValidDnsVerification() 0.001s passed
rejectSetupOfExistingSubdomainWithoutDnsVerification() rejectSetupOfExistingSubdomainWithoutDnsVerification() 0.001s passed
rejectSetupOfRegisteredRegistrable2ndLevelDomainWithoutVerification() rejectSetupOfRegisteredRegistrable2ndLevelDomainWithoutVerification() 0.012s passed
rejectSetupOfRegistrableDomainWithInvalidUserDefinedVerificationCode() rejectSetupOfRegistrableDomainWithInvalidUserDefinedVerificationCode() 0.001s passed
rejectSetupOfUnregisteredSubdomainIfWrongParentAssetIsSpecified() rejectSetupOfUnregisteredSubdomainIfWrongParentAssetIsSpecified() 0s passed
rejectSetupOfUnregisteredSubdomainOfUnregisteredSuperDomain() rejectSetupOfUnregisteredSubdomainOfUnregisteredSuperDomain() 0.001s passed
rejectSetupOfUnregisteredSubdomainWithoutParentAssetAndWithoutDnsVerificationInSuperDomain() rejectSetupOfUnregisteredSubdomainWithoutParentAssetAndWithoutDnsVerificationInSuperDomain() 0.005s passed
rejectsDomainNameNotMatchingBookingItemDomainName() rejectsDomainNameNotMatchingBookingItemDomainName() 0s passed
[1] newDomainName=not-matching-booking-item-domain-name.org rejectsDomainNameWhichIsNotADirectSubdomainOfParentAsset(String)[1] 0s passed
[2] newDomainName=indirect.subdomain.example.org rejectsDomainNameWhichIsNotADirectSubdomainOfParentAsset(String)[2] 0s passed
rejectsIfNeitherBookingItemNorParentAssetAreSet() rejectsIfNeitherBookingItemNorParentAssetAreSet() 0.001s passed
[1] testCase=IDENTICAL rejectsInvalidIdentifier(InvalidSubDomainNameIdentifierForExampleOrg)[1] 0.001s passed
[2] testCase=TOO_LONG rejectsInvalidIdentifier(InvalidSubDomainNameIdentifierForExampleOrg)[2] 0.001s passed
[3] testCase=DASH_AT_BEGINNING rejectsInvalidIdentifier(InvalidSubDomainNameIdentifierForExampleOrg)[3] 0.001s passed
[4] testCase=DOT rejectsInvalidIdentifier(InvalidSubDomainNameIdentifierForExampleOrg)[4] 0s passed
[5] testCase=DOT_AT_BEGINNING rejectsInvalidIdentifier(InvalidSubDomainNameIdentifierForExampleOrg)[5] 0s passed
[6] testCase=DOUBLE_DOT rejectsInvalidIdentifier(InvalidSubDomainNameIdentifierForExampleOrg)[6] 0.001s passed
rejectsSetupOfHostsharingDomain() rejectsSetupOfHostsharingDomain() 0s passed
rejectsSetupOfRegistrar1stLevelDomain() rejectsSetupOfRegistrar1stLevelDomain() 0.001s passed
rejectsSetupOfRegistrar2ndLevelDomain() rejectsSetupOfRegistrar2ndLevelDomain() 0.001s passed
validatesReferencedEntities() validatesReferencedEntities() 0.001s passed