forked from microsoft/vstest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
HierarchyConstants.cs
42 lines (37 loc) · 1.31 KB
/
HierarchyConstants.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.TestPlatform.AdapterUtilities
{
/// <summary>
/// Constants to help declare Hierarchy test property.
/// </summary>
public static class HierarchyConstants
{
/// <summary>
/// Label to use on Hierarchy test property.
/// </summary>
public const string HierarchyLabel = "Hierarchy";
/// <summary>
/// Property id to use on Hierarchy test property.
/// </summary>
public const string HierarchyPropertyId = "TestCase." + HierarchyLabel;
/// <summary>
/// Meanings of the indices in the Hierarchy array.
/// </summary>
public static class Levels
{
/// <summary>
/// Total length of Hierarchy array.
/// </summary>
public const int TotalLevelCount = 2;
/// <summary>
/// Index of the namespace element of the array.
/// </summary>
public const int NamespaceIndex = 0;
/// <summary>
/// Index of the class element of the array.
/// </summary>
public const int ClassIndex = 1;
}
}
}