sharee.bike-App/SharedBusinessLogic.Tests_old/TestHelper.cs

19 lines
540 B
C#
Raw Normal View History

2024-04-09 12:53:23 +02:00
namespace SharedBusinessLogic.Tests
2021-11-14 23:27:29 +01:00
{
2022-09-06 16:08:19 +02:00
/// <summary>
2024-04-09 12:53:23 +02:00
/// Provides helper functionality. Used in SharedBusinessLogic.Tests and SharedBusinessLogic.Tests.
2022-09-06 16:08:19 +02:00
/// </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);
}
}
2021-11-14 23:27:29 +01:00
}