Searched refs:target_namespace (Results 1 – 4 of 4) sorted by relevance
51 inline void ValidateNamespace(const Namespace& target_namespace, const Section& parent_section) { in ValidateNamespace() argument52 EXPECT_FALSE(target_namespace.name.empty()) << "Namespace name should not be empty"; in ValidateNamespace()53 EXPECT_FALSE(target_namespace.name != "default" && target_namespace.search_path.empty() && in ValidateNamespace()54 target_namespace.permitted_path.empty()) in ValidateNamespace()55 << "Search path or permitted path should be defined in namespace " << target_namespace.name in ValidateNamespace()68 for (auto& [_, target_namespace] : section.namespaces) { in ValidateSection()69 ValidateNamespace(target_namespace, section); in ValidateSection()
40 Link& Namespace::GetLink(const std::string& target_namespace) { in GetLink() argument42 if (link.To() == target_namespace) { in GetLink()46 return links_.emplace_back(name_, target_namespace); in GetLink()
29 Link(std::string origin_namespace, std::string target_namespace) in Link() argument31 target_namespace_(std::move(target_namespace)) { in Link()
51 Link& GetLink(const std::string& target_namespace);