Share via


TestCase::AddParent method

Adds a parent to the TestCase.

Syntax

virtual HRESULT AddParent(
  [in] LPCWSTR parent
) = 0;

Parameters

parent [in]

The parent.

Return value

If the function succeeds, it returns S_OK. If it fails, it returns an error value.

Remarks

The TestCase objects hold information from the Iteration/TestCases/TestCase elements.

The parent is the value of element TestCase/Parents/Parent.

A TestCase should have only one parent.

Requirements

Minimum supported client
Windows 7 [desktop apps only]
Minimum supported server
Windows Server 2008 R2 [desktop apps only]
Header
AxeRuntime.h
DLL
AxeCore.dll

See also

TestCase