Class SerenityWebGLResourcesRoundTripTests
The round-trip contract of the WebGL Resources tools, run end to end on copies of real shipped assets: the REAL exporter moves them into a Resources destination and the REAL cleaner brings them back. After Export → Remove every asset is back at its path with its GUID, its bytes and its Addressables registration, and nothing the author owns is overwritten when the way back is blocked. Every Export and Remove runs through the fixture, which fails the test if the call touched any real project content — the shipped package tree, the project's Resources folder or the Addressables data (see WebGLRoundTripFixture for why that guard lives in the test and not in the exporter).
Inherited Members
Namespace: Serenity.Global.Tests.Editor.WebGL
Assembly: Tests.Editor.dll
Syntax
public class SerenityWebGLResourcesRoundTripTests
Constructors
SerenityWebGLResourcesRoundTripTests()
Declaration
public SerenityWebGLResourcesRoundTripTests()
Methods
ExportThenRemove_LeavesEveryAssetAndTheGroupAssetByteForByteAsBefore()
Declaration
public void ExportThenRemove_LeavesEveryAssetAndTheGroupAssetByteForByteAsBefore()
ExportThenRemove_PutsEveryAssetBackWithItsGuidAndItsAddressablesRegistration()
Declaration
public void ExportThenRemove_PutsEveryAssetBackWithItsGuidAndItsAddressablesRegistration()
ExportThenRemove_RestoresAReadOnlyEntryAsReadOnly_AndItsContentUpdateRestrictionFlag()
Declaration
public void ExportThenRemove_RestoresAReadOnlyEntryAsReadOnly_AndItsContentUpdateRestrictionFlag()
ExportThenRemove_RestoresTheAudioClipPathTheExportRewrote_AndItSurvivesTheNextAddressablesChange()
Declaration
public void ExportThenRemove_RestoresTheAudioClipPathTheExportRewrote_AndItSurvivesTheNextAddressablesChange()
Export_MovesAnAssetLabelledModuleFeedbackIntoItsModuleSubfolder()
Declaration
public void Export_MovesAnAssetLabelledModuleFeedbackIntoItsModuleSubfolder()
Export_OverAnExportWhoseRemoveWasBlocked_RefusesToOverwriteItsManifest()
Declaration
public void Export_OverAnExportWhoseRemoveWasBlocked_RefusesToOverwriteItsManifest()
Export_RecordsEveryMovedAssetsRegistrationAndEveryFieldItRewrote()
Declaration
public void Export_RecordsEveryMovedAssetsRegistrationAndEveryFieldItRewrote()
PlaceRegisteredCopiesOfRealShippedAssets()
Declaration
public void PlaceRegisteredCopiesOfRealShippedAssets()
RemoveTheFixture()
Declaration
public void RemoveTheFixture()
Remove_FromAVersion5Manifest_StillRestoresEveryRegistration()
Declaration
public void Remove_FromAVersion5Manifest_StillRestoresEveryRegistration()
Remove_WhenARecordedLabelWasDeletedFromTheSettings_RecreatesItAndPutsItBackOnTheEntry()
Declaration
public void Remove_WhenARecordedLabelWasDeletedFromTheSettings_RecreatesItAndPutsItBackOnTheEntry()
Remove_WhenAnOriginalPathIsOccupied_NamesItAndOverwritesNothing()
Declaration
public void Remove_WhenAnOriginalPathIsOccupied_NamesItAndOverwritesNothing()
Remove_WhenTheRecordedGroupWasDeleted_MovesTheAssetBack_NamesTheGroup_AndKeepsTheManifestEntry()
Declaration
public void Remove_WhenTheRecordedGroupWasDeleted_MovesTheAssetBack_NamesTheGroup_AndKeepsTheManifestEntry()