sharee.bike-App/TestTINKLib/TestHelper.cs

19 lines
500 B
C#
Raw Normal View History

2021-07-12 21:31:46 +02:00
namespace TestTINKLib
{
2022-09-06 16:08:19 +02:00
/// <summary>
/// Provides helper functionality. Used in TestShareeLib and TestTINKLib.
/// </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-07-12 21:31:46 +02:00
}