-
Notifications
You must be signed in to change notification settings - Fork 341
Added constants for hierarchical naming #2724
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| // 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 = 4; | ||
|
|
||
| /// <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; | ||
|
|
||
| /// <summary> | ||
| /// Index of the test group element of the array. | ||
| /// </summary> | ||
| public const int TestGroupIndex = 2; | ||
|
|
||
| /// <summary> | ||
| /// Index of the display name element of the array. | ||
| /// </summary> | ||
| public const int DisplayNameIndex = 3; | ||
| } | ||
| } | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| // 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> | ||
| /// Contants to help declare ManagedType and ManagedMethod test properties. | ||
| /// </summary> | ||
| public static class ManagedNameConstants | ||
| { | ||
| /// <summary> | ||
| /// Label to use on ManagedType test property. | ||
| /// </summary> | ||
| public const string ManagedTypeLabel = "ManagedType"; | ||
|
|
||
| /// <summary> | ||
| /// Label to use on ManagedMethod test property. | ||
| /// </summary> | ||
| public const string ManagedMethodLabel = "ManagedMethod"; | ||
|
|
||
| /// <summary> | ||
| /// Property id to use on ManagedType test property. | ||
| /// </summary> | ||
| public const string ManagedTypePropertyId = "TestCase." + ManagedTypeLabel; | ||
|
|
||
| /// <summary> | ||
| /// Property id to use on ManagedMethod test property. | ||
| /// </summary> | ||
| public const string ManagedMethodPropertyId = "TestCase." + ManagedMethodLabel; | ||
| } | ||
| } |
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.