logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class MetaFileRaceGuardedFixture

    Base fixture that suppresses Unity's log-as-failure handling for the whole fixture run. Rapid create/delete of a fixture's temp folders across many tests occasionally races an external file watcher (AV/cloud-sync) still holding a just-deleted folder's .meta file, and because AssetDatabase's underlying file I/O is not guaranteed synchronous with the C# call that triggered it, the resulting console error can surface on a later frame than the operation that caused it — suppressing per-test would leave a gap between one test's TearDown and the next test's SetUp where the delayed log lands. Real assertions in derived fixtures run normally; only the log-as-failure path Unity's test runner applies to unexpected console errors is suppressed.

    Inheritance
    object
    MetaFileRaceGuardedFixture
    AsmdefReferenceWriterTests
    ExtensionPointGenerationTests
    ExtensionPointValidationTests
    ServiceExtensionCreatorGenerationTests
    ServiceExtensionCreatorValidationTests
    ServiceExtensionRunnerTests
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Serenity.ServiceExtensionCreator.Tests.Editor
    Assembly: Serenity.ServiceExtensionCreator.Tests.Editor.dll
    Syntax
    public abstract class MetaFileRaceGuardedFixture

    Constructors

    MetaFileRaceGuardedFixture()

    Declaration
    protected MetaFileRaceGuardedFixture()

    Methods

    RestoreFailingLogMessages()

    Declaration
    public void RestoreFailingLogMessages()

    SuppressFailingLogMessagesForFixture()

    Declaration
    public void SuppressFailingLogMessagesForFixture()

    SuppressFailingLogMessagesForTest()

    Declaration
    public void SuppressFailingLogMessagesForTest()
    In this article
    © 2026 Serenity. All Rights Reserved