Lines Matching defs:metadata
29 #include "engine/metadata.hpp"
308 throw engine::error(F("Unknown metadata property %s") % key);
310 throw engine::error(F("Invalid value for metadata property %s: %s") %
332 throw engine::error(F("Unknown metadata property %s") % key);
334 throw engine::error(F("Invalid value for metadata property %s: %s") %
506 /// Internal implementation of the metadata class.
507 struct engine::metadata::impl {
508 /// Metadata properties.
513 /// \param props_ Metadata properties of the test.
534 /// \param props Metadata properties of the test.
535 engine::metadata::metadata(const utils::config::tree& props) :
542 engine::metadata::~metadata(void)
551 engine::metadata::allowed_architectures(void) const
562 engine::metadata::allowed_platforms(void) const
568 /// Returns all the user-defined metadata properties.
572 engine::metadata::custom(void) const
582 engine::metadata::description(void) const
592 engine::metadata::has_cleanup(void) const
602 engine::metadata::required_configs(void) const
612 engine::metadata::required_files(void) const
622 engine::metadata::required_memory(void) const
632 engine::metadata::required_programs(void) const
642 engine::metadata::required_user(void) const
653 engine::metadata::timeout(void) const
659 /// Externalizes the metadata to a set of key/value textual pairs.
661 /// \return A key/value representation of the metadata.
663 engine::metadata::to_properties(void) const
675 engine::metadata::operator==(const metadata& other) const
687 engine::metadata::operator!=(const metadata& other) const
700 engine::operator<<(std::ostream& output, const metadata& object)
702 output << "metadata{";
725 /// Whether we have created a metadata object or not.
736 impl(const engine::metadata& base) :
752 engine::metadata_builder::metadata_builder(const engine::metadata& base) :
1013 /// Sets a metadata property by name from its textual representation.
1028 throw engine::format_error(F("Unknown metadata property %s") % key);
1031 F("Invalid value for metadata property %s: %s") % key % e.what());
1052 /// Creates a new metadata object.
1057 /// same builder to construct different metadata objects, and this could have
1060 /// \return The constructed metadata object.
1061 engine::metadata
1067 return metadata(_pimpl->props);
1073 /// \param md The test metadata.
1080 engine::check_reqs(const engine::metadata& md, const config::tree& cfg,