Class SingletonSettingsLoaderCallSiteReportTests
W5B-13: every installer that falls back to discovering its own settings asset reports the discovery's verdict — above all "several project-owned assets, this one wins" — through a log someone reads. Each case puts two settings assets of the installer's type under a Resources folder, where the ResourcesOnly loading mode reads every candidate as the project's own, runs the installer with nothing wired, and asserts the duplicate reaches the log the installer was given. Play Mode, because a log sink's service marks itself DontDestroyOnLoad, which only Play Mode allows.
Inherited Members
Namespace: Serenity.UnityGlobal.Tests.Installation
Assembly: Tests.dll
Syntax
public class SingletonSettingsLoaderCallSiteReportTests
Constructors
SingletonSettingsLoaderCallSiteReportTests()
Declaration
public SingletonSettingsLoaderCallSiteReportTests()
Methods
ConsoleLogInstaller_TwoProjectOwnedSettingsAndNoInstallationLog_ReportsThroughTheConsoleItBuilt()
The first sink has no log to report through yet, so it reports through the console it just built — the duplicate still reaches a log someone reads.
Declaration
public void ConsoleLogInstaller_TwoProjectOwnedSettingsAndNoInstallationLog_ReportsThroughTheConsoleItBuilt()
ConsoleLogInstaller_TwoProjectOwnedSettings_ReportsTheDuplicateToItsInstallationLog()
Declaration
public void ConsoleLogInstaller_TwoProjectOwnedSettings_ReportsTheDuplicateToItsInstallationLog()
FileLogInstaller_TwoProjectOwnedSettings_ReportsTheDuplicateToItsInstallationLog()
Declaration
public void FileLogInstaller_TwoProjectOwnedSettings_ReportsTheDuplicateToItsInstallationLog()
LocalizationInstaller_TwoProjectOwnedSettings_ReportsTheDuplicateToItsLog()
Declaration
public void LocalizationInstaller_TwoProjectOwnedSettings_ReportsTheDuplicateToItsLog()
SetUp()
Declaration
public void SetUp()
StructuredLogInstaller_TwoProjectOwnedSettings_ReportsTheDuplicateToTheConsoleLogItWasGiven()
Declaration
public void StructuredLogInstaller_TwoProjectOwnedSettings_ReportsTheDuplicateToTheConsoleLogItWasGiven()
TearDown()
Declaration
public void TearDown()