CESTRESS Return Value

This enumeration specifies return values for an iteration of a test module in the Modular Stress Test.

enum CESTRESS return value {
  CESTRESS_PASS,
  CESTRESS_FAIL,
  CESTRESS_WARN1,
  CESTRESS_WARN2,
  CESTRESS_ABORT
};

Elements

  • CESTRESS_PASS
    An iteration of the test module succeeded.

  • CESTRESS_FAIL
    The subject of the test failed to perform as expected.

  • CESTRESS_WARN1
    A problem occurred, but the problem is likely external to the subject of the test. The cause of the problem is unknown.

    For example, the test may have lost connection to a server that returned an ambiguous error code.

  • CESTRESS_WARN2
    A minor failure occurred in the test module, likely because of temporary, expected external circumstances.

    For example, the test module may not be able to connect to a server because the server reports that it has exceeded a limit on the number of connections. Or, for example, the test module may not be able to access a resource such as a file with the exclusive access rights the module requires, because another process owns the resource.

  • CESTRESS_ABORT
    Value that causes the harness to attempt to unload the test module.

Requirements

OS Versions: Windows CE .NET 4.2 and later.
Header: StressUtils.h.

See Also

Modular Stress Test Enumerations

 Last updated on Friday, October 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.