Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenAssetIO/OpenAssetIO
/ traitSet
Method
traitSet
src/openassetio-core/src/trait/TraitsData.cpp:108–108 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
106
TraitsData::~TraitsData() = default;
107
108
TraitSet TraitsData::traitSet() const { return impl_->traitSet(); }
109
110
void TraitsData::addTrait(const TraitId& traitId) { impl_->addTrait(traitId); }
111
Callers
15
test_when_has_no_traits_returns_empty_list
Method · 0.95
test_when_has_traits_returns_expected_trait_ids
Method · 0.95
test_when_trait_is_new_then_added
Method · 0.95
test_when_traits_are_new_the_added
Method · 0.95
__testResolution
Method · 0.45
test_when_trait_is_new_then_existing_traits_are_unaffected
Method · 0.45
test_when_trait_already_exists_then_is_noop
Method · 0.45
test_when_traits_are_new_then_existing_traits_are_unaffected
Method · 0.45
test_when_trait_ids_already_exist_then_is_noop
Method · 0.45
test_when_trait_is_not_found_then_set_adds_trait
Method · 0.45
test_when_test_function_is_run_then_locale_is_set
Method · 0.45
test_context_is_created_with_locale
Method · 0.45
Calls
no outgoing calls
Tested by
11
test_when_has_no_traits_returns_empty_list
Method · 0.76
test_when_has_traits_returns_expected_trait_ids
Method · 0.76
test_when_trait_is_new_then_added
Method · 0.76
test_when_traits_are_new_the_added
Method · 0.76
test_when_trait_is_new_then_existing_traits_are_unaffected
Method · 0.36
test_when_trait_already_exists_then_is_noop
Method · 0.36
test_when_traits_are_new_then_existing_traits_are_unaffected
Method · 0.36
test_when_trait_ids_already_exist_then_is_noop
Method · 0.36
test_when_trait_is_not_found_then_set_adds_trait
Method · 0.36
test_when_test_function_is_run_then_locale_is_set
Method · 0.36
test_context_is_created_with_locale
Method · 0.36