aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test/unit_tests/error.cpp
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2021-05-15 23:36:29 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2021-05-15 23:36:29 +0300
commit46ef2fbd49b2e48206a0554ae9a7d84f5961d817 (patch)
treed25e78e4c7e8a36c960a1157e06be77d39a0afcf /test/unit_tests/error.cpp
parentrename the project (diff)
downloadwinapi-debug-46ef2fbd49b2e48206a0554ae9a7d84f5961d817.tar.gz
winapi-debug-46ef2fbd49b2e48206a0554ae9a7d84f5961d817.zip
use error reporting from winapi-common
Diffstat (limited to 'test/unit_tests/error.cpp')
-rw-r--r--test/unit_tests/error.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/test/unit_tests/error.cpp b/test/unit_tests/error.cpp
deleted file mode 100644
index 9faf1e0..0000000
--- a/test/unit_tests/error.cpp
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
-// This file is part of the "winapi-debug" project.
-// For details, see https://github.com/egor-tensin/winapi-debug.
-// Distributed under the MIT License.
-
-#include <pdb/all.hpp>
-
-#include <boost/test/unit_test.hpp>
-
-#include <windows.h>
-
-#include <string>
-
-BOOST_AUTO_TEST_SUITE(error_tests)
-
-BOOST_AUTO_TEST_CASE(file_not_found) {
- const std::string actual{pdb::error::windows(ERROR_FILE_NOT_FOUND, "CreateFileW").what()};
- BOOST_TEST(actual ==
- "Function CreateFileW failed with error code 2: The system cannot find the file "
- "specified.");
-}
-
-BOOST_AUTO_TEST_SUITE_END()