Class ProtoHookOrder

Namespace
ProtoTest.Core
Assembly
ProtoTest.Core.dll

Named positions for Order and Order, so a hook can sit relative to the built-ins without spelling out their raw values. Lower orders run earlier on the way in and later on the way out; two orders of the same value run in registration order.

public static class ProtoHookOrder
Inheritance
ProtoHookOrder
Inherited Members

Fields

Authentication

The HTTP integrations' auth hook: after default hooks, so it can override the request.

public const int Authentication = 100

Field Value

int

ClientCompletion

The test hook that completes clients, right after First, so clients outlive every other test hook.

public const int ClientCompletion = -2147483647

Field Value

int

Default

Where hooks and attributes with no explicit order run.

public const int Default = 0

Field Value

int

First

The outermost band, used by ProtoTest itself: the test hook that initializes clients runs first on the way in, and the run hook that writes the trace archive runs last on the way out.

public const int First = -2147483648

Field Value

int

ReportSinks

The run hook that exports reports, before resources are released and the trace archives.

public const int ReportSinks = -2147483646

Field Value

int

RunGates

The run hook that evaluates run gates, before reports export.

public const int RunGates = -2147483645

Field Value

int

RunResources

The run hook that releases run-scoped resources, after reports export and before the trace archives.

public const int RunResources = -2147483647

Field Value

int