@@ -50,6 +50,36 @@ internal static class Constants
5050
5151 internal static readonly TestProperty InnerResultsCountProperty = TestProperty . Register ( "InnerResultsCount" , InnerResultsCountLabel , typeof ( int ) , TestPropertyAttributes . Hidden , typeof ( TestResult ) ) ;
5252
53+ internal static readonly TestProperty TestRunIdProperty = TestProperty . Register ( TestRunId , TestRunId , typeof ( int ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
54+
55+ internal static readonly TestProperty TestPlanIdProperty = TestProperty . Register ( TestPlanId , TestPlanId , typeof ( int ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
56+
57+ internal static readonly TestProperty TestCaseIdProperty = TestProperty . Register ( TestCaseId , TestCaseId , typeof ( int ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
58+
59+ internal static readonly TestProperty TestPointIdProperty = TestProperty . Register ( TestPointId , TestPointId , typeof ( int ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
60+
61+ internal static readonly TestProperty TestConfigurationIdProperty = TestProperty . Register ( TestConfigurationId , TestConfigurationId , typeof ( int ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
62+
63+ internal static readonly TestProperty TestConfigurationNameProperty = TestProperty . Register ( TestConfigurationName , TestConfigurationName , typeof ( string ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
64+
65+ internal static readonly TestProperty IsInLabEnvironmentProperty = TestProperty . Register ( IsInLabEnvironment , IsInLabEnvironment , typeof ( bool ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
66+
67+ internal static readonly TestProperty BuildConfigurationIdProperty = TestProperty . Register ( BuildConfigurationId , BuildConfigurationId , typeof ( int ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
68+
69+ internal static readonly TestProperty BuildDirectoryProperty = TestProperty . Register ( BuildDirectory , BuildDirectory , typeof ( string ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
70+
71+ internal static readonly TestProperty BuildFlavorProperty = TestProperty . Register ( BuildFlavor , BuildFlavor , typeof ( string ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
72+
73+ internal static readonly TestProperty BuildNumberProperty = TestProperty . Register ( BuildNumber , BuildNumber , typeof ( string ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
74+
75+ internal static readonly TestProperty BuildPlatformProperty = TestProperty . Register ( BuildPlatform , BuildPlatform , typeof ( string ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
76+
77+ internal static readonly TestProperty BuildUriProperty = TestProperty . Register ( BuildUri , BuildUri , typeof ( string ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
78+
79+ internal static readonly TestProperty TfsServerCollectionUrlProperty = TestProperty . Register ( TfsServerCollectionUrl , TfsServerCollectionUrl , typeof ( string ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
80+
81+ internal static readonly TestProperty TfsTeamProjectProperty = TestProperty . Register ( TfsTeamProject , TfsTeamProject , typeof ( string ) , TestPropertyAttributes . Hidden , typeof ( TestCase ) ) ;
82+
5383 #endregion
5484
5585 #region Private Constants
@@ -69,6 +99,22 @@ internal static class Constants
6999 private const string ParentExecIdLabel = "ParentExecId" ;
70100 private const string InnerResultsCountLabel = "InnerResultsCount" ;
71101
102+ private const string TestRunId = "__Tfs_TestRunId__" ;
103+ private const string TestPlanId = "__Tfs_TestPlanId__" ;
104+ private const string TestCaseId = "__Tfs_TestCaseId__" ;
105+ private const string TestPointId = "__Tfs_TestPointId__" ;
106+ private const string TestConfigurationId = "__Tfs_TestConfigurationId__" ;
107+ private const string TestConfigurationName = "__Tfs_TestConfigurationName__" ;
108+ private const string IsInLabEnvironment = "__Tfs_IsInLabEnvironment__" ;
109+ private const string BuildConfigurationId = "__Tfs_BuildConfigurationId__" ;
110+ private const string BuildDirectory = "__Tfs_BuildDirectory__" ;
111+ private const string BuildFlavor = "__Tfs_BuildFlavor__" ;
112+ private const string BuildNumber = "__Tfs_BuildNumber__" ;
113+ private const string BuildPlatform = "__Tfs_BuildPlatform__" ;
114+ private const string BuildUri = "__Tfs_BuildUri__" ;
115+ private const string TfsServerCollectionUrl = "__Tfs_TfsServerCollectionUrl__" ;
116+ private const string TfsTeamProject = "__Tfs_TeamProject__" ;
117+
72118 #endregion
73119 }
74120}
0 commit comments