diff options
author | Stephen Morris <stephen@isc.org> | 2013-06-17 15:21:22 +0200 |
---|---|---|
committer | Stephen Morris <stephen@isc.org> | 2013-06-17 15:21:22 +0200 |
commit | 7ef14b47d3bd773155e4b6d9c5a739b0213e8f28 (patch) | |
tree | 6664432cb2e3dd9aaeafc531ce250c464a87a7a9 /src/lib/hooks/tests/run_unittests.cc | |
parent | [master] ChangeLog for trac2974 (diff) | |
download | kea-7ef14b47d3bd773155e4b6d9c5a739b0213e8f28.tar.xz kea-7ef14b47d3bd773155e4b6d9c5a739b0213e8f28.zip |
[2980] Moved files to "hooks" directory
The hooks framework now has its own directory in "lib" instead of
living in "util".
Diffstat (limited to 'src/lib/hooks/tests/run_unittests.cc')
-rw-r--r-- | src/lib/hooks/tests/run_unittests.cc | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lib/hooks/tests/run_unittests.cc b/src/lib/hooks/tests/run_unittests.cc new file mode 100644 index 0000000000..f68a58d62a --- /dev/null +++ b/src/lib/hooks/tests/run_unittests.cc @@ -0,0 +1,25 @@ +// Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC") +// +// Permission to use, copy, modify, and/or distribute this software for any +// purpose with or without fee is hereby granted, provided that the above +// copyright notice and this permission notice appear in all copies. +// +// THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH +// REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY +// AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, +// INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM +// LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE +// OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR +// PERFORMANCE OF THIS SOFTWARE. + +#include <log/logger_support.h> +#include <util/unittests/run_all.h> + +#include <gtest/gtest.h> + +int +main(int argc, char* argv[]) { + ::testing::InitGoogleTest(&argc, argv); + isc::log::initLogger(); + return (isc::util::unittests::run_all()); +} |