diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-15 01:10:15 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-10-15 01:10:15 +0300 |
commit | 933654fbae37b3726cfa449d187759fe06f8fcc7 (patch) | |
tree | 8d961c269665d77a814a8e2cbbd415997b3d2897 /test/handle.cpp | |
parent | cmd_line.cpp: move implementation from cmd_line.hpp (diff) | |
download | winapi-common-933654fbae37b3726cfa449d187759fe06f8fcc7.tar.gz winapi-common-933654fbae37b3726cfa449d187759fe06f8fcc7.zip |
test/ -> test/unit_tests/
Diffstat (limited to 'test/handle.cpp')
-rw-r--r-- | test/handle.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/handle.cpp b/test/handle.cpp deleted file mode 100644 index 13551f4..0000000 --- a/test/handle.cpp +++ /dev/null @@ -1,21 +0,0 @@ -// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com> -// This file is part of the "winapi-common" project. -// For details, see https://github.com/egor-tensin/winapi-common. -// Distributed under the MIT License. - -#include <winapi/handle.hpp> - -#include <boost/test/unit_test.hpp> - -#include <windows.h> - -BOOST_AUTO_TEST_SUITE(handle_tests) - -BOOST_AUTO_TEST_CASE(null) { - { winapi::Handle h{NULL}; } - BOOST_TEST(true, "NULL handle closed successfully"); - { winapi::Handle h{INVALID_HANDLE_VALUE}; } - BOOST_TEST(true, "INVALID_HANDLE_VALUE handle closed successfully"); -} - -BOOST_AUTO_TEST_SUITE_END() |