sharee.bike-App/TestFramework/TestHelper.cs

27 lines
746 B
C#
Raw Normal View History

2022-01-22 18:16:10 +01:00
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using TINK.Model;
2021-11-14 23:27:29 +01:00
using TINK.Model.Bike;
2022-01-22 18:16:10 +01:00
using TINK.Model.Station;
2021-11-14 23:27:29 +01:00
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);
}
}
}