メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

getTestCaseResults

クラス: sltest.testmanager.TestSuiteResult
名前空間: sltest.testmanager

テスト ケース結果オブジェクトを取得

構文

testCaseResultArray = getTestCaseResults(result)

説明

testCaseResultArray = getTestCaseResults(result) は、テスト スイート結果オブジェクトの直接の子であるテスト ケース結果を取得します。

入力引数

すべて展開する

テスト ケース結果を取得するテスト スイート結果。sltest.testmanager.TestSuiteResult オブジェクトとして指定します。

出力引数

すべて展開する

テスト ケース結果。sltest.testmanager.TestCaseResult オブジェクトの配列として返されます。関数は、テスト スイート結果オブジェクトの直接の子であるオブジェクトを返します。

すべて展開する

sltest.testmanager.run 関数を使用して、テスト ファイル、テスト スイート、テスト ケースの結果を含む結果セットを返します。

% Run tests in the Test Manager
result = sltest.testmanager.run;

% Get the test file results
testFileResultArray = getTestFileResults(result);

% Get the test suite results
testSuiteResultArray = getTestSuiteResults(testFileResultArray);

% Get the test case results
testCaseResultArray = getTestCaseResults(testSuiteResultArray);

バージョン履歴

R2015a で導入