Class UnityAudioRoomGizmoDrawerTests
The strokes the scene gizmos of an Audio Room and an Audio Portal send to their canvas, checked against a recording canvas so nothing here
touches Handles: a room is the twelve faint edges of its volume, a portal with a room is a line to the room's centre plus a label,
a portal without a room is only a label in its own colour, and a room that contains nothing draws nothing.
Inherited Members
Namespace: Serenity.Tests.Editor
Assembly: Tests.Editor.dll
Syntax
public class UnityAudioRoomGizmoDrawerTests
Constructors
UnityAudioRoomGizmoDrawerTests()
Declaration
public UnityAudioRoomGizmoDrawerTests()
Methods
DestroyCreatedObjects()
Declaration
public void DestroyCreatedObjects()
DrawPortal_PortalUnderARoomThatContainsNothing_DrawsALineToTheRoomPosition()
Declaration
public void DrawPortal_PortalUnderARoomThatContainsNothing_DrawsALineToTheRoomPosition()
DrawPortal_PortalWithARoom_DrawsALineFromThePortalToTheCenterOfTheRoomVolumeThenALabel()
Declaration
public void DrawPortal_PortalWithARoom_DrawsALineFromThePortalToTheCenterOfTheRoomVolumeThenALabel()
DrawPortal_PortalWithoutARoom_DrawsOnlyTheOrphanLabelInTheOrphanColor()
Declaration
public void DrawPortal_PortalWithoutARoom_DrawsOnlyTheOrphanLabelInTheOrphanColor()
DrawRoom_ATriggerAddedAfterTheRoomWasFirstDrawn_IsDrawnTheNextTime()
Declaration
public void DrawRoom_ATriggerAddedAfterTheRoomWasFirstDrawn_IsDrawnTheNextTime()
DrawRoom_RoomThatContainsNothing_DrawsNothing()
Declaration
public void DrawRoom_RoomThatContainsNothing_DrawsNothing()
DrawRoom_RoomWithAShape_DrawsEveryEdgeBetweenTwoCornersOfTheVolume()
Declaration
public void DrawRoom_RoomWithAShape_DrawsEveryEdgeBetweenTwoCornersOfTheVolume()
DrawRoom_RoomWithAShape_DrawsTheEdgesFaint()
Declaration
public void DrawRoom_RoomWithAShape_DrawsTheEdgesFaint()
DrawRoom_RoomWithAShape_DrawsTheTwelveEdgesOfItsVolume()
Declaration
public void DrawRoom_RoomWithAShape_DrawsTheTwelveEdgesOfItsVolume()
GizmoDrawer_DrawsForTheRoomAndForThePortal_ThroughOneDrawGizmoMethodEach()
Declaration
public void GizmoDrawer_DrawsForTheRoomAndForThePortal_ThroughOneDrawGizmoMethodEach()
GizmoDrawer_LivesInEditorAssembly_NoPlayerAssemblySymbols()
Declaration
public void GizmoDrawer_LivesInEditorAssembly_NoPlayerAssemblySymbols()
SetUp()
Declaration
public void SetUp()