Class ProjectTreeAndShippedContentResidueGuardBaseDirtyAssetTests
Drives Serenity.Tests.Shared.Editor.ProjectTreeAndShippedContentResidueGuardBase.FindDirtyShippedContentPaths(System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IReadOnlyCollection{System.String}) and Serenity.Tests.Shared.Editor.ProjectTreeAndShippedContentResidueGuardBase.FindNewlyDirtyShippedContentPaths(System.Collections.Generic.IEnumerable{System.String},System.Collections.Generic.IReadOnlyCollection{System.String},System.Collections.Generic.IReadOnlyCollection{System.String}) against real AssetDatabase-backed assets under a disposable scratch folder — the mechanism only inspects already-LOADED UnityEngine.Object instances via UnityEngine.Resources.FindObjectsOfTypeAll``1, so a file merely written to disk without going through the AssetDatabase proves nothing about the native/imported distinction the mechanism exists to draw. The baseline-attribution cases also prove the guard never mutates editor state: every asset this fixture dirties is still dirty after the mechanism runs, whether or not it gets reported.
Inherited Members
Namespace: Serenity.Tests.Shared.Editor
Assembly: Serenity.Tests.Shared.Editor.dll
Syntax
public class ProjectTreeAndShippedContentResidueGuardBaseDirtyAssetTests
Constructors
ProjectTreeAndShippedContentResidueGuardBaseDirtyAssetTests()
Declaration
public ProjectTreeAndShippedContentResidueGuardBaseDirtyAssetTests()
Methods
FindDirtyShippedContentPaths_DirtyImportedAsset_IsNotReported()
Declaration
public void FindDirtyShippedContentPaths_DirtyImportedAsset_IsNotReported()
FindDirtyShippedContentPaths_DirtyNativeAsset_IsReported()
Declaration
public void FindDirtyShippedContentPaths_DirtyNativeAsset_IsReported()
FindDirtyShippedContentPaths_UntouchedNativeAsset_IsNotReported()
Declaration
public void FindDirtyShippedContentPaths_UntouchedNativeAsset_IsNotReported()
FindNewlyDirtyShippedContentPaths_DirtiedAfterBaseline_IsReportedAndStaysDirty()
Declaration
public void FindNewlyDirtyShippedContentPaths_DirtiedAfterBaseline_IsReportedAndStaysDirty()
FindNewlyDirtyShippedContentPaths_DirtyBeforeBaseline_IsNotReportedAndStaysDirty()
Declaration
public void FindNewlyDirtyShippedContentPaths_DirtyBeforeBaseline_IsNotReportedAndStaysDirty()
FindNewlyDirtyShippedContentPaths_ImportedAssetDirtiedAfterBaseline_IsNotReported()
Declaration
public void FindNewlyDirtyShippedContentPaths_ImportedAssetDirtiedAfterBaseline_IsNotReported()
FindNewlyDirtyShippedContentPaths_UntouchedAsset_IsNotReported()
Declaration
public void FindNewlyDirtyShippedContentPaths_UntouchedAsset_IsNotReported()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()