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