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
+7
-2
No files matched your search
@@ -419,7 +419,10 @@ namespace Tests.VocaluxeLib.XML
|
||||
// Typename will be uppercase but input is lowercase
|
||||
newXml = newXml.Replace("<String", "<string").Replace("</String", "</string");
|
||||
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
|
||||
|
||||
@@ -56,6 +56,8 @@
|
||||
<BackgroundMusicUseStart>TR_CONFIG_ON</BackgroundMusicUseStart>
|
||||
<PreviewMusicVolume>50</PreviewMusicVolume>
|
||||
<GameMusicVolume>80</GameMusicVolume>
|
||||
<SoundEffectVolume>80</SoundEffectVolume>
|
||||
<VocalsVolume>50</VocalsVolume>
|
||||
<KaraokeEffect>TR_CONFIG_OFF</KaraokeEffect>
|
||||
<KaraokeEffectLevel>1</KaraokeEffectLevel>
|
||||
</Sound>
|
||||
@@ -130,4 +132,4 @@
|
||||
<ServerPort>3000</ServerPort>
|
||||
<SongCountCoverThreshold>70</SongCountCoverThreshold>
|
||||
</Server>
|
||||
</root>
|
||||
</root>
|
||||
Reference in new issue
Block a user