Click or drag to resize

Emulate3DTestFixture Class

A class for creating and running Emulate3D tests.
Includes helper properties and methods for running Emulate3D tests.
Inheriting classes are marked as containing Emulate3D tests (marked with Emulate3DTestAttribute).
Inheritance Hierarchy
SystemObject
  Demo3D.TestRunnerEmulate3DTestFixture

Namespace:  Demo3D.TestRunner
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public class Emulate3DTestFixture : IDisposable

The Emulate3DTestFixture type exposes the following members.

Constructors
  NameDescription
Public methodEmulate3DTestFixture
Default constructor for Emulate3DTestFixture.
Top
Properties
  NameDescription
Public propertyApp
Reference to the application.
Public propertyAssertResultLogger
Log assert results to a file.
Public propertyDocument
Reference to the currently loaded Document in the application.
Public propertyKpiRecorder
KPI Recorder.
Top
Methods
  NameDescription
Public methodDispose
Releases all resources used by the Emulate3DTestFixture
Public methodLoadModel
Loads the model from the provided path.
Public methodModelAction
Execute an action on the model thread. NUnit asserts must be invoked this way.
Public methodModelActionAsync
Execute an action on the model thread. NUnit asserts must be invoked this way.
Public methodRunActionAtTime
Insert an action into the model event queue at the specified time. Required if using NUnit asserts.
Public methodRunModelForSecondsAsync(Double)
Run the model for the specified number of seconds.
Public methodRunModelForSecondsAsync(Double, Double)
Fast forward the model for the specified number of seconds.
Public methodSetUp
Setup method which prepares the fixture for the next test.
Public methodTearDown
Teardown method which cleans up the fixture after a test run.
Top
See Also