Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Content.IntegrationTests.Tests.AI
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(BehaviorSetPrototype))]
|
||||
public class BehaviorSetsTest : ContentIntegrationTest
|
||||
public sealed class BehaviorSetsTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task TestBehaviorSets()
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.IntegrationTests.Tests.Access
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(AccessReaderComponent))]
|
||||
public class AccessReaderTest : ContentIntegrationTest
|
||||
public sealed class AccessReaderTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task TestTags()
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Content.IntegrationTests.Tests.Administration.Logs;
|
||||
|
||||
[TestFixture]
|
||||
[TestOf(typeof(AdminLogSystem))]
|
||||
public class AddTests : ContentIntegrationTest
|
||||
public sealed class AddTests : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task AddAndGetSingleLog()
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.IntegrationTests.Tests.Administration.Logs;
|
||||
|
||||
[TestFixture]
|
||||
[TestOf(typeof(AdminLogSystem))]
|
||||
public class FilterTests : ContentIntegrationTest
|
||||
public sealed class FilterTests : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
[TestCase(DateOrder.Ascending)]
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.IntegrationTests.Tests.Administration.Logs;
|
||||
|
||||
[TestFixture]
|
||||
[TestOf(typeof(AdminLogSystem))]
|
||||
public class QueryTests : ContentIntegrationTest
|
||||
public sealed class QueryTests : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task QuerySingleLog()
|
||||
|
||||
@@ -8,7 +8,7 @@ namespace Content.IntegrationTests.Tests.Atmos
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(AtmosAlarmThreshold))]
|
||||
public class AlarmThresholdTest : ContentIntegrationTest
|
||||
public sealed class AlarmThresholdTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: alarmThreshold
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.IntegrationTests.Tests.Atmos
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(Atmospherics))]
|
||||
public class ConstantsTest : ContentIntegrationTest
|
||||
public sealed class ConstantsTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task TotalGasesTest()
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.IntegrationTests.Tests.Atmos
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(GasMixture))]
|
||||
public class GasMixtureTest : ContentIntegrationTest
|
||||
public sealed class GasMixtureTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task TestMerge()
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Content.IntegrationTests.Tests.Body
|
||||
[TestFixture]
|
||||
[TestOf(typeof(SharedBodyComponent))]
|
||||
[TestOf(typeof(BodyComponent))]
|
||||
public class LegTest : ContentIntegrationTest
|
||||
public sealed class LegTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Content.IntegrationTests.Tests.Body
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(LungSystem))]
|
||||
public class LungTest : ContentIntegrationTest
|
||||
public sealed class LungTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Content.IntegrationTests.Tests.Buckle
|
||||
[TestFixture]
|
||||
[TestOf(typeof(BuckleComponent))]
|
||||
[TestOf(typeof(StrapComponent))]
|
||||
public class BuckleTest : ContentIntegrationTest
|
||||
public sealed class BuckleTest : ContentIntegrationTest
|
||||
{
|
||||
private const string BuckleDummyId = "BuckleDummy";
|
||||
private const string StrapDummyId = "StrapDummy";
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.UnitTesting.Shared.Serialization;
|
||||
|
||||
namespace Content.IntegrationTests.Tests.Chemistry
|
||||
{
|
||||
public class FixedPoint2SerializationTest : SerializationTest
|
||||
public sealed class FixedPoint2SerializationTest : SerializationTest
|
||||
{
|
||||
protected override Assembly[] Assemblies => new[]
|
||||
{
|
||||
@@ -37,7 +37,7 @@ namespace Content.IntegrationTests.Tests.Chemistry
|
||||
}
|
||||
|
||||
[DataDefinition]
|
||||
public class FixedPoint2TestDefinition
|
||||
public sealed class FixedPoint2TestDefinition
|
||||
{
|
||||
[DataField("unit")] public FixedPoint2? Unit { get; set; } = FixedPoint2.New(5);
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.IntegrationTests.Tests.Chemistry
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(ReactionPrototype))]
|
||||
public class TryAllReactionsTest : ContentIntegrationTest
|
||||
public sealed class TryAllReactionsTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.IntegrationTests.Tests.Commands
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(PardonCommand))]
|
||||
public class PardonCommand : ContentIntegrationTest
|
||||
public sealed class PardonCommand : ContentIntegrationTest
|
||||
{
|
||||
private static readonly TimeSpan MarginOfError = TimeSpan.FromMinutes(1);
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.IntegrationTests.Tests.Commands
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(RejuvenateCommand))]
|
||||
public class RejuvenateTest : ContentIntegrationTest
|
||||
public sealed class RejuvenateTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.IntegrationTests.Tests.Commands
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(RestartRoundNowCommand))]
|
||||
public class RestartRoundNowTest : ContentIntegrationTest
|
||||
public sealed class RestartRoundNowTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
[TestCase(true)]
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.Prototypes;
|
||||
namespace Content.IntegrationTests.Tests.Construction
|
||||
{
|
||||
[TestFixture]
|
||||
public class ConstructionActionValid : ContentIntegrationTest
|
||||
public sealed class ConstructionActionValid : ContentIntegrationTest
|
||||
{
|
||||
private bool IsValid(IGraphAction action, IPrototypeManager protoMan, out string prototype)
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ using Robust.Shared.Maths;
|
||||
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
public class ContainerOcclusionTest : ContentIntegrationTest
|
||||
public sealed class ContainerOcclusionTest : ContentIntegrationTest
|
||||
{
|
||||
private const string ExtraPrototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -7,7 +7,7 @@ namespace Content.IntegrationTests.Tests.Damageable;
|
||||
|
||||
[TestFixture]
|
||||
[TestOf(typeof(DamageSpecifier))]
|
||||
public class DamageSpecifierTest : ContentIntegrationTest
|
||||
public sealed class DamageSpecifierTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public void TestDamageSpecifierOperations()
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.IntegrationTests.Tests.Damageable
|
||||
[TestFixture]
|
||||
[TestOf(typeof(DamageableComponent))]
|
||||
[TestOf(typeof(DamageableSystem))]
|
||||
public class DamageableTest : ContentIntegrationTest
|
||||
public sealed class DamageableTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
# Define some damage groups
|
||||
|
||||
@@ -12,7 +12,7 @@ using Robust.Shared.Map;
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class DeleteInventoryTest : ContentIntegrationTest
|
||||
public sealed class DeleteInventoryTest : ContentIntegrationTest
|
||||
{
|
||||
// Test that when deleting an entity with an InventoryComponent,
|
||||
// any equipped items also get deleted.
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.IntegrationTests.Tests.Destructible
|
||||
[TestFixture]
|
||||
[TestOf(typeof(DamageGroupTrigger))]
|
||||
[TestOf(typeof(AndTrigger))]
|
||||
public class DestructibleDamageGroupTest : ContentIntegrationTest
|
||||
public sealed class DestructibleDamageGroupTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task AndTest()
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.IntegrationTests.Tests.Destructible
|
||||
[TestFixture]
|
||||
[TestOf(typeof(DamageTypeTrigger))]
|
||||
[TestOf(typeof(AndTrigger))]
|
||||
public class DestructibleDamageTypeTest : ContentIntegrationTest
|
||||
public sealed class DestructibleDamageTypeTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task Test()
|
||||
|
||||
@@ -13,7 +13,7 @@ using static Content.IntegrationTests.Tests.Destructible.DestructibleTestPrototy
|
||||
|
||||
namespace Content.IntegrationTests.Tests.Destructible
|
||||
{
|
||||
public class DestructibleDestructionTest : ContentIntegrationTest
|
||||
public sealed class DestructibleDestructionTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task Test()
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace Content.IntegrationTests.Tests.Destructible
|
||||
[TestFixture]
|
||||
[TestOf(typeof(DestructibleComponent))]
|
||||
[TestOf(typeof(DamageThreshold))]
|
||||
public class DestructibleThresholdActivationTest : ContentIntegrationTest
|
||||
public sealed class DestructibleThresholdActivationTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task Test()
|
||||
|
||||
@@ -9,7 +9,7 @@ namespace Content.IntegrationTests.Tests.Destructible
|
||||
/// This is just a system for testing destructible thresholds. Whenever any threshold is reached, this will add that
|
||||
/// threshold to a list for checking during testing.
|
||||
/// </summary>
|
||||
public class TestDestructibleListenerSystem : EntitySystem
|
||||
public sealed class TestDestructibleListenerSystem : EntitySystem
|
||||
{
|
||||
public readonly List<DamageThresholdReached> ThresholdsReached = new();
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.IntegrationTests.Tests.DeviceNetwork
|
||||
[TestOf(typeof(DeviceNetworkComponent))]
|
||||
[TestOf(typeof(WiredNetworkComponent))]
|
||||
[TestOf(typeof(WirelessNetworkComponent))]
|
||||
public class DeviceNetworkTest : ContentIntegrationTest
|
||||
public sealed class DeviceNetworkTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -8,7 +8,7 @@ using Robust.Shared.Reflection;
|
||||
namespace Content.IntegrationTests.Tests.DeviceNetwork
|
||||
{
|
||||
[Reflect(false)]
|
||||
public class DeviceNetworkTestSystem : EntitySystem
|
||||
public sealed class DeviceNetworkTestSystem : EntitySystem
|
||||
{
|
||||
public NetworkPayload LastPayload = default;
|
||||
|
||||
|
||||
@@ -18,10 +18,10 @@ namespace Content.IntegrationTests.Tests.Disposal
|
||||
[TestOf(typeof(DisposalHolderComponent))]
|
||||
[TestOf(typeof(DisposalEntryComponent))]
|
||||
[TestOf(typeof(DisposalUnitComponent))]
|
||||
public class DisposalUnitTest : ContentIntegrationTest
|
||||
public sealed class DisposalUnitTest : ContentIntegrationTest
|
||||
{
|
||||
[Reflect(false)]
|
||||
private class DisposalUnitTestSystem : EntitySystem
|
||||
private sealed class DisposalUnitTestSystem : EntitySystem
|
||||
{
|
||||
public override void Initialize()
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.IntegrationTests.Tests.DoAfter
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(DoAfterComponent))]
|
||||
public class DoAfterServerTest : ContentIntegrationTest
|
||||
public sealed class DoAfterServerTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.IntegrationTests.Tests.Doors
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(AirlockComponent))]
|
||||
public class AirlockTest : ContentIntegrationTest
|
||||
public sealed class AirlockTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.Prototypes;
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class DummyIconTest : ContentIntegrationTest
|
||||
public sealed class DummyIconTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task Test()
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(EntityUid))]
|
||||
public class EntityTest : ContentIntegrationTest
|
||||
public sealed class EntityTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task SpawnTest()
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.IntegrationTests.Tests.Fluids
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(PuddleComponent))]
|
||||
public class PuddleTest : ContentIntegrationTest
|
||||
public sealed class PuddleTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task TilePuddleTest()
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Content.IntegrationTests.Tests.GameObjects.Components.ActionBlocking
|
||||
[TestFixture]
|
||||
[TestOf(typeof(CuffableComponent))]
|
||||
[TestOf(typeof(HandcuffComponent))]
|
||||
public class HandCuffTest : ContentIntegrationTest
|
||||
public sealed class HandCuffTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.IntegrationTests.Tests.GameObjects.Components
|
||||
[TestFixture]
|
||||
[TestOf(typeof(Client.Entry.IgnoredComponents))]
|
||||
[TestOf(typeof(Server.Entry.IgnoredComponents))]
|
||||
public class EntityPrototypeComponentsTest : ContentIntegrationTest
|
||||
public sealed class EntityPrototypeComponentsTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task PrototypesHaveKnownComponents()
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace Content.IntegrationTests.Tests.GameObjects.Components.Mobs
|
||||
[TestOf(typeof(ClientActionsComponent))]
|
||||
[TestOf(typeof(ServerActionsComponent))]
|
||||
[TestOf(typeof(ItemActionsComponent))]
|
||||
public class ActionsComponentTests : ContentIntegrationTest
|
||||
public sealed class ActionsComponentTests : ContentIntegrationTest
|
||||
{
|
||||
const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.IntegrationTests.Tests.GameObjects.Components.Mobs
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(AlertsComponent))]
|
||||
public class AlertsComponentTests : ContentIntegrationTest
|
||||
public sealed class AlertsComponentTests : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task AlertsTest()
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.IntegrationTests.Tests.GameObjects.Components.Movement
|
||||
[TestFixture]
|
||||
[TestOf(typeof(ClimbableComponent))]
|
||||
[TestOf(typeof(ClimbingComponent))]
|
||||
public class ClimbUnitTest : ContentIntegrationTest
|
||||
public sealed class ClimbUnitTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.IntegrationTests.Tests.GameRules
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(MaxTimeRestartRuleSystem))]
|
||||
public class RuleMaxTimeRestartTest : ContentIntegrationTest
|
||||
public sealed class RuleMaxTimeRestartTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task RestartTest()
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.IntegrationTests.Tests.Gravity
|
||||
[TestFixture]
|
||||
[TestOf(typeof(WeightlessSystem))]
|
||||
[TestOf(typeof(GravityGeneratorComponent))]
|
||||
public class WeightlessStatusTests : ContentIntegrationTest
|
||||
public sealed class WeightlessStatusTests : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.IntegrationTests.Tests
|
||||
/// making sure that gravity is applied to the correct grids.
|
||||
[TestFixture]
|
||||
[TestOf(typeof(GravityGeneratorComponent))]
|
||||
public class GravityGridTest : ContentIntegrationTest
|
||||
public sealed class GravityGridTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.IntegrationTests.Tests
|
||||
// i.e. the interaction between uniforms and the pocket/ID slots.
|
||||
// and also how big items don't fit in pockets.
|
||||
[TestFixture]
|
||||
public class HumanInventoryUniformSlotsTest : ContentIntegrationTest
|
||||
public sealed class HumanInventoryUniformSlotsTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace Content.IntegrationTests.Tests.Interaction.Click
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(InteractionSystem))]
|
||||
public class InteractionSystemTests : ContentIntegrationTest
|
||||
public sealed class InteractionSystemTests : ContentIntegrationTest
|
||||
{
|
||||
const string PROTOTYPES = @"
|
||||
- type: entity
|
||||
@@ -408,7 +408,7 @@ namespace Content.IntegrationTests.Tests.Interaction.Click
|
||||
}
|
||||
|
||||
[Reflect(false)]
|
||||
private class TestInteractionSystem : EntitySystem
|
||||
private sealed class TestInteractionSystem : EntitySystem
|
||||
{
|
||||
public ComponentEventHandler<HandsComponent, ClickAttackEvent>? AttackEvent;
|
||||
public EntityEventHandler<InteractUsingEvent>? InteractUsingEvent;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace Content.IntegrationTests.Tests.Interaction
|
||||
[TestOf(typeof(SharedInteractionSystem))]
|
||||
[TestOf(typeof(SharedUnobstructedExtensions))]
|
||||
[TestOf(typeof(UnobstructedExtensions))]
|
||||
public class InRangeUnobstructed : ContentIntegrationTest
|
||||
public sealed class InRangeUnobstructed : ContentIntegrationTest
|
||||
{
|
||||
private const string HumanId = "MobHumanBase";
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.Map;
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class InventoryHelpersTest : ContentIntegrationTest
|
||||
public sealed class InventoryHelpersTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Content.IntegrationTests.Tests.Lobby
|
||||
[TestFixture]
|
||||
[TestOf(typeof(ClientPreferencesManager))]
|
||||
[TestOf(typeof(ServerPreferencesManager))]
|
||||
public class CharacterCreationTest : ContentIntegrationTest
|
||||
public sealed class CharacterCreationTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task CreateDeleteCreateTest()
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
// Tests various scenarios of deleting the entity that a player's mind is connected to.
|
||||
[TestFixture]
|
||||
public class MindEntityDeletionTest : ContentIntegrationTest
|
||||
public sealed class MindEntityDeletionTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task TestDeleteVisiting()
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.Network;
|
||||
namespace Content.IntegrationTests.Tests.Networking
|
||||
{
|
||||
[TestFixture]
|
||||
public class ConnectTest : ContentIntegrationTest
|
||||
public sealed class ConnectTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task TestConnect()
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.Network;
|
||||
namespace Content.IntegrationTests.Tests.Networking
|
||||
{
|
||||
[TestFixture]
|
||||
class NetworkIdsMatchTest : ContentIntegrationTest
|
||||
sealed class NetworkIdsMatchTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task TestConnect()
|
||||
@@ -20,7 +20,7 @@ namespace Content.IntegrationTests.Tests.Networking
|
||||
var server = StartServer();
|
||||
|
||||
await ConnectNetworking(client, server);
|
||||
|
||||
|
||||
var clientCompFactory = client.ResolveDependency<IComponentFactory>();
|
||||
var serverCompFactory = server.ResolveDependency<IComponentFactory>();
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ using Robust.Shared.Network;
|
||||
namespace Content.IntegrationTests.Tests.Networking
|
||||
{
|
||||
[TestFixture]
|
||||
public class ReconnectTest : ContentIntegrationTest
|
||||
public sealed class ReconnectTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task Test()
|
||||
|
||||
@@ -30,7 +30,7 @@ namespace Content.IntegrationTests.Tests.Networking
|
||||
// the tick where the server *should* have, but did not, acknowledge the state change.
|
||||
// Finally, we run two events inside the prediction area to ensure reconciling does for incremental stuff.
|
||||
[TestFixture]
|
||||
public class SimplePredictReconcileTest : ContentIntegrationTest
|
||||
public sealed class SimplePredictReconcileTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task Test()
|
||||
|
||||
@@ -13,7 +13,7 @@ using Robust.Shared.GameObjects;
|
||||
|
||||
namespace Content.IntegrationTests.Tests.PDA
|
||||
{
|
||||
public class PDAExtensionsTests : ContentIntegrationTest
|
||||
public sealed class PDAExtensionsTests : ContentIntegrationTest
|
||||
{
|
||||
private const string IdCardDummy = "DummyIdCard";
|
||||
private const string PdaDummy = "DummyPda";
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.IntegrationTests.Tests.Pathfinding
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(PathfindingChunk))]
|
||||
public class PathfindingChunkTest : ContentIntegrationTest
|
||||
public sealed class PathfindingChunkTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task Test()
|
||||
|
||||
@@ -11,7 +11,7 @@ using YamlDotNet.RepresentationModel;
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class PostMapInitTest : ContentIntegrationTest
|
||||
public sealed class PostMapInitTest : ContentIntegrationTest
|
||||
{
|
||||
public const bool SkipTestMaps = true;
|
||||
public const string TestMapsPath = "/Maps/Test/";
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace Content.IntegrationTests.Tests.Power
|
||||
{
|
||||
[Parallelizable(ParallelScope.Fixtures)]
|
||||
[TestFixture]
|
||||
public class PowerTest : ContentIntegrationTest
|
||||
public sealed class PowerTest : ContentIntegrationTest
|
||||
{
|
||||
private const string Prototypes = @"
|
||||
- type: entity
|
||||
|
||||
@@ -10,10 +10,10 @@ namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(RoundRestartCleanupEvent))]
|
||||
public class ResettingEntitySystemTests : ContentIntegrationTest
|
||||
public sealed class ResettingEntitySystemTests : ContentIntegrationTest
|
||||
{
|
||||
[Reflect(false)]
|
||||
private class TestRoundRestartCleanupEvent : EntitySystem
|
||||
private sealed class TestRoundRestartCleanupEvent : EntitySystem
|
||||
{
|
||||
public bool HasBeenReset { get; set; }
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class RestartRoundTest : ContentIntegrationTest
|
||||
public sealed class RestartRoundTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task Test()
|
||||
|
||||
@@ -12,7 +12,7 @@ using Robust.Shared.IoC;
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class RoundEndTest : ContentIntegrationTest, IEntityEventSubscriber
|
||||
public sealed class RoundEndTest : ContentIntegrationTest, IEntityEventSubscriber
|
||||
{
|
||||
[Test]
|
||||
public async Task Test()
|
||||
@@ -46,7 +46,7 @@ namespace Content.IntegrationTests.Tests
|
||||
Assert.That(roundEndSystem.ExpectedCountdownEnd, Is.Not.Null, "Shuttle was called, but countdown time was not set");
|
||||
Assert.That(roundEndSystem.CanCall(), Is.False, "Started the shuttle, but didn't have to wait cooldown to press cancel button");
|
||||
// Check that we can't recall the shuttle yet
|
||||
roundEndSystem.CancelRoundEndCountdown();
|
||||
roundEndSystem.CancelRoundEndCountdown();
|
||||
Assert.That(roundEndSystem.ExpectedCountdownEnd, Is.Not.Null, "Shuttle was cancelled, even though the button was on cooldown");
|
||||
});
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ using Robust.Shared.Utility;
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
class SaveLoadMapTest : ContentIntegrationTest
|
||||
sealed class SaveLoadMapTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task SaveLoadMultiGridMap()
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace Content.IntegrationTests.Tests
|
||||
/// Tests that the
|
||||
/// </summary>
|
||||
[TestFixture]
|
||||
public class SaveLoadSaveTest : ContentIntegrationTest
|
||||
public sealed class SaveLoadSaveTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task SaveLoadSave()
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.Physics;
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class ShuttleTest : ContentIntegrationTest
|
||||
public sealed class ShuttleTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task Test()
|
||||
|
||||
@@ -5,7 +5,7 @@ using Robust.Shared.Exceptions;
|
||||
namespace Content.IntegrationTests.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class StartTest : ContentIntegrationTest
|
||||
public sealed class StartTest : ContentIntegrationTest
|
||||
{
|
||||
/// <summary>
|
||||
/// Test that the server starts.
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.Timing;
|
||||
namespace Content.IntegrationTests.Tests.StationEvents
|
||||
{
|
||||
[TestFixture]
|
||||
public class StationEventsSystemTest : ContentIntegrationTest
|
||||
public sealed class StationEventsSystemTest : ContentIntegrationTest
|
||||
{
|
||||
[Test]
|
||||
public async Task Test()
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.IntegrationTests.Tests.Tag
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(TagComponent))]
|
||||
public class TagTest : ContentIntegrationTest
|
||||
public sealed class TagTest : ContentIntegrationTest
|
||||
{
|
||||
private const string TagEntityId = "TagTestDummy";
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.IntegrationTests.Tests.Utility
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(EntitySystemExtensions))]
|
||||
public class EntitySystemExtensionsTest : ContentIntegrationTest
|
||||
public sealed class EntitySystemExtensionsTest : ContentIntegrationTest
|
||||
{
|
||||
private const string BlockerDummyId = "BlockerDummy";
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace Content.IntegrationTests.Tests.Utility
|
||||
{
|
||||
[TestFixture]
|
||||
[TestOf(typeof(EntityWhitelist))]
|
||||
public class EntityWhitelistTest : ContentIntegrationTest
|
||||
public sealed class EntityWhitelistTest : ContentIntegrationTest
|
||||
{
|
||||
private const string InvalidComponent = "Sprite";
|
||||
private const string ValidComponent = "Physics";
|
||||
|
||||
Reference in New Issue
Block a user