Class UnityUiThemeDefinitionEditorObjectFieldTests
The UI Theme Definition inspector's template fields hold prefabs only and record a drop for Undo against
the theme: a theme asset that kept a scene object would lose the reference on save, and a drop that
skipped the theme's undo record could not be taken back. Driven through the inspector's real
field-rendering path with IMGUI's object field replaced, since a batch run has no OnGUI pass.
Inherited Members
Namespace: Serenity.Ui.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class UnityUiThemeDefinitionEditorObjectFieldTests
Constructors
UnityUiThemeDefinitionEditorObjectFieldTests()
Declaration
public UnityUiThemeDefinitionEditorObjectFieldTests()
Methods
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
TitlePrefabField_ADroppedPrefab_IsRecordedForUndoAgainstTheTheme()
Declaration
public void TitlePrefabField_ADroppedPrefab_IsRecordedForUndoAgainstTheTheme()
TitlePrefabField_AcceptsAssetsOnly()
Declaration
public void TitlePrefabField_AcceptsAssetsOnly()