Sequoia
Loading...
Searching...
No Matches
MoveOnlyTestDiagnostics.hpp
Go to the documentation of this file.
1
2// Copyright Oliver J. Rosten 2020. //
3// Distributed under the GNU GENERAL PUBLIC LICENSE, Version 3.0. //
4// (See accompanying file LICENSE.md or copy at //
5// https://www.gnu.org/licenses/gpl-3.0.en.html) //
7
8#pragma once
9
13
15
16namespace sequoia:: testing
17{
19 {
20 public:
21 using move_only_false_negative_test::move_only_false_negative_test;
22
23 [[nodiscard]]
24 std::filesystem::path source_file() const;
25
26 void run_tests();
27 private:
28
29 void test_move_only_semantics();
30
31 void test_as_unique_semantics();
32
33 template<enable_serialization EnableSerialization>
34 void test_binder();
35 };
36
38 {
39 public:
40 using move_only_false_positive_test::move_only_false_positive_test;
41
42 [[nodiscard]]
43 std::filesystem::path source_file() const;
44
45 void run_tests();
46 private:
47
48 void test_move_only_semantics();
49
50 void test_as_unique_semantics();
51 };
52}
Extension for testing classes exhibiting move-only semantics.
class template from which all concrete tests should derive.
Definition: FreeTestCore.hpp:144
Definition: MoveOnlyTestDiagnostics.hpp:19
Definition: MoveOnlyTestDiagnostics.hpp:38