DNSCheck::Test::Common(3)

NAME
DNSCheck::Test::Common - parent module to all other DNSCheck::Test modules.

SYNOPSIS
Provides the methods "new", "parent", "logger", "config" and "qclass".

DESCRIPTION

->new($parent)
    Creates a new object and sets the parent object (which in just about all cases should be a DNSCheck object). Will "croak" if a parent object is not provided.

->parent()
    Returns the parent object.

->logger()
    Returns the parent's logger object (an instance of DNSCheck::Logger, unless you've done something strange).

->config()
    Returns the parent's config object (an instance of DNSCheck::Config, unless you've done something strange).

->qclass()
    Returns the DNS lookup class set in the config object. In practice this might as well be hardcoded to "IN", since the only test that will ever use anything else is DNSCheck::Test::Nameserver::ns_check_id.