Update XsdDocumentedTests to make easier to understand problems
This commit is contained in:
parent
047448464b
commit
2a86c72436
|
@ -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
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue