diff options
author | John-Mark Bell <jmb@netsurf-browser.org> | 2021-09-14 07:49:09 +0100 |
---|---|---|
committer | John-Mark Bell <jmb@netsurf-browser.org> | 2021-09-14 07:49:09 +0100 |
commit | 1e9de16e39c38a86d1e61d63482c88ad96fae8d9 (patch) | |
tree | 3acff74cb708e1cc14f03fba09d1accae910a7d7 /test/harness.h | |
parent | a1735a1171f484e9828029576c99cff12448060f (diff) | |
download | librufl-1e9de16e39c38a86d1e61d63482c88ad96fae8d9.tar.gz librufl-1e9de16e39c38a86d1e61d63482c88ad96fae8d9.tar.bz2 |
Introduce test harness and mock more FontManager
It is now possible to initialise a test harness which mimics the
behaviour of the various versions of the FontManager we support.
Rename the simple test to reflect its new purpose.
Diffstat (limited to 'test/harness.h')
-rw-r--r-- | test/harness.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/harness.h b/test/harness.h new file mode 100644 index 0000000..f7e19e5 --- /dev/null +++ b/test/harness.h @@ -0,0 +1,8 @@ +#ifndef rufl_test_harness_h_ +#define rufl_test_harness_h_ + +void rufl_test_harness_init(int fm_version, bool fm_ucs, bool preload); +void rufl_test_harness_register_font(const char *name); +void rufl_test_harness_register_encoding(const char *encoding); + +#endif |