sharee.bike-App/TestFramework/TestHelper.cs
Oliver Hauff 578fcee611 3.0.275
2022-01-22 18:28:01 +01:00

23 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);
}
}
}