C# Класс MsgPack.UnityTestDriver

Implements unit test driver for Unity IL2CPP.
Наследование: TestDriver
Показать файл Открыть проект

Открытые методы

Метод Описание
Run ( UnityEngine.UI.Button buttonPrefab, GameObject buttonVertical, Result resultPrefab, GameObject resultVertical ) : void

Runs this test driver.

Приватные методы

Метод Описание
CleanUpTestEngine ( ) : void

Clean-ups the underlying test engine.

Clear ( GameObject resultVertical ) : void

Clears the test results..

CreateResult ( string methodName, Result resultPrefab, GameObject resultVertical ) : Result

Creates new test result.

InitializeTestEngine ( ) : void

Initializes the underlying test engine.

IsTestFailure ( Exception ex ) : bool

Determines whether the exception represents test failure instead of exceptional case (that is, error).

IsTestSkipping ( Exception ex ) : bool

Determines whether the exception represents test skipping instead of exceptional case (that is, error).

RunAllTestCoroutine ( IEnumerable testClasses, Result resultPrefab, GameObject resultVertical ) : IEnumerator

Runs all test as coroutine.

RunTestCoroutine ( TestClass testClass, Result resultPrefab, GameObject resultVertical ) : IEnumerator

Runs specified test class as coroutine.

RuntTestCoroutineCore ( TestClass testClass, TestSummaryReporter summaryReporter, Result resultPrefab, GameObject resultVertical ) : IEnumerator

Runs specified test class as coroutine.

Описание методов

Run() публичный Метод

Runs this test driver.
public Run ( UnityEngine.UI.Button buttonPrefab, GameObject buttonVertical, Result resultPrefab, GameObject resultVertical ) : void
buttonPrefab UnityEngine.UI.Button The prefab for test starting buttons.
buttonVertical UnityEngine.GameObject The vertical area which test starting buttons to be belonging.
resultPrefab Result The prefab for test result indicators.
resultVertical UnityEngine.GameObject The vertical area which test result indicators to be belonging.
Результат void