Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.xml 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <?xml version="1.0"?>
  2. <doc>
  3. <assembly>
  4. <name>Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions</name>
  5. </assembly>
  6. <members>
  7. <member name="T:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute">
  8. <summary>
  9. Used to specify deployment item (file or directory) for per-test deployment.
  10. Can be specified on test class or test method.
  11. Can have multiple instances of the attribute to specify more than one item.
  12. The item path can be absolute or relative, if relative, it is relative to RunConfig.RelativePathRoot.
  13. </summary>
  14. <example>
  15. [DeploymentItem("file1.xml")]
  16. [DeploymentItem("file2.xml", "DataFiles")]
  17. [DeploymentItem("bin\Debug")]
  18. </example>
  19. </member>
  20. <member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute.#ctor(System.String)">
  21. <summary>
  22. Initializes a new instance of the <see cref="T:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute"/> class.
  23. </summary>
  24. <param name="path">The file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies.</param>
  25. </member>
  26. <member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute.#ctor(System.String,System.String)">
  27. <summary>
  28. Initializes a new instance of the <see cref="T:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute"/> class
  29. </summary>
  30. <param name="path">The relative or absolute path to the file or directory to deploy. The path is relative to the build output directory. The item will be copied to the same directory as the deployed test assemblies.</param>
  31. <param name="outputDirectory">The path of the directory to which the items are to be copied. It can be either absolute or relative to the deployment directory. All files and directories identified by <paramref name="path"/> will be copied to this directory.</param>
  32. </member>
  33. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute.Path">
  34. <summary>
  35. Gets the path of the source file or folder to be copied.
  36. </summary>
  37. </member>
  38. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute.OutputDirectory">
  39. <summary>
  40. Gets the path of the directory to which the item is copied.
  41. </summary>
  42. </member>
  43. <member name="T:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext">
  44. <summary>
  45. Used to store information that is provided to unit tests.
  46. </summary>
  47. </member>
  48. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.Properties">
  49. <summary>
  50. Gets test properties for a test.
  51. </summary>
  52. </member>
  53. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.CancellationTokenSource">
  54. <summary>
  55. Gets or sets the cancellation token source. This token source is canceled when test times out. Also when explicitly canceled the test will be aborted
  56. </summary>
  57. </member>
  58. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestRunDirectory">
  59. <summary>
  60. Gets base directory for the test run, under which deployed files and result files are stored.
  61. </summary>
  62. </member>
  63. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.DeploymentDirectory">
  64. <summary>
  65. Gets directory for files deployed for the test run. Typically a subdirectory of <see cref="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestRunDirectory"/>.
  66. </summary>
  67. </member>
  68. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.ResultsDirectory">
  69. <summary>
  70. Gets base directory for results from the test run. Typically a subdirectory of <see cref="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestRunDirectory"/>.
  71. </summary>
  72. </member>
  73. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestRunResultsDirectory">
  74. <summary>
  75. Gets directory for test run result files. Typically a subdirectory of <see cref="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.ResultsDirectory"/>.
  76. </summary>
  77. </member>
  78. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestResultsDirectory">
  79. <summary>
  80. Gets directory for test result files.
  81. </summary>
  82. </member>
  83. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestDir">
  84. <summary>
  85. Gets base directory for the test run, under which deployed files and result files are stored.
  86. Same as <see cref="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestRunDirectory"/>. Use that property instead.
  87. </summary>
  88. </member>
  89. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestDeploymentDir">
  90. <summary>
  91. Gets directory for files deployed for the test run. Typically a subdirectory of <see cref="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestRunDirectory"/>.
  92. Same as <see cref="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.DeploymentDirectory"/>. Use that property instead.
  93. </summary>
  94. </member>
  95. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestLogsDir">
  96. <summary>
  97. Gets directory for test run result files. Typically a subdirectory of <see cref="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.ResultsDirectory"/>.
  98. Same as <see cref="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestRunResultsDirectory"/>. Use that property for test run result files, or
  99. <see cref="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestResultsDirectory"/> for test-specific result files instead.
  100. </summary>
  101. </member>
  102. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.FullyQualifiedTestClassName">
  103. <summary>
  104. Gets the Fully-qualified name of the class containing the test method currently being executed
  105. </summary>
  106. </member>
  107. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.ManagedType">
  108. <summary>
  109. Gets the fully specified type name metadata format.
  110. </summary>
  111. </member>
  112. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.ManagedMethod">
  113. <summary>
  114. Gets the fully specified method name metadata format.
  115. </summary>
  116. </member>
  117. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestName">
  118. <summary>
  119. Gets the name of the test method currently being executed
  120. </summary>
  121. </member>
  122. <member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.CurrentTestOutcome">
  123. <summary>
  124. Gets the current test outcome.
  125. </summary>
  126. </member>
  127. <member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.AddResultFile(System.String)">
  128. <summary>
  129. Adds a file name to the list in TestResult.ResultFileNames
  130. </summary>
  131. <param name="fileName">
  132. The file Name.
  133. </param>
  134. </member>
  135. <member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.Write(System.String)">
  136. <summary>
  137. Used to write trace messages while the test is running
  138. </summary>
  139. <param name="message">formatted message string</param>
  140. </member>
  141. <member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.Write(System.String,System.Object[])">
  142. <summary>
  143. Used to write trace messages while the test is running
  144. </summary>
  145. <param name="format">format string</param>
  146. <param name="args">the arguments</param>
  147. </member>
  148. <member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.WriteLine(System.String)">
  149. <summary>
  150. Used to write trace messages while the test is running
  151. </summary>
  152. <param name="message">formatted message string</param>
  153. </member>
  154. <member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.WriteLine(System.String,System.Object[])">
  155. <summary>
  156. Used to write trace messages while the test is running
  157. </summary>
  158. <param name="format">format string</param>
  159. <param name="args">the arguments</param>
  160. </member>
  161. </members>
  162. </doc>