MAPITests 2.0 API Documentation

- Main Page
- Related Pages
- Data Structures
- Files

- File List
- Globals

Data Structures | Enumerations
mapitest.h File Reference

Data structures for mapitest. More...

## Data Structures
struct | mapitest
| The context structure for a mapitest run. More...
struct | mapitest_stat
| mapitest statistics More...
struct | mapitest_suite
| A list of test suites. More...
struct | mapitest_test
| A list of mapitest tests. More...
struct | mapitest_unit
| List of test names. More...
struct | mt_common_tf_ctx
| Context for mapitest test folder. More...

## Enumerations
enum | TestApplicabilityFlags { ApplicableToAllVersions = 0, NotInExchange2010 = 0x1, NotInExchange2010SP0 = 0x2, ExpectedFail = 0x8000 }
| Flags for changing test applicability. More...
enum | TestResult { Pass, Fail, UnexpectedPass, ExpectedFailure }
| List of possible test results. More...

## Detailed Description

Data structures for mapitest.

## Enumeration Type Documentation

enum TestApplicabilityFlags

Flags for changing test applicability.

If you add values here, you also need to add a matching description to applicabilityFlagsDescription and suitable logic to mapitest_suite_test_is_applicable().

Enumerator:

  ApplicableToAllVersions | This test is always applicable
  NotInExchange2010 | This test is not applicable to Exchange 2010
  NotInExchange2010SP0 | This test is not applicable to Exchange 2010 Service Pack 0, but is applicable to later versions
  ExpectedFail | This test is expected to fail

enum TestResult

List of possible test results.

Enumerator:

  Pass | The test was expected to pass, and it did
  Fail | The test was expected to pass, but it failed
  UnexpectedPass | The test was expected to fail, but it passed instead
  ExpectedFailure | The test was expected to fail, and it did

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