Class InspectorDrawProbeAsset
The asset InspectorDrawPassTests draws its probe editors over. It only counts the writes a probe editor makes, so a test can tell a caught write from one the pass never reached.
Namespace: Serenity.Tests.Shared.Editor
Assembly: Serenity.Tests.Shared.Editor.dll
Syntax
public class InspectorDrawProbeAsset : ScriptableObject
Constructors
InspectorDrawProbeAsset()
Declaration
public InspectorDrawProbeAsset()
Methods
RecordWriteFromDraw()
The write a probe editor performs while it is drawn: changes a value and marks the asset dirty, exactly the shape of the defect the draw contracts exist to catch.
Declaration
public void RecordWriteFromDraw()