mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
Tests: NetworkMessages namespace for grouping in test runner
This commit is contained in:
parent
38dd2ae960
commit
ce0b8eabd9
@ -3,7 +3,7 @@
|
||||
// Keep the old class inheritance tests in case we ever go back to classes.
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Tests.MessageTests
|
||||
namespace Mirror.Tests.NetworkMessagesTests
|
||||
{
|
||||
class ParentMessage : NetworkMessage
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Tests.MessageTests
|
||||
namespace Mirror.Tests.NetworkMessagesTests
|
||||
{
|
||||
struct TestMessage : NetworkMessage
|
||||
{
|
||||
|
@ -1,9 +1,8 @@
|
||||
using System;
|
||||
using Mirror.Tests.MessageTests;
|
||||
using NUnit.Framework;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Mirror.Tests
|
||||
namespace Mirror.Tests.NetworkMessagesTests
|
||||
{
|
||||
[TestFixture]
|
||||
public class NetworkMessagesTest
|
||||
@ -46,7 +45,7 @@ public void GetId()
|
||||
{
|
||||
// "Mirror.Tests.MessageTests.TestMessage"
|
||||
Debug.Log(typeof(TestMessage).FullName);
|
||||
Assert.That(NetworkMessageId<TestMessage>.Id, Is.EqualTo(0x8706));
|
||||
Assert.That(NetworkMessageId<TestMessage>.Id, Is.EqualTo(22739));
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
@ -1,6 +1,6 @@
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Tests.MessageTests
|
||||
namespace Mirror.Tests.NetworkMessagesTests
|
||||
{
|
||||
struct NoArgMethodMessage : NetworkMessage
|
||||
{
|
||||
|
@ -1,6 +1,6 @@
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Tests.StructMessages
|
||||
namespace Mirror.Tests.NetworkMessagesTests
|
||||
{
|
||||
public struct SomeStructMessage : NetworkMessage
|
||||
{
|
||||
|
@ -1,6 +1,7 @@
|
||||
// Generated by CollectionWriterGenerator.cs
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Mirror.Tests.NetworkMessagesTests;
|
||||
using NUnit.Framework;
|
||||
using UnityEngine;
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
using Mirror.Tests.NetworkMessagesTests;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Tests
|
||||
|
@ -1,3 +1,4 @@
|
||||
using Mirror.Tests.NetworkMessagesTests;
|
||||
using NUnit.Framework;
|
||||
using UnityEngine;
|
||||
|
||||
|
@ -4,6 +4,7 @@
|
||||
using System.Threading;
|
||||
using Mirror.Tests.NetworkBehaviours;
|
||||
using Mirror.Tests.NetworkIdentities;
|
||||
using Mirror.Tests.NetworkMessagesTests;
|
||||
using Mirror.Tests.SyncCollections;
|
||||
using NUnit.Framework;
|
||||
using UnityEngine;
|
||||
|
Loading…
Reference in New Issue
Block a user