Class SerenityMigrationFileProviderTests
EditMode integration tests for Serenity.Global.Infrastructure.Editor.Migration.SerenityMigrationFileProvider: the scan scope must be
consumer code only — everything under Assets/ EXCEPT Assets/Serenity/ and
Packages/, and only .cs/.asmdef files. Uses fixture files from the
non-imported Fixtures~ folder, copied into a temp project layout.
Inherited Members
Namespace: Serenity.Migration.Tests.Editor
Assembly: Serenity.Migration.Tests.Editor.dll
Syntax
public class SerenityMigrationFileProviderTests
Constructors
SerenityMigrationFileProviderTests()
Declaration
public SerenityMigrationFileProviderTests()
Methods
IsInScope_MatchesTheContract(string, bool)
Declaration
public void IsInScope_MatchesTheContract(string path, bool expected)
Parameters
| Type | Name | Description |
|---|---|---|
| string | path | |
| bool | expected |
LoadSources_FeedsTheEngine_EndToEnd()
Declaration
public void LoadSources_FeedsTheEngine_EndToEnd()
LoadSources_ReturnsOnlyConsumerCsAndAsmdef()
Declaration
public void LoadSources_ReturnsOnlyConsumerCsAndAsmdef()
SetUp()
Declaration
public void SetUp()
TearDown()
Declaration
public void TearDown()
WriteEdits_PersistsRewrites()
Declaration
public void WriteEdits_PersistsRewrites()