SyncVarTests renamed to SyncVarAttributeTests

This commit is contained in:
vis2k 2021-09-24 10:53:35 +08:00
parent 83c92ce9bf
commit a0c3ef1c2c
32 changed files with 7 additions and 7 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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

View File

@ -2,7 +2,7 @@
namespace Mirror.Weaver.Tests
{
public class WeaverSyncVarHookTests : WeaverTestsBuildFromTestName
public class WeaverSyncVarAttributeHookTests : WeaverTestsBuildFromTestName
{
[Test]
public void FindsPrivateHook()

View File

@ -2,7 +2,7 @@
namespace Mirror.Weaver.Tests
{
public class WeaverSyncVarTests : WeaverTestsBuildFromTestName
public class WeaverSyncVarAttributeTests : WeaverTestsBuildFromTestName
{
[Test]
public void SyncVarsValid()