Update XsdDocumentedTests to make easier to understand problems

This commit is contained in:
Rob Winch 2013-02-28 17:08:19 -06:00
parent 047448464b
commit 2a86c72436
1 changed files with 4 additions and 1 deletions

View File

@ -81,8 +81,11 @@ class XsdDocumentedTests extends Specification {
elementNameToElement*.value*.ids*.each { expectedIds.addAll it }
documentedIds.removeAll ignoredIds
expectedIds.removeAll ignoredIds
def undocumentedIds = (expectedIds - documentedIds)
def shouldNotBeDocumented = (documentedIds - expectedIds)
then: 'all the elements and attributes are documented'
documentedIds.sort() == expectedIds.sort()
shouldNotBeDocumented.empty
undocumentedIds.empty
}
/**