mirror of
https://dev.azure.com/TeilRad/sharee.bike%20App/_git/Code
synced 2024-11-16 15:16:34 +01:00
22 lines
654 B
C#
22 lines
654 B
C#
using System.Threading.Tasks;
|
|
using TINK.Model.Bike;
|
|
using TINK.Model.User;
|
|
|
|
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);
|
|
}
|
|
}
|
|
}
|