ENH: add testFunctionObjects library with fakeError function object

The fakeError function object emits FatalError at different stages (or
does nothing), which is useful for testing purposes (issue #1779).

Can request errors from constructor, execute and write methods.
This commit is contained in:
Mark Olesen
2020-07-24 09:04:07 +02:00
parent 181e27a90f
commit 2de4501e47
4 changed files with 298 additions and 0 deletions

View File

@ -0,0 +1,3 @@
fakeError/fakeErrorFunctionObject.C
LIB = $(FOAM_USER_LIBBIN)/libtestFunctionObjects

View File

@ -0,0 +1,2 @@
/* EXE_INC = */
/* LIB_LIBS = */