Class SerenityRecipeGenericTests
Tests for the generic serialized-property codec and the generic assets section, including a full
export → re-import round trip and polymorphic [SerializeReference] handling. The test types live
in CodecTestSO.cs so Unity can bind their scripts when created as assets.
Inherited Members
Namespace: Serenity.ProjectRecipe.Tests.Editor
Assembly: Serenity.ProjectRecipe.Tests.Editor.dll
Syntax
public class SerenityRecipeGenericTests
Constructors
SerenityRecipeGenericTests()
Declaration
public SerenityRecipeGenericTests()
Methods
Codec_ArrayAppend_KeepsExistingAndAddsNew()
Declaration
public void Codec_ArrayAppend_KeepsExistingAndAddsNew()
Codec_ArrayReplace_DefaultOpReplacesWholeList()
Declaration
public void Codec_ArrayReplace_DefaultOpReplacesWholeList()
Codec_ArrayUpsertById_UpdatesMatchAndAppendsNew()
Declaration
public void Codec_ArrayUpsertById_UpdatesMatchAndAppendsNew()
Codec_RoundTrips_PrimitivesEnumsVectorsArraysAndManagedReferences()
Declaration
public void Codec_RoundTrips_PrimitivesEnumsVectorsArraysAndManagedReferences()
GenericSection_ExportThenReimport_RecreatesAssetWithFields()
Declaration
public void GenericSection_ExportThenReimport_RecreatesAssetWithFields()
GenericSection_MatchByOutputPath_PreservesExistingId()
Declaration
public void GenericSection_MatchByOutputPath_PreservesExistingId()
GenericSection_WithoutMatchByOutputPath_RenamesId()
Declaration
public void GenericSection_WithoutMatchByOutputPath_RenamesId()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()