Mocks a settings file during unit tests instead just having a simple lookup.
View code on GitHub
Inheritance Hierarchy
DeltaEngine.Core Settings
DeltaEngine.Mocks MockSettings
Namespace: DeltaEngine.Mocks
Assembly: DeltaEngine.Mocks (in DeltaEngine.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The MockSettings type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MockSettings | Initializes a new instance of the MockSettings class |
Methods
Name | Description | |
---|---|---|
Change | ||
Dispose | (Inherited from Settings.) | |
GetValue T | (Overrides Settings GetValue T (String, T).) | |
LoadDefaultSettings | (Inherited from Settings.) | |
Save | (Overrides Settings Save .) | |
SetValue | (Overrides Settings SetValue(String, Object).) |
Fields
Name | Description | |
---|---|---|
wasChanged | (Inherited from Settings.) |
Properties
Name | Description | |
---|---|---|
AntiAliasingSamples |
4 works on most frameworks, but some have AA disabled, use 0 to keep all frameworks in sync
View code on GitHub (Inherited from Settings.) | |
AreChanged | ||
ColorBufferBits | (Inherited from Settings.) | |
CustomSettingsExists | (Inherited from Settings.) | |
DepthBufferBits | (Inherited from Settings.) | |
LimitFramerate | (Inherited from Settings.) | |
MusicVolume | (Inherited from Settings.) | |
OnlineServiceIp | (Inherited from Settings.) | |
OnlineServicePort | (Inherited from Settings.) | |
PlayerName | (Inherited from Settings.) | |
ProfilingModes | (Inherited from Settings.) | |
RapidUpdatesPerSecond | (Inherited from Settings.) | |
Resolution | (Inherited from Settings.) | |
SoundVolume | (Inherited from Settings.) | |
StartInFullscreen | (Inherited from Settings.) | |
TwoLetterLanguageName | (Inherited from Settings.) | |
UpdatesPerSecond | (Inherited from Settings.) | |
UseOnlineLogging | (Inherited from Settings.) | |
UseVSync | (Inherited from Settings.) |
See Also