lumiera_/tests/10errorhandling.tests
Ichthyostega ada5cefaaf re-arrange tests according to layer structure
the buildsystem will now pick up and link
all test cases according to the layer, e.g.
backend tests will automatically be linked
against the backend + library solely.
2013-01-07 05:43:01 +01:00

27 lines
357 B
Text

TESTING "Error handling" ./test-errorstate
TEST "no error" <<END
return: 0
END
TEST "set error" set <<END
return: 0
END
TEST "query no error" get_no <<END
out: (nil)
return: 0
END
TEST "query error" get <<END
out: LUMIERA_ERROR_TEST:test error
return: 0
END
TEST "error cleared" get2 <<END
out: LUMIERA_ERROR_TEST:test error
out: (nil)
return: 0
END