Commit Graph

1 Commits

Author SHA1 Message Date
Lukas Bednar 1cf55db557 publishers: xunit doesn't accepts integers as threshold
* Accept integers for threshold
 In documentation is written that threshold should be integer.
 But it fails with integer to generate XML.
 Only case when it pass is for 0, because XML formatter consider it as
 empty body and do not format it.

* Fix documentation for missing threshold field, plus test.
 In documentation it says that missing threshold is set to 0, but apparently
 it is set to Null (empty field), and it has different behaviour than for 0
 value.

Change-Id: I326cbadd955c4c28f315fa72293d9a54a116b140
2015-11-12 14:51:58 +01:00