Commit Graph

13 Commits

Author SHA1 Message Date
Gergely Polonkai b3d335259c Backport g_assert_true() and g_assert_false()
These macros were defined in 2.38, but SWE-GLib depends on
2.32. Requiring a newer version solely for this would be an overkill, so
let’s just backport them.
2015-11-24 12:27:35 +01:00
Gergely Polonkai eedcc3fb3a Create test for GsweTimestamp::instant-recalc 2015-11-24 12:14:22 +01:00
Gergely Polonkai da90330152 Fix tests 2015-11-23 16:53:16 +01:00
Gergely Polonkai 93d0fd68aa Backport g_assert_null() and g_assert_nonnull()
These were added in newer GLibbversions, but upgrading requirements
just because of these would be an overkill.
2014-11-18 08:04:35 +01:00
Gergely Polonkai 064d39b970 Begin refactoring GsweTimestamp tests 2014-11-18 00:43:29 +01:00
Gergely Polonkai 02703b7045 Add code coverage support 2014-11-13 17:30:16 +01:00
Gergely Polonkai b77aae9f5c Fix GsweTimestamp tests 2014-08-13 00:56:48 +02:00
Gergely Polonkai d2638adf8a Fix time zone value to be a float in GsweTimestamp test case 2014-07-06 00:46:34 +02:00
Gergely Polonkai 4b61c453fd Add time zone check to GsweTimestamp test case 2014-07-06 00:45:47 +02:00
Gergely Polonkai 105cf7c83b Fix GsweTimestamp test not to use deprecated functions 2014-07-06 00:45:22 +02:00
Gergely Polonkai cd36bafe9c Remove two unreliable lines from the test code
A fix must be introduced later, though!
2014-05-28 16:41:01 +02:00
Gergely Polonkai 2bdd8c3c60 Removed unprecise test line 2014-03-16 09:05:43 +01:00
Gergely Polonkai c2a0b6bada Add test case for GsweTimestamp
This can be run with make check. Other tests are to follow
2013-10-04 23:37:36 +02:00