このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。
sltest.testmanager.ResultSet クラス
名前空間: sltest.testmanager
結果セット データへのアクセス
説明
作成
sltest.testmanager.ResultSet
オブジェクトは関数 sltest.testmanager.run
で作成されます。
プロパティ
結果セットの名前。文字ベクトルとして返されます。結果セットの名前を変更するには、sltest.testmanager.getResultSets
を使用し、結果セット オブジェクトの Name
プロパティを設定します。
sltest.testmanager.setpref
を使用して結果セットの名前の基本設定を設定できます。同じ MATLAB セッションおよび以降のセッションでテストを実行するときに、指定した名前がすべての結果セットに適用されます。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
結果セットの説明。文字ベクトルとして返されます。結果セットの説明を追加するには、sltest.testmanager.getResultSets
を使用し、結果セットの Description
プロパティを設定します。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
カバレッジ解析結果。すべてのシミュレーションについての集計された cvdata
オブジェクトの行ベクトルとして返されます。cvdata
オブジェクトの詳細については、cvdata
(Simulink Coverage) を参照してください。
属性:
SetAccess | private |
GetAccess | public |
Dependent | true |
NonCopyable | true |
テストの実行時間の長さ (秒)。duration として返されます。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
テストが実行されたリリース。文字ベクトルとして返されます。
属性:
SetAccess | private |
GetAccess | public |
結果セット内の無効になったテスト ケースの数。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
結果セット内の未完了のテストの数。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
結果セットに含まれている失敗したテストの数。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
結果セットに含まれているパスしたテストの数。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
結果セット オブジェクトの直接の子であるテスト ケース結果の数。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
結果セット オブジェクトの直接の子であるテスト スイート結果の数。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
結果セット オブジェクトの直接の子であるテスト ファイル結果の数。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
結果セット内のテストの総数。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
テスト結果。Passed
または Failed
として返されます。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
テストの実行が開始された時間。datetime として返されます。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
テストが完了した時間。datetime として返されます。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
結果セットと共に格納されるカスタム データ。任意の型のデータとして指定します。このフィールドは、結果を取得するために使用された設定など、結果に関するカスタムの情報を追加するために使用します。
属性:
SetAccess | public |
GetAccess | public |
Dependent | true |
NonCopyable | true |
メソッド
getTestCaseResults | テスト ケース結果オブジェクトを取得 |
getTestSuiteResults | テスト スイート結果オブジェクトを取得 |
getTestFileResults | テスト ファイル結果オブジェクトを取得 |
getCoverageResults | カバレッジ結果を取得 |
remove | Remove result set |
clearSimulationData | Delete specified simulation test results in result set objects |
例
テスト マネージャーに現在あるすべての結果セットを取得します。
allresultsets = sltest.testmanager.getResultSets
テスト ファイルを sltest.testmanager.run
で実行した結果を取得します。
result = sltest.testmanager.run; testCaseResultArray = result.getTestCaseResults; testSuiteResultArray = result.getTestSuiteResults;
バージョン履歴
R2015a で導入
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)