Add method to automatically test a dictionary and throw on error

This commit is contained in:
Alexander Bock
2016-09-15 13:40:39 +02:00
parent 1778a7cdb6
commit 43db84f620
5 changed files with 33 additions and 30 deletions

View File

@@ -73,6 +73,8 @@ struct Documentation {
TestResult testSpecification(const Documentation& d, const ghoul::Dictionary& dictionary);
void testSpecificationAndThrow(const Documentation& doc,
const ghoul::Dictionary& dictionary, std::string component);
std::string generateDocumentation(const Documentation& d);