Class PropertyDrawerTests
Inheritance
PropertyDrawerTests
Assembly: UnityEditor.UI.EditorTests.dll
Syntax
[Timeout(360000)]
public class PropertyDrawerTests
Methods
DropdownOptionDataListDrawer_IsVisible()
Declaration
[UnityTest]
[Ignore("UUM-18482")]
public IEnumerator DropdownOptionDataListDrawer_IsVisible()
Returns
NavigationDrawer_IsVisible()
Declaration
[UnityTest]
public IEnumerator NavigationDrawer_IsVisible()
Returns
NavigationDrawer_ShowsCorrectAdditionalControlCount(Enum, int)
Declaration
[UnityTest]
[TestCase(new object[] { Navigation.Mode.None, 0 }, ExpectedResult = null)]
[TestCase(new object[] { Navigation.Mode.Horizontal, 1 }, ExpectedResult = null)]
[TestCase(new object[] { Navigation.Mode.Vertical, 1 }, ExpectedResult = null)]
[TestCase(new object[] { Navigation.Mode.Automatic, 0 }, ExpectedResult = null)]
[TestCase(new object[] { Navigation.Mode.Explicit, 4 }, ExpectedResult = null)]
[TestCase(new object[] { Navigation.Mode.Horizontal|Navigation.Mode.Explicit, 0 }, ExpectedResult = null)]
[TestCase(new object[] { Navigation.Mode.Automatic|Navigation.Mode.Explicit, 0 }, ExpectedResult = null)]
public static IEnumerator NavigationDrawer_ShowsCorrectAdditionalControlCount(Enum mode, int expectedCount)
Parameters
Type |
Name |
Description |
Enum |
mode |
|
int |
expectedCount |
|
Returns
SearchContextDrawer_IsVisible()
Declaration
[UnityTest]
public IEnumerator SearchContextDrawer_IsVisible()
Returns
SetUp()
Declaration
[MenuItem("Tests/Open Property Drawer Test Window")]
public static IEnumerator SetUp()
Returns
SpriteStateDrawer_IsVisible()
Declaration
[UnityTest]
public IEnumerator SpriteStateDrawer_IsVisible()
Returns
TearDown()
Declaration
[TearDown]
public void TearDown()