mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-12-22 06:56:25 +01:00
18 lines
550 B
C#
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);
|
|
}
|
|
}
|
|
}
|