mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-05 02:26:29 +01:00
18 lines
502 B
C#
18 lines
502 B
C#
namespace TestFramework
|
|
{
|
|
/// <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);
|
|
}
|
|
}
|
|
}
|