Class ReflectionCallTaskAssetBuilderTests
EditMode tests for Serenity.Global.Infrastructure.Editor.InitializationPipeline.ReflectionCallTaskAssetBuilder: the asset it creates must store the target method's real parameter signature at creation time. A task whose stored signature does not match its target method's real parameters gets invisibly rewritten the first time anything (a test, an inspector selection) opens its editor — see UnityReflectionCallTaskDefinitionEditorTests for that repair behavior; this suite proves a builder-created task never needs it.
Inherited Members
Namespace: Serenity.Global.Infrastructure.Tests.Editor.InitializationPipeline
Assembly: Serenity.InitializationPipeline.Tests.Editor.dll
Syntax
public class ReflectionCallTaskAssetBuilderTests
Constructors
ReflectionCallTaskAssetBuilderTests()
Declaration
public ReflectionCallTaskAssetBuilderTests()
Methods
CreateAtPath_WritesTheAssetAtExactlyTheGivenPath()
Declaration
public void CreateAtPath_WritesTheAssetAtExactlyTheGivenPath()
Create_MethodWithOneParameter_StoresItsParameterType()
Declaration
public void Create_MethodWithOneParameter_StoresItsParameterType()
Create_ParameterlessMethod_StoresEmptyParamTypes()
Declaration
public void Create_ParameterlessMethod_StoresEmptyParamTypes()
Create_ThenOpenedThroughEditor_AssetStaysUnchanged()
Declaration
public void Create_ThenOpenedThroughEditor_AssetStaysUnchanged()
Create_WhenTheDesiredPathIsTaken_WritesBesideItUnderAUniqueName()
Declaration
public void Create_WhenTheDesiredPathIsTaken_WritesBesideItUnderAUniqueName()
OneTimeTearDown()
Declaration
public void OneTimeTearDown()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()