Skip to content
Snippets Groups Projects

Draft: Resolve "Implementation of new nodes creation"

Open Joan Vallvé Navarro requested to merge 454-implementation-of-new-nodes-creation into devel
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
+ 3
2
@@ -125,7 +125,7 @@ TEST(Schema, validate_all_schemas)
TEST(Schema, duplicated_schemas)
{
std::map<std::string, std::string> schemas_found;
unsigned int n_duplicated = 0;
unsigned int n_duplicated = 0;
for (auto const& entry : filesystem::recursive_directory_iterator(wolf_dir))
{
if (filesystem::is_regular_file(entry) and entry.path().extension().string() == ".schema")
@@ -142,7 +142,8 @@ TEST(Schema, duplicated_schemas)
}
ASSERT_EQ(n_duplicated, 0);
WOLF_INFO_COND(n_duplicated == 0, "Found ", schemas_found.size(), " schema files.");
WOLF_ERROR_COND(n_duplicated != 0, "Found ", n_duplicated, " duplicated schemas in ", schemas_found.size(), " schema files.");
WOLF_ERROR_COND(
n_duplicated != 0, "Found ", n_duplicated, " duplicated schemas in ", schemas_found.size(), " schema files.");
}
int main(int argc, char** argv)
Loading