Class TestDataNotFoundException
Thrown when a test data asset declared with RequireTestDataAttribute cannot be loaded. Tests must always have access to their declared assets, so a miss fails the test; the message states what was declared, what was built, and what was searched.
Implements
Inherited Members
Namespace: UnityEngine.TestTools.Graphics
Assembly: UnityEngine.TestTools.Graphics.dll
Syntax
public sealed class TestDataNotFoundException : Exception, ISerializable
Constructors
TestDataNotFoundException(string)
Creates a new instance with the load diagnostics as the message.
Declaration
public TestDataNotFoundException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The diagnostics describing the failed lookup. |