* add many unit tests

This commit is contained in:
Dirk-Jan C. Binnema
2010-01-28 22:21:57 +02:00
parent a411a9964b
commit c5dc8f044d
20 changed files with 1628 additions and 21 deletions

View File

@ -45,14 +45,15 @@ char* mu_msg_str_date (time_t t) G_GNUC_WARN_UNUSED_RESULT;
/**
* get a display size for a given off_t;
* uses M for sizes > 1000*1000, k for smaller sizes
* get a display size for a given size_t; uses M for sizes >
* 1000*1000, k for smaller sizes. Note: this function use the
* 10-based SI units, _not_ the powers-of-2 based ones.
*
* mu_msg_str_size_s returns a ptr to a static buffer,
* while mu_msg_str_size returns dynamically allocated
* memory that must be freed after use.
*
* @param t the size as an off_t
* @param t the size as an size_t
*
* @return a string representation of the size; see above
* for what to do with it
@ -81,7 +82,7 @@ char* mu_msg_str_flags (MuMsgFlags flags) G_GNUC_WARN_UNUSED_RESULT;
/**
* get a display string for a message priority; either
* High,Low or Normal
* high, low or normal
*
* @param flags file flags
*