You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
6.2 KiB
XML
114 lines
6.2 KiB
XML
<?xml version="1.0"?>
|
|
<doc>
|
|
<assembly>
|
|
<name>Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions</name>
|
|
</assembly>
|
|
<members>
|
|
<member name="T:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute">
|
|
<summary>
|
|
用來指定每個測試部署的部署項目 (檔案或目錄)。
|
|
可以指定於測試類別或測試方法。
|
|
可以有屬性的多個執行個體來指定多個項目。
|
|
項目路徑可以是相對或絕對路徑,如果是相對路徑,則是 RunConfig.RelativePathRoot 的相對路徑。
|
|
</summary>
|
|
<example>
|
|
[DeploymentItem("file1.xml")]
|
|
[DeploymentItem("file2.xml", "DataFiles")]
|
|
[DeploymentItem("bin\Debug")]
|
|
</example>
|
|
<remarks>
|
|
Putting this in here so that UWP discovery works. We still do not want users to be using DeploymentItem in the UWP world - Hence making it internal.
|
|
We should separate out DeploymentItem logic in the adapter via a Framework extensiblity point.
|
|
Filed https://github.com/Microsoft/testfx/issues/100 to track this.
|
|
</remarks>
|
|
</member>
|
|
<member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute.#ctor(System.String)">
|
|
<summary>
|
|
初始化 <see cref="T:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute"/> 類別的新執行個體。
|
|
</summary>
|
|
<param name="path">要部署的檔案或目錄。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。</param>
|
|
</member>
|
|
<member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute.#ctor(System.String,System.String)">
|
|
<summary>
|
|
初始化 <see cref="T:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute"/> 類別的新執行個體
|
|
</summary>
|
|
<param name="path">要部署之檔案或目錄的相對或絕對路徑。路徑是建置輸出目錄的相對路徑。項目將會複製到與已部署的測試組件相同的目錄。</param>
|
|
<param name="outputDirectory">要將項目複製到其中之目錄的路徑。它可以是部署目錄的絕對或相對路徑。下者所識別的所有檔案和目錄: <paramref name="path"/> 將會複製到這個目錄中。</param>
|
|
</member>
|
|
<member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute.Path">
|
|
<summary>
|
|
取得要複製之來源檔案或資料夾的路徑。
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.DeploymentItemAttribute.OutputDirectory">
|
|
<summary>
|
|
取得要將項目複製到其中之目錄的路徑。
|
|
</summary>
|
|
</member>
|
|
<member name="T:Microsoft.VisualStudio.TestTools.UnitTesting.AppContainer.UITestMethodAttribute">
|
|
<summary>
|
|
在 Windows 市集應用程式的 UI 執行緒執行測試程式碼。
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.AppContainer.UITestMethodAttribute.Execute(Microsoft.VisualStudio.TestTools.UnitTesting.ITestMethod)">
|
|
<summary>
|
|
在 UI 執行緒執行測試方法。
|
|
</summary>
|
|
<param name="testMethod">
|
|
測試方法。
|
|
</param>
|
|
<returns>
|
|
下列項目的陣列: <see cref="T:Microsoft.VisualStudio.TestTools.UnitTesting.TestResult"/> 執行個體。
|
|
</returns>
|
|
Throws <exception cref="T:System.NotSupportedException"> when run on an async test method.
|
|
</exception>
|
|
</member>
|
|
<member name="T:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext">
|
|
<summary>
|
|
TestContext 類別。這個類別應該是完全抽象的,而且未包含任何
|
|
成員。配接器將會實作成員。架構中的使用者只
|
|
應透過妥善定義的介面來存取這個項目。
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.Properties">
|
|
<summary>
|
|
取得測試的測試屬性。
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.FullyQualifiedTestClassName">
|
|
<summary>
|
|
取得包含目前正在執行之測試方法的類別完整名稱
|
|
</summary>
|
|
<remarks>
|
|
This property can be useful in attributes derived from ExpectedExceptionBaseAttribute.
|
|
Those attributes have access to the test context, and provide messages that are included
|
|
in the test results. Users can benefit from messages that include the fully-qualified
|
|
class name in addition to the name of the test method currently being executed.
|
|
</remarks>
|
|
</member>
|
|
<member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.TestName">
|
|
<summary>
|
|
取得目前正在執行的測試方法名稱
|
|
</summary>
|
|
</member>
|
|
<member name="P:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.CurrentTestOutcome">
|
|
<summary>
|
|
取得目前測試結果。
|
|
</summary>
|
|
</member>
|
|
<member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.WriteLine(System.String)">
|
|
<summary>
|
|
Used to write trace messages while the test is running
|
|
</summary>
|
|
<param name="message">formatted message string</param>
|
|
</member>
|
|
<member name="M:Microsoft.VisualStudio.TestTools.UnitTesting.TestContext.WriteLine(System.String,System.Object[])">
|
|
<summary>
|
|
Used to write trace messages while the test is running
|
|
</summary>
|
|
<param name="format">format string</param>
|
|
<param name="args">the arguments</param>
|
|
</member>
|
|
</members>
|
|
</doc>
|