Add SoundEffectVolume & VocalsVolume to SConfig Test (#847)
* Add SoundEffectVolume * Add VocalsVolume * Trim trailing whitespace/newlines
This commit is contained in:
1 parent
12a19b46c5
commit
e249baf2d4
2 files changed
+6
-1
No files matched your search
@@ -419,7 +419,10 @@ namespace Tests.VocaluxeLib.XML
|
|||||||
// Typename will be uppercase but input is lowercase
|
// Typename will be uppercase but input is lowercase
|
||||||
newXml = newXml.Replace("<String", "<string").Replace("</String", "</string");
|
newXml = newXml.Replace("<String", "<string").Replace("</String", "</string");
|
||||||
string oldXml = File.ReadAllText(xmlPath);
|
string oldXml = File.ReadAllText(xmlPath);
|
||||||
Assert.AreEqual(oldXml, newXml, "Recontructed XML has differences.");
|
// Trim trailing whitespace/newlines
|
||||||
|
oldXml = oldXml.TrimEnd('\r', '\n', ' ', '\t');
|
||||||
|
newXml = newXml.TrimEnd('\r', '\n', ' ', '\t');
|
||||||
|
Assert.AreEqual(oldXml, newXml, "Reconstructed XML has differences.");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -56,6 +56,8 @@
|
|||||||
<BackgroundMusicUseStart>TR_CONFIG_ON</BackgroundMusicUseStart>
|
<BackgroundMusicUseStart>TR_CONFIG_ON</BackgroundMusicUseStart>
|
||||||
<PreviewMusicVolume>50</PreviewMusicVolume>
|
<PreviewMusicVolume>50</PreviewMusicVolume>
|
||||||
<GameMusicVolume>80</GameMusicVolume>
|
<GameMusicVolume>80</GameMusicVolume>
|
||||||
|
<SoundEffectVolume>80</SoundEffectVolume>
|
||||||
|
<VocalsVolume>50</VocalsVolume>
|
||||||
<KaraokeEffect>TR_CONFIG_OFF</KaraokeEffect>
|
<KaraokeEffect>TR_CONFIG_OFF</KaraokeEffect>
|
||||||
<KaraokeEffectLevel>1</KaraokeEffectLevel>
|
<KaraokeEffectLevel>1</KaraokeEffectLevel>
|
||||||
</Sound>
|
</Sound>
|
||||||
|
|||||||
Reference in new issue
Block a user