DragonFly On-Line Manual Pages

Search: Section:  


SHTK_UNITTEST_DELAYED_FAIL(3)               DragonFly Library Functions Manual

NAME

shtk_unittest_delayed_fail - Records a delayed failure

LIBRARY

shtk_import unittest

SYNOPSIS

shtk_unittest_delayed_fail [arg1 .. argN]

DESCRIPTION

The shtk_unittest_delayed_fail function marks the currently running test case as failed but allows the test to continue execution. The message given in the arguments arg1 through argN is printed along the failure. shtk_unittest_delayed_fail should be used to fail the test case when an erroneous condition is detected and such condition does not prevent the rest of the test case's code from running and possibly raising other (legitimate) failure signals.

SEE ALSO

shtk(3), shtk_unittest(3)

HISTORY

shtk_unittest_delayed_fail first appeared in shtk 1.6. DragonFly 6.5-DEVELOPMENT November 8, 2014 DragonFly 6.5-DEVELOPMENT

Search: Section: