test


Log

Author Commit Date CI Message
Behdad Esfahbod fc551edb 2011-07-07T16:09:38 Add todo I'm too lazy to fix the tests now.
Behdad Esfahbod 253a57fb 2011-06-28T17:26:03 [test-shape-complex] Remove the greek tests They are outdated with respect to the DejaVu Sans I'm using. We need to add font version checking to the tests.
Behdad Esfahbod afa74bf9 2011-06-28T17:25:17 [test-shape-complex] Print out expected and actual glyphstrings upon failure One has to run the test with --verbose to see that right now.
Behdad Esfahbod 42d453b0 2011-06-28T16:59:16 [test] Name tests after their input string
Behdad Esfahbod 27413169 2011-06-28T16:21:31 Minor Towards a better test runner.
Behdad Esfahbod cc674cbf 2011-06-28T16:17:16 Minor
Behdad Esfahbod 20d8a398 2011-06-28T16:16:21 [test] Remove disabled code We'd add normalization and decomposition tests later.
Behdad Esfahbod 9704f0ca 2011-06-28T16:15:46 [test] Restructure shape test data a bit
Behdad Esfahbod a346e923 2011-06-28T12:49:18 [test] Add Indic tests from harfbuzz.old Needs fonts to be put in test/fonts. Tests are skipped otherwise. Run with --verbose for details. Working on improving the test runner to make it easier to make sense of what's going on.
Behdad Esfahbod 31f18abe 2011-06-15T09:49:58 Minor compiler warning fixes
Behdad Esfahbod 75ba4073 2011-05-27T03:58:17 [test] Rename valgrind-log to log-vaglring.txt
Behdad Esfahbod 654f88fb 2011-05-27T03:38:46 [test-common] Test hb_direction_to_string() Caught by "make check-symbols".
Behdad Esfahbod 18bced13 2011-05-27T03:38:30 [test] Rename test-symbols to check-symbols Shows undocumented symbols.
Behdad Esfahbod 0e482ec6 2011-05-27T02:46:28 [test/unicode] Fix double-free Caught by "make check-valgrind".
Behdad Esfahbod 28b1bac5 2011-05-27T02:44:29 [test] Switch to automake-based test-runner Adds check-valgrind among other modes. We do not run under gtester by default anymore.
Behdad Esfahbod adbc97dd 2011-05-27T01:33:18 [test] Add test-symbols that checks API symbol text coverage We're not at 100% coverage yet, so do not enable the test by default.
Behdad Esfahbod 9313b9aa 2011-05-27T01:00:55 [test/version] Test hb-version.h
Behdad Esfahbod 5bf56ea0 2011-05-25T14:43:10 [TODO] Add item
Behdad Esfahbod 2d8ebcb9 2011-05-25T11:27:33 [API] One last font-funcs API change Now that vertical text works correctly, I'm doing a last round modification of the font-funcs API to simplify. Expect no more changes around here.
Behdad Esfahbod d3169129 2011-05-25T11:01:32 [test] Update to API changes
Behdad Esfahbod 744970af 2011-05-16T18:15:37 [API] Add support for vertical text Design not final yet, and in fact I'm going to change it immediately, but this is an standalone change for itself.
Behdad Esfahbod 5be7d047 2011-05-17T15:05:34 Check for mmap() Apparently there exist systems with mprotect(), but not mmap()?
Behdad Esfahbod 4053f3f7 2011-05-16T16:20:48 Cosmetic
Behdad Esfahbod a0359485 2011-05-16T15:07:48 Minor
Behdad Esfahbod 92de53ea 2011-05-16T12:24:56 [test/buffer] Add more tests for nil buffer
Behdad Esfahbod 065fb38c 2011-05-13T23:04:46 [test/ot-tag] More tests
Behdad Esfahbod 1a64f6e1 2011-05-13T22:55:32 [API] Add HB_LANGUAGE_INVALID
Behdad Esfahbod 40b5c2e8 2011-05-13T22:46:36 [test/test-ot-tag] Test hb-ot-tag.h, fix many bugs I'm in awe with how many bugs this test revealed. All fixed.
Behdad Esfahbod 7fc5a30c 2011-05-12T17:48:20 [API] Add hb_face_make/is_immutable()
Behdad Esfahbod 0fd8c2f1 2011-05-12T15:14:13 [API] Make get_glyph() callback return a boolean We need to know whether the glyph exists, so we can fallback to composing / decomposing. Assuming that glyph==0 means "doesn't exist" wouldn't work for applications like Pango that want to use different "doesn't exist" glyph codes for different characters. An explicit return value fixes that.
Behdad Esfahbod 8e07f93a 2011-05-12T14:27:44 [test/shape] Check shape output
Behdad Esfahbod 23d24322 2011-05-12T10:53:57 [test] Add test-shape.c. Oops
Behdad Esfahbod c098c3ac 2011-05-12T10:49:30 [test/blob] Use MAP_ANON instead of MAP_ANONYMOUS More portable.
Behdad Esfahbod 8329eb7c 2011-05-12T01:39:17 [test/shape] Add simplest test for hb_shape()
Behdad Esfahbod f2c1dd4f 2011-05-12T00:35:12 [test/font] Test font_funcs subclassing
Behdad Esfahbod 14f1e81b 2011-05-12T00:18:28 [test/font] Test empty funcs
Behdad Esfahbod 2ca0b5ae 2011-05-11T23:57:36 [test/font] Test more
Behdad Esfahbod 7033518f 2011-05-11T23:31:15 [API] Pass face to get_table()
Behdad Esfahbod ea93e7b2 2011-05-11T23:22:55 [test/font] More tests
Behdad Esfahbod cdb15317 2011-05-11T23:12:58 [test/font] More tests
Behdad Esfahbod 74d9fa3d 2011-05-11T23:07:47 [test/font] More get_empty() tests
Behdad Esfahbod db9f4eb4 2011-05-11T23:06:02 [test/font] Test get_face() / get_parent()
Behdad Esfahbod 606923bb 2011-05-11T23:05:02 [test/font] Add test_font_properties()
Behdad Esfahbod da603e80 2011-05-11T22:52:35 [test/font] Start adding tests for hb-font.h
Behdad Esfahbod 9a14688e 2011-05-11T22:49:29 [API] Rename hb_face_create_for_data() to hb_face_create()
Behdad Esfahbod b8477e1d 2011-05-11T21:12:44 [test] Add tests for _get_empty() funcs
Behdad Esfahbod 80a6833b 2011-05-11T18:14:44 [API] Add hb_*_get_empty() for all objects
Behdad Esfahbod 7aa12ebd 2011-05-11T11:55:11 [unicode] Simplify method setting
Behdad Esfahbod 74f1d896 2011-05-10T19:39:32 Add hb_font_make/is_immutable()
Behdad Esfahbod 0c2ec1d7 2011-05-10T19:11:27 [test] Always initialize gthread such that our mutex() stuff is tested Now the test/object test deadlocks as expected. Fix coming.
Behdad Esfahbod 6a9093cc 2011-05-10T19:00:07 [test/object] Test user_data with destroy() callback that calls user_data Exposes the non-atomicity of user_data opertaions at this time because we call finish() while still locked and modifying the object. In fact, I'm surprised that it doesn't deadlock. It should.
Behdad Esfahbod f82c1863 2011-05-10T17:48:34 [test/blob] Fix bug in test
Behdad Esfahbod 785d23ac 2011-05-10T17:41:44 [test/blob] Add create_sub_blob()
Behdad Esfahbod 0617b155 2011-05-10T17:37:08 [test] Test blob API
Behdad Esfahbod 1c9f8717 2011-05-06T22:28:26 [API] Simplify blob API, remove lock
Behdad Esfahbod 34fb5521 2011-05-06T00:04:28 [API] Add hb_language_get_default() It uses locale information to detect default language. It's used by hb_shape() whenever language is not set on the buffer. Not sure how to properly test it in the test suite. Tested by observing that with DejaVu Sans we select the proper local glyph version for U+431 under Serbian locale. See http://www.pango.org/ScriptGallery
Behdad Esfahbod c78f4485 2011-05-05T21:31:04 [API] Add version macros and functions Step version up to 0.5.0. Also, fix to pass "make distcheck"
Behdad Esfahbod e6a5b88c 2011-05-05T16:24:42 Fix build with older glib
Behdad Esfahbod 811482bd 2011-05-05T13:21:04 Replace hb_map_t with hb_set_t which is more intuitive and flexible
Behdad Esfahbod 72657e4c 2011-05-02T20:46:32 [API] Make hb_font_create() take a face and reference it
Behdad Esfahbod db995895 2011-05-02T19:52:47 [test/object] Add test for object lifecycle stuff Revealed many bugs in the (untested and known buggy) user_data support.
Behdad Esfahbod f74d6c81 2011-05-02T19:52:32 Cosmetic
Behdad Esfahbod cd361ec9 2011-05-02T16:54:05 Cosmetic
Behdad Esfahbod c784c67a 2011-05-02T15:59:57 [unicode] Make _get_parent() return _nil object instead of NULL
Behdad Esfahbod 07e22779 2011-05-02T14:58:04 [test/unicode] Add script roundtrip tests for glib and ICU
Behdad Esfahbod 7cda6593 2011-05-02T14:33:53 [test/unicode] Better test chainup
Behdad Esfahbod 250c5922 2011-05-02T14:21:30 [test/unicode] Port the _custom test to test all property setters
Behdad Esfahbod e74b5b33 2011-05-02T14:03:55 [test/unicode] Test Unicode 5.2+ but don't fail
Behdad Esfahbod c763aa42 2011-05-02T13:52:17 [test/buffer] Clean up testing Getting the hang of how to cleanly use gtest.
Behdad Esfahbod 819e9d9e 2011-05-02T12:38:54 Minor
Behdad Esfahbod e8e29c72 2011-05-02T12:06:18 [test/unicode] Add log messages Use with --verbose to see what's failing
Behdad Esfahbod 208c2c31 2011-05-01T20:04:01 Minor
Behdad Esfahbod 60833efa 2011-04-29T16:49:57 [test/unicode] Add testing of all unicode properties ICU fails for now.
Behdad Esfahbod da96ee07 2011-04-29T12:17:09 [test/unicode] Test is/make_immutable()
Behdad Esfahbod 6af9cff5 2011-04-29T12:00:38 [test/unicode] Use text fixture instead of static variables
Behdad Esfahbod 13db3d40 2011-04-28T19:44:45 [test/buffer] Add UTF-16 tests
Behdad Esfahbod 243673d6 2011-04-28T19:37:51 [test/buffer] Add more extensive UTF-8 test data from glib
Behdad Esfahbod dfec67f9 2011-04-28T18:34:42 [test/buffer] Add initial utf-8 tests
Behdad Esfahbod aafe395a 2011-04-28T17:10:44 Add test suite infrastructure Wraps around glib for convenience and ease of use.
Behdad Esfahbod 1d39d6e4 2011-04-28T15:54:16 Desable possibly lethal test on 64-bit machines
Behdad Esfahbod 32640428 2011-04-28T14:24:16 [test/buffer] Test pre_allocate() and allocation_successful()
Behdad Esfahbod 15c57e04 2011-04-28T12:28:54 [test/buffer] Add test pre_alloc(); hangs in the buffer code right now Because the following loop overflows: while (size > new_allocated) new_allocated += (new_allocated >> 1) + 32;
Behdad Esfahbod 1e5527e2 2011-04-28T12:15:24 [test/buffer] Test reset(), set_length(), and set/get_unicode_data()
Behdad Esfahbod db126b54 2011-04-28T11:56:29 [test/buffer] Test reverse() and reverse_clusters()
Behdad Esfahbod 39a840ae 2011-04-27T14:48:19 [API] Add hb_direction_from/to_string() And hb-view --direction argument.
Behdad Esfahbod d4bee9f8 2011-04-27T09:24:37 [API] Add hb_unicode_funcs_get_default()
Behdad Esfahbod 2409d5f8 2011-04-21T17:14:28 Update Copyright headers
Behdad Esfahbod af029337 2011-04-20T15:49:31 [API] Remove hb_*_get_reference_count() This was a bizzare piece of API that I inherited from cairo. It has been wrong adding them to cairo in the first place. Remove them before someone uses them!
Behdad Esfahbod fb6291d9 2011-04-20T03:15:31 [test] Add test for headers included from C and C++
Behdad Esfahbod 107a5058 2011-04-20T03:04:56 [test] Add todo items
Behdad Esfahbod 1fd73b59 2011-04-20T02:56:39 [test] Rename test-types to test-common
Behdad Esfahbod f144a8ea 2011-04-20T02:54:42 [icu] Add two-way script conversion functions Also optimizes the common-direction script lookup.
Behdad Esfahbod fb194b87 2011-04-20T02:00:47 unicode: Cleanup implementation
Ryan Lortie 2fd0c577 2011-04-20T00:19:20 [API] unicode: rework virtual functions for subclassing Unicode data providers can now be subclassed, including support for chain-up. The interface should now be nicely bindable, as well. Also fix glib unicode funcs that where broken after hb_script_t changes. Nicely caught by the test-unicode.c added in this commit.
Behdad Esfahbod f85faee9 2011-04-19T00:38:01 [API] Rename hb_buffer_add_glyph() to hb_buffer_add()
Behdad Esfahbod aab0de50 2011-04-19T00:32:19 [API] Add hb_buffer_allocation_successful() Returns the error status of the buffer.
Ryan Lortie 70566bef 2011-04-15T18:32:36 [API} hb_buffer_get_glyph_{infos,positions}: Add length out parameter Return the length, whenever we return an array. Makes it easier on the language bindings.
Behdad Esfahbod 62879eeb 2011-04-18T23:40:21 [API] Use ISO 15924 tags for hb_script_t This simplifies the code, reduces static data, and makes the design more extensible to future additions of new scripts.
Behdad Esfahbod c0af193c 2011-04-15T19:26:24 Change buffer default properties to invalid This includes HB_DIRECTION_INVALID and HB_SCRIPT_INVALID. The INVALID will cause a "guess whatever from the text" in hb_shape(). While it's not ideal, it works better than the previous defaults at least (HB_DIRECTION_LTR and HB_SCRIPT_COMMON).
Behdad Esfahbod 2fc56edf 2011-04-15T18:35:08 [API] Remove hb_buffer_clear() One should use hb_buffer_reset() really.