mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 02:50:32 +00:00
removing extra lines
This commit is contained in:
parent
c4d373984d
commit
239b7b762a
@ -1,6 +1,4 @@
|
||||
//#define LOG_WEAVER_OUTPUTS
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Weaver.Tests
|
||||
{
|
||||
@ -26,7 +24,5 @@ public void ClientRpcCantBeStatic()
|
||||
Assert.That(CompilationFinishedHook.WeaveFailed, Is.True);
|
||||
Assert.That(weaverErrors, Contains.Item("Mirror.Weaver error: System.Void MirrorTest.MirrorTestPlayer::RpcCantBeStatic() must not be static"));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,3 @@
|
||||
//#define LOG_WEAVER_OUTPUTS
|
||||
|
||||
using System.Linq;
|
||||
using Mono.CecilX;
|
||||
using Mono.CecilX.Cil;
|
||||
@ -59,7 +57,5 @@ static void CheckAddedCode(string addedString, string methodName)
|
||||
Assert.AreEqual(top.Operand.ToString(), addedString);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,4 @@
|
||||
//#define LOG_WEAVER_OUTPUTS
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Weaver.Tests
|
||||
{
|
||||
@ -26,7 +24,5 @@ public void CommandCantBeStatic()
|
||||
Assert.That(CompilationFinishedHook.WeaveFailed, Is.True);
|
||||
Assert.That(weaverErrors, Contains.Item("Mirror.Weaver error: System.Void MirrorTest.MirrorTestPlayer::CmdCantBeStatic() cannot be static"));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,4 @@
|
||||
//#define LOG_WEAVER_OUTPUTS
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Weaver.Tests
|
||||
{
|
||||
@ -48,7 +46,5 @@ public void MessageMemberInterface()
|
||||
Assert.That(CompilationFinishedHook.WeaveFailed, Is.True);
|
||||
Assert.That(weaverErrors, Contains.Item("Mirror.Weaver error: Cannot generate writer for interface MirrorTest.SuperCoolInterface. Use a concrete type or provide a custom writer"));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,4 @@
|
||||
//#define LOG_WEAVER_OUTPUTS
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Weaver.Tests
|
||||
{
|
||||
@ -75,7 +73,5 @@ public void MonoBehaviourClientCallback()
|
||||
Assert.That(CompilationFinishedHook.WeaveFailed, Is.True);
|
||||
Assert.That(weaverErrors, Contains.Item("Mirror.Weaver error: [ClientCallback] System.Void MirrorTest.MirrorTestPlayer::ThisCantBeOutsideNetworkBehaviour() must be declared inside a NetworkBehaviour"));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,4 @@
|
||||
//#define LOG_WEAVER_OUTPUTS
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Weaver.Tests
|
||||
{
|
||||
@ -236,7 +234,5 @@ public void NetworkBehaviourCmdDuplicateName()
|
||||
Assert.That(CompilationFinishedHook.WeaveFailed, Is.True);
|
||||
Assert.That(weaverErrors, Contains.Item("Mirror.Weaver error: Duplicate Command name [MirrorTest.MirrorTestPlayer:CmdCantHaveSameName]"));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,4 @@
|
||||
//#define LOG_WEAVER_OUTPUTS
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Weaver.Tests
|
||||
{
|
||||
@ -26,8 +24,5 @@ public void SyncListByteValid()
|
||||
Assert.That(CompilationFinishedHook.WeaveFailed, Is.False);
|
||||
Assert.That(weaverErrors, Is.Empty);
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,4 @@
|
||||
//#define LOG_WEAVER_OUTPUTS
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Weaver.Tests
|
||||
{
|
||||
@ -98,6 +96,5 @@ public void SyncVarsMoreThan63()
|
||||
Assert.That(CompilationFinishedHook.WeaveFailed, Is.True);
|
||||
Assert.That(weaverErrors, Contains.Item("Mirror.Weaver error: MirrorTest.MirrorTestPlayer has too many SyncVars. Consider refactoring your class into multiple components"));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,4 @@
|
||||
//#define LOG_WEAVER_OUTPUTS
|
||||
|
||||
using NUnit.Framework;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace Mirror.Weaver.Tests
|
||||
{
|
||||
@ -47,7 +45,5 @@ public void SyncEventParamGeneric()
|
||||
Assert.That(CompilationFinishedHook.WeaveFailed, Is.True);
|
||||
Assert.That(weaverErrors, Contains.Item("Mirror.Weaver error: MirrorTest.MirrorTestPlayer/MySyncEventDelegate`1<System.Int32> MirrorTest.MirrorTestPlayer::EventDoCoolThingsWithExcitingPeople must not have generic parameters. Consider creating a new class that inherits from MirrorTest.MirrorTestPlayer/MySyncEventDelegate`1<System.Int32> instead"));
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -74,6 +74,5 @@ public void TestCleanup()
|
||||
weaverWarnings.Clear();
|
||||
weaverErrors.Clear();
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user