sharee.bike-App/SharedBusinessLogic.Tests.Framework/TestHelper.cs
2024-04-09 12:53:23 +02:00

18 lines
550 B
C#

namespace SharedBusinessLogic.Tests.Framework
{
/// <summary>
/// Provides helper functionality. Used in SharedBusinessLogic.Tests and SharedBusinessLogic.Tests.
/// </summary>
public static class TestHelper
{
/// <summary>
/// Eases comparison of xml- files.
/// </summary>
/// <param name="p_strXmlFile"></param>
/// <returns></returns>
public static string PrepareXmlForStringCompare(string p_strXmlFile)
{
return p_strXmlFile.Replace("\r\n", string.Empty).Replace("\t", string.Empty).Replace(" ", string.Empty);
}
}
}