module_errorchecks.c File Reference

Error / sanity-check path tests. More...

Functions

bool mapitest_errorchecks_simplemapi_c (struct mapitest *mt)
 

Detailed Description

Error / sanity-check path tests.

Note
These tests do not show how to use libmapi properly, and should not be used as a programming reference.

Function Documentation

bool mapitest_errorchecks_simplemapi_c ( struct mapitest mt)

Verify simplemapi.c functions

This function:

  1. Tests the sanity checks in GetDefaultPublicFolder
  2. Tests the sanity checks in GetDefaultFolder
Parameters
mtpointer to the top-level mapitest structure
Returns
true on success, otherwise false

References mapitest_print().

Referenced by module_errorchecks_init().


Creative Commons License
Creative Commons Attribution icon Creative Commons Share Alike icon
This content is licensed under the Creative Commons
Attribution ShareAlike License v. 3.0:
http://creativecommons.org/licenses/by-sa/3.0/