0e1f0cf1c5
One of the biggest issue in Exactness is related to the system configuration differences. Among them, the fonts can for example impact on the height of the widgets. The solution to not be dependent on the fonts consist in using embedded fonts and to force their usage when playing the applications. The -f option has been added to the player and the recorder so the user can provide the path to a fonts directory. This option must be set in order to force the fonts replacement. Since tests shots can use different fonts, the exu file stores the version of fonts that have been used. This is why it is needed to have in the provided directory different directories, each pointing to a different version of the fonts. For example, some old tests can use fonts of 2017 (e.g directory 20170101) while new tests will use new fonts (20180601). Check the exactness-elm-data repository (fonts branch) for a better understanding. During recording, the -f option will apply the indicated fonts on the launched application and will record the mouse events accordingly. The fonts datestamp is stored in the exu output. During playing, the fonts will be loaded by reading the exu fonts path, and then the application is launched. If no information is provided in the exu but -f is used, the tool will load the most recent fonts (by comparing the datestamp directories). |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile.am | ||
exactness.c | ||
injector.c | ||
inspect.c | ||
player.c | ||
player_entry.edc | ||
player_fonts.edc | ||
recorder.c |