aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/test
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-06-12 22:59:04 +0200
committerEgor Tensin <egor@tensin.name>2026-06-12 22:59:04 +0200
commiteba873815bbb803fb298e3fb07502d22e3c5df6e (patch)
tree47794c27c6a4c1245b6ae14024dcf0f068605209 /test
parentcmake: use CONFIGURE_DEPENDS (diff)
downloadwinapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.tar.gz
winapi-debug-eba873815bbb803fb298e3fb07502d22e3c5df6e.zip
unify my .clang-format files
Diffstat (limited to 'test')
-rw-r--r--test/unit_tests/fixtures.hpp20
1 files changed, 15 insertions, 5 deletions
diff --git a/test/unit_tests/fixtures.hpp b/test/unit_tests/fixtures.hpp
index 8fe7e91..8233f95 100644
--- a/test/unit_tests/fixtures.hpp
+++ b/test/unit_tests/fixtures.hpp
@@ -31,7 +31,9 @@ class DbgHelp {
public:
DbgHelp(winapi::DbgHelp&& dbghelp) : dbghelp{std::move(dbghelp)} {}
- ~DbgHelp() { BOOST_TEST_MESSAGE("Cleaning up DbgHelp"); }
+ ~DbgHelp() {
+ BOOST_TEST_MESSAGE("Cleaning up DbgHelp");
+ }
const winapi::DbgHelp dbghelp;
@@ -54,11 +56,17 @@ public:
reinterpret_cast<void*>(&test_ns::baz)});
}
- static SymbolList expected_functions() { return make_qualified({"foo", "bar", "baz"}); }
+ static SymbolList expected_functions() {
+ return make_qualified({"foo", "bar", "baz"});
+ }
- static SymbolList expected_functions_full() { return add_module(expected_functions()); }
+ static SymbolList expected_functions_full() {
+ return add_module(expected_functions());
+ }
- static SymbolList expected_variables() { return make_qualified({"var"}); }
+ static SymbolList expected_variables() {
+ return make_qualified({"var"});
+ }
static SymbolList expected_symbols() {
return join(expected_functions(), expected_variables());
@@ -105,7 +113,9 @@ private:
class PostMortem : public DbgHelp {
public:
- PostMortem() : DbgHelp{init_dbghelp(false)} { load_module_pdb(); }
+ PostMortem() : DbgHelp{init_dbghelp(false)} {
+ load_module_pdb();
+ }
private:
void load_module_pdb() {