448478cd9cRemove const from expected variables as neededMartin Winkler2021-12-15 11:22:20 +01:00
6c446888b4Functions, their init_ and prototypes with variable parameter "marker" are stubbed correctly. Actual variable parameter are not tested (yet).Martin Winkler2021-12-15 08:12:34 +01:00
c90f479de9stub init with fail condition initializes expected parameter with default, keeping structure array clean for further testsMartin Winkler2018-09-05 13:52:36 +00:00
c26b8dc13apost build step to copy exe directly to cygwin/binMartin Winkler2018-09-05 13:51:38 +00:00
f64696daacInitializing expected parameter in declaration and after each instance run to ensure reproducibility. Assert for invalid STUB_PASS valuesMartin Winkler2018-09-05 08:24:30 +00:00
6d894b634eNULL pointer check for memcpy stub structure default initialization for pointer checkMartin Winkler2018-09-04 13:21:02 +00:00
66cdebd7c1Using _size parameter = 0 to also disable address detection selectively Code comment enhancements for stubser and resulting stubsMartin Winkler2018-09-04 11:46:58 +00:00
335b74a844Adding means to inject values via stub function pointer to test subject. Resulting stubs are not backward compatible. If stubbed functions contain pointer as parameter the tests need to be addapted.Martin Winkler2018-08-30 09:14:34 +00:00
adf425bb1a- added creating function to work with stub global variables (init expected, init globals, check globals)Martin Winkler2017-03-10 22:48:29 +00:00
ad2deb3b32- fix: create stubs only for regular files (STATIC functions are treated as regular)Martin Winkler2017-03-10 15:07:19 +00:00
e421f81375- added TODO: special handling for function pointerMartin Winkler2017-03-10 15:06:55 +00:00
8690c0845a- WIP creating user header and including it stub.c - todo: write stubs even when there are warnings for some linesMartin Winkler2017-03-10 15:01:07 +00:00
726077eef4- WIP populated cfile structure with variables, functions and according element type - cleaned unused variable and function definitions - cleaned debug output calls - todo: create and include "user defined" header for including missing headers to stub.c (will not be overwritten if exists) - todo: include "includes" in cfile structureMartin Winkler2017-03-10 14:27:24 +00:00
5e967dc12eWIP multiline parser running (detecting variables, function, prototypes as whole string) - TODO parsing result of first pass (detecting C elements) - TODO #include, #if, ... not includedMartin Winkler2017-03-10 09:10:04 +00:00
11d281fe75WIP recursive line worker detects C variable and function definitions - todo: detect expressione type (function, variable, ...)Martin Winkler2017-03-09 08:04:29 +00:00
4fd1780b42WIP detect multiple C expressions also on one lineMartin Winkler2017-03-09 07:59:24 +00:00
16f0c0224a- possibility to ignore block starts within block (warning is issued to stdout); used for removing commentsMartin Winkler2017-03-06 15:39:04 +00:00
39e5ad42bb- fix: added error detection for block removal error (error in one file influenced evaluation in following files)Martin Winkler2017-03-06 14:47:34 +00:00
57f349be10- fix gnu_basename() to also detect windows path ("\\")Martin Winkler2017-03-06 14:46:20 +00:00
28fb99e4b6- new directory traversal method - using debug output from debug.hMartin Winkler2017-03-06 12:43:23 +00:00
9557e97bab- processing of function parameter added (first tests successful) - next stage -> constructing stub files (.c and .h)Martin Winkler2017-03-03 14:07:38 +00:00
444b9fb078- still WIP for parsing of parameter - new blockdetection and -removal functions (used for comments and function bodies)Martin Winkler2017-03-03 11:08:07 +00:00
0974cc3ecf- cleaning and refactoring functionality - parser function new WIP (old included as comment-> must be integrated)Martin Winkler2017-02-28 17:11:57 +00:00