Add interaction tests (#15251)
This commit is contained in:
@@ -14,6 +14,7 @@ using Content.IntegrationTests.Tests.Interaction.Click;
|
||||
using Content.IntegrationTests.Tests.Networking;
|
||||
using Content.Server.GameTicking;
|
||||
using Content.Shared.CCVar;
|
||||
using Microsoft.Diagnostics.Tracing.Parsers.Kernel;
|
||||
using NUnit.Framework;
|
||||
using Robust.Client;
|
||||
using Robust.Server;
|
||||
@@ -561,6 +562,7 @@ we are just going to end this here to save a lot of time. This is the exception
|
||||
{
|
||||
var mapManager = IoCManager.Resolve<IMapManager>();
|
||||
mapData.MapId = mapManager.CreateMap();
|
||||
mapData.MapUid = mapManager.GetMapEntityId(mapData.MapId);
|
||||
mapData.MapGrid = mapManager.CreateGrid(mapData.MapId);
|
||||
mapData.GridCoords = new EntityCoordinates(mapData.MapGrid.Owner, 0, 0);
|
||||
var tileDefinitionManager = IoCManager.Resolve<ITileDefinitionManager>();
|
||||
@@ -790,6 +792,7 @@ public sealed class PoolSettings
|
||||
/// </summary>
|
||||
public sealed class TestMapData
|
||||
{
|
||||
public EntityUid MapUid { get; set; }
|
||||
public MapId MapId { get; set; }
|
||||
public MapGridComponent MapGrid { get; set; }
|
||||
public EntityCoordinates GridCoords { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user