Commit graph

3 commits

Author SHA1 Message Date
Michael Gratton
6ea5e43168 vala-unit: Minor test fixups 2020-08-18 16:32:26 +10:00
Michael Gratton
7c48589550 vala-unit: Skip gee collection in older valac
It will fail without current vala head, so just skip under 0.48 or less.

See GNOME/vala#992
2020-06-30 17:31:07 +10:00
Michael Gratton
6b1bad28b9 Move generic unit test classes to a new basically-standalone subproject
Break out the generic testing code into something easily re-used, and
improve the API substantially:

 * Use generics to reduce the number of equality tests to effectively
   a single one
 * Make all assert args consistent in that the actual value is always
   listed first.
 * Add convenience API for common string/array/collection assertions
2020-06-30 17:20:12 +10:00