aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-09-14 17:13:43 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-09-14 17:13:43 +0300
commitbe50ad395f97a264395d1950e30752bb927105d5 (patch)
treea394e32822f84ea324848d3e656933947485240e
parentunit_tests: adjust test messages (diff)
downloadwinapi-debug-be50ad395f97a264395d1950e30752bb927105d5.tar.gz
winapi-debug-be50ad395f97a264395d1950e30752bb927105d5.zip
add missing copyright headers
-rw-r--r--include/pdb/process.hpp5
-rw-r--r--src/process.cpp5
-rw-r--r--test/call_stack.cpp5
-rw-r--r--test/test_lib.cpp5
-rw-r--r--test/test_lib.hpp5
-rw-r--r--test/test_lib_api.hpp5
-rw-r--r--test/unit_tests/call_stack.cpp9
-rw-r--r--test/unit_tests/dbghelp.cpp5
-rw-r--r--test/unit_tests/error.cpp5
-rw-r--r--test/unit_tests/fixtures.hpp5
-rw-r--r--test/unit_tests/main.cpp5
-rw-r--r--test/unit_tests/paths.hpp5
12 files changed, 62 insertions, 2 deletions
diff --git a/include/pdb/process.hpp b/include/pdb/process.hpp
index 3ddb6b4..e73ffff 100644
--- a/include/pdb/process.hpp
+++ b/include/pdb/process.hpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#pragma once
#include "handle.hpp"
diff --git a/src/process.cpp b/src/process.cpp
index 5ba3734..08319fa 100644
--- a/src/process.cpp
+++ b/src/process.cpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#include <pdb/all.hpp>
#include <SafeInt.hpp>
diff --git a/test/call_stack.cpp b/test/call_stack.cpp
index 06b9ed5..b094aac 100644
--- a/test/call_stack.cpp
+++ b/test/call_stack.cpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#include <test_lib.hpp>
#include <boost/nowide/iostream.hpp>
diff --git a/test/test_lib.cpp b/test/test_lib.cpp
index 711d4fd..6775850 100644
--- a/test/test_lib.cpp
+++ b/test/test_lib.cpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#include "test_lib.hpp"
#include <pdb/all.hpp>
diff --git a/test/test_lib.hpp b/test/test_lib.hpp
index bc488dc..ced9100 100644
--- a/test/test_lib.hpp
+++ b/test/test_lib.hpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#pragma once
// This is dumb library which exports a bunch of symbols.
diff --git a/test/test_lib_api.hpp b/test/test_lib_api.hpp
index 6404200..8778df1 100644
--- a/test/test_lib_api.hpp
+++ b/test/test_lib_api.hpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#pragma once
#ifdef TEST_LIB_EXPORTS
diff --git a/test/unit_tests/call_stack.cpp b/test/unit_tests/call_stack.cpp
index cc5b74e..531562e 100644
--- a/test/unit_tests/call_stack.cpp
+++ b/test/unit_tests/call_stack.cpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#include "fixtures.hpp"
#include <pdb/all.hpp>
@@ -17,7 +22,7 @@ BOOST_AUTO_TEST_CASE(call_stack) {
try {
test_ns::throw_call_stack();
} catch (const pdb::CallStack& call_stack) {
- // First, check that the call stack have been caught.
+ // First, check that the call stack has been caught.
BOOST_TEST(true, "Caught the call stack");
// Debug output:
@@ -49,7 +54,7 @@ BOOST_AUTO_TEST_CASE(call_stack) {
}
{
- // Third, check that the expected function frames are in the call stack.
+ // Third, check that the expected function addresses are in the call stack.
const auto expected = expected_function_addresses();
const auto check = [&](pdb::Address addr) {
diff --git a/test/unit_tests/dbghelp.cpp b/test/unit_tests/dbghelp.cpp
index ea64939..b4ba1ce 100644
--- a/test/unit_tests/dbghelp.cpp
+++ b/test/unit_tests/dbghelp.cpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#include "fixtures.hpp"
#include <pdb/all.hpp>
diff --git a/test/unit_tests/error.cpp b/test/unit_tests/error.cpp
index 10eb8b4..f18a2e7 100644
--- a/test/unit_tests/error.cpp
+++ b/test/unit_tests/error.cpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#include <pdb/all.hpp>
#include <boost/test/unit_test.hpp>
diff --git a/test/unit_tests/fixtures.hpp b/test/unit_tests/fixtures.hpp
index fadd393..7572e0e 100644
--- a/test/unit_tests/fixtures.hpp
+++ b/test/unit_tests/fixtures.hpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#pragma once
#include "paths.hpp"
diff --git a/test/unit_tests/main.cpp b/test/unit_tests/main.cpp
index 937bea3..cacb02f 100644
--- a/test/unit_tests/main.cpp
+++ b/test/unit_tests/main.cpp
@@ -1,2 +1,7 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#define BOOST_TEST_MODULE pdb_repo tests
#include <boost/test/unit_test.hpp>
diff --git a/test/unit_tests/paths.hpp b/test/unit_tests/paths.hpp
index 561ca4d..3eb2fd6 100644
--- a/test/unit_tests/paths.hpp
+++ b/test/unit_tests/paths.hpp
@@ -1,3 +1,8 @@
+// Copyright (c) 2020 Egor Tensin <Egor.Tensin@gmail.com>
+// This file is part of the "PDB repository" project.
+// For details, see https://github.com/egor-tensin/pdb-repo.
+// Distributed under the MIT License.
+
#pragma once
#include <boost/filesystem.hpp>