mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
SyncVarTests renamed to SyncVarAttributeTests
This commit is contained in:
parent
83c92ce9bf
commit
a0c3ef1c2c
@ -2,7 +2,7 @@
|
||||
using NUnit.Framework;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Mirror.Tests.SyncVarTests
|
||||
namespace Mirror.Tests.SyncVarAttributeTests
|
||||
{
|
||||
class HookBehaviour : NetworkBehaviour
|
||||
{
|
||||
@ -110,7 +110,7 @@ protected override void OnValueChanged(int oldValue, int newValue)
|
||||
}
|
||||
}
|
||||
|
||||
public class SyncVarHookTest : SyncVarTestBase
|
||||
public class SyncVarAttributeHookTest : SyncVarAttributeTestBase
|
||||
{
|
||||
[SetUp]
|
||||
public override void SetUp()
|
@ -2,7 +2,7 @@
|
||||
using NUnit.Framework;
|
||||
using UnityEngine;
|
||||
|
||||
namespace Mirror.Tests.SyncVarTests
|
||||
namespace Mirror.Tests.SyncVarAttributeTests
|
||||
{
|
||||
class MockPlayer : NetworkBehaviour
|
||||
{
|
||||
@ -59,7 +59,7 @@ public class MockWolf : MockMonsterBase
|
||||
public MockMonsterBase monster2;
|
||||
}
|
||||
|
||||
public class SyncVarTest : SyncVarTestBase
|
||||
public class SyncVarAttributeTest : SyncVarAttributeTestBase
|
||||
{
|
||||
[SetUp]
|
||||
public override void SetUp()
|
@ -3,7 +3,7 @@
|
||||
|
||||
namespace Mirror.Tests
|
||||
{
|
||||
public class SyncVarTestBase : MirrorEditModeTest
|
||||
public class SyncVarAttributeTestBase : MirrorEditModeTest
|
||||
{
|
||||
// returns If data was written by OnSerialize
|
||||
public static bool SyncToClient<T>(T serverObject, T clientObject, bool initialState) where T : NetworkBehaviour
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace Mirror.Weaver.Tests
|
||||
{
|
||||
public class WeaverSyncVarHookTests : WeaverTestsBuildFromTestName
|
||||
public class WeaverSyncVarAttributeHookTests : WeaverTestsBuildFromTestName
|
||||
{
|
||||
[Test]
|
||||
public void FindsPrivateHook()
|
@ -2,7 +2,7 @@
|
||||
|
||||
namespace Mirror.Weaver.Tests
|
||||
{
|
||||
public class WeaverSyncVarTests : WeaverTestsBuildFromTestName
|
||||
public class WeaverSyncVarAttributeTests : WeaverTestsBuildFromTestName
|
||||
{
|
||||
[Test]
|
||||
public void SyncVarsValid()
|
Loading…
Reference in New Issue
Block a user