Skip to content

Commit 798eaa8

Browse files
authored
Merge pull request OpenAssetIO#44 from foundrytom/work/simplifyCppImports
Simplify C++ header imports in tests
2 parents d7a60db + 095cd5f commit 798eaa8

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,9 @@ ctest --test-dir build/tests/cpp
9090
This repository follows the [contribution guidelines](https://github.com/TheFoundryVisionmongers/OpenAssetIO/blob/main/contributing/PROCESS.md)
9191
outlined in the main OpenAssetIO repository. All discussion most
9292
welcome!
93+
94+
When adding new Traits and Specifications:
95+
96+
1. Update [traits.yml](traits.yml)
97+
2. Add an [import test](tests/python/openassetio_mediacreation/test_imports.py)
98+
3. Update the [RELEASE_NOTES](RELEASE_NOTES.md)

tests/cpp/test.cpp

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,9 @@
11
// SPDX-License-Identifier: Apache-2.0
22
// Copyright 2022 The Foundry Visionmongers Ltd
33

4-
// Include all headers to test they are where we expect and can be
5-
// compiled.
4+
// Include all headers to test they can be compiled.
65

76
#include <openassetio_mediacreation/openassetio_mediacreation.hpp>
8-
#include <openassetio_mediacreation/traits/content.hpp>
9-
#include <openassetio_mediacreation/traits/content/LocatableContentTrait.hpp>
10-
#include <openassetio_mediacreation/traits/identity/DisplayNameTrait.hpp>
11-
#include <openassetio_mediacreation/traits/managementPolicy.hpp>
12-
#include <openassetio_mediacreation/traits/managementPolicy/ManagedTrait.hpp>
13-
#include <openassetio_mediacreation/traits/managementPolicy/ResolvesFutureEntitiesTrait.hpp>
14-
#include <openassetio_mediacreation/traits/traits.hpp>
157

168
using namespace openassetio_mediacreation;
179

0 commit comments

Comments
 (0)