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
MetaFileRaceGuardedFixture
Inherited Members
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()