Class PropertyDrawerTests
Inheritance
PropertyDrawerTests
Assembly: UnityEditor.UI.EditorTests.dll
Syntax
public class PropertyDrawerTests
Methods
DropdownOptionDataListDrawer_IsVisible()
Declaration
[UnityTest]
[Ignore("Disabled for Instability https://jira.unity3d.com/browse/UUM-11060")]
public IEnumerator DropdownOptionDataListDrawer_IsVisible()
Returns
ExposedReferenceDrawer_IsVisible()
Declaration
[UnityTest]
[Ignore("Disabled for Instability https://jira.unity3d.com/browse/UUM-11060")]
public IEnumerator ExposedReferenceDrawer_IsVisible()
Returns
NavigationDrawer_IsVisible()
Declaration
[UnityTest]
public IEnumerator NavigationDrawer_IsVisible()
Returns
NavigationDrawer_ShowsCorrectAdditionalControlCount(int, int)
Declaration
[UnityTest]
[TestCase(new object[] { 0, 0 }, ExpectedResult = null)]
[TestCase(new object[] { 1, 1 }, ExpectedResult = null)]
[TestCase(new object[] { 2, 1 }, ExpectedResult = null)]
[TestCase(new object[] { 3, 0 }, ExpectedResult = null)]
[TestCase(new object[] { 4, 4 }, ExpectedResult = null)]
[TestCase(new object[] { 5, 0 }, ExpectedResult = null)]
[TestCase(new object[] { 7, 0 }, ExpectedResult = null)]
public static IEnumerator NavigationDrawer_ShowsCorrectAdditionalControlCount(int mode, int expectedCount)
Parameters
Type |
Name |
Description |
int |
mode |
|
int |
expectedCount |
|
Returns
OneTimeSetUp()
Declaration
[OneTimeSetUp]
[MenuItem("Tests/Open Property Drawer Test Window")]
public static void OneTimeSetUp()
OneTimeTearDown()
Declaration
[OneTimeTearDown]
public void OneTimeTearDown()
SearchContextDrawer_IsVisible()
Declaration
[UnityTest]
public IEnumerator SearchContextDrawer_IsVisible()
Returns
SpriteStateDrawer_IsVisible()
Declaration
[UnityTest]
public IEnumerator SpriteStateDrawer_IsVisible()
Returns