« Previous | Next » 

Revision a7e76dc3

IDa7e76dc36d6518e891af2fc91d6bd52646bb121b
Parent 91c1a265
Child 1fe0e999

Added by Iustin Pop over 11 years ago

Improve output of the XmParser config test

Currently, this tests and its helper function 'isAlmostEqual' uses
plain booleans to signify failures, which means you can't really debug
a failed test. The patch changes the call chain to use annotated
properties all through, which results in messages like:

Failing almost equal check
Delta 3.725290298461914e-9 not smaller than 1e-12
expected: 2.147785408767952e7
but got: 2.1477854087679517e7

which (IMHO) it's much more readable.

The patch also replaces a 'fail' with 'failTest' in another test.

Signed-off-by: Iustin Pop <>
Reviewed-by: Guido Trotter <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences