diff options
Diffstat (limited to 'src/lib/dhcpsrv/tests/lease_mgr_factory_unittest.cc')
-rw-r--r-- | src/lib/dhcpsrv/tests/lease_mgr_factory_unittest.cc | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/lib/dhcpsrv/tests/lease_mgr_factory_unittest.cc b/src/lib/dhcpsrv/tests/lease_mgr_factory_unittest.cc new file mode 100644 index 0000000..5e8b999 --- /dev/null +++ b/src/lib/dhcpsrv/tests/lease_mgr_factory_unittest.cc @@ -0,0 +1,31 @@ +// Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC") +// +// This Source Code Form is subject to the terms of the Mozilla Public +// License, v. 2.0. If a copy of the MPL was not distributed with this +// file, You can obtain one at http://mozilla.org/MPL/2.0/. + +#include <config.h> + +#include <asiolink/io_address.h> +#include <dhcpsrv/lease_mgr_factory.h> +#include <exceptions/exceptions.h> + +#include <gtest/gtest.h> + +#include <iostream> +#include <sstream> + +using namespace std; +using namespace isc::dhcp; + +// This set of tests only check the parsing functions of LeaseMgrFactory. +// Tests of the LeaseMgr create/instance/destroy are implicitly carried out +// in the tests for the different concrete lease managers (e.g. MySqlLeaseMgr). + +// Currently there are no unit-tests as the sole testable method (parse) +// was moved to its own class (DataSource). All existing unit-tests were +// moved there. + +namespace { + +}; // end of anonymous namespace |