diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-11-27 20:35:08 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-11-27 20:35:08 +0200 |
| commit | 7060dc80c707fc0441ff69fe4f899107cb3f6fc1 (patch) | |
| tree | a72e2cf1be9fcce77e27446d93501bfc9b452265 /Software/Visual_Studio/Tango.UnitTesting/Helper.cs | |
| parent | d1038a08bdf51b1310be4ef00ebe9e21b0e12f81 (diff) | |
| download | Tango-7060dc80c707fc0441ff69fe4f899107cb3f6fc1.tar.gz Tango-7060dc80c707fc0441ff69fe4f899107cb3f6fc1.zip | |
Split DAL to DAl.Local & DAL.Remote due to ambiguity of table names in EF.
Implemented Unit testing for SQLite & SQL Server connections.
Diffstat (limited to 'Software/Visual_Studio/Tango.UnitTesting/Helper.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.UnitTesting/Helper.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.UnitTesting/Helper.cs b/Software/Visual_Studio/Tango.UnitTesting/Helper.cs index ece74d3f3..21e36168c 100644 --- a/Software/Visual_Studio/Tango.UnitTesting/Helper.cs +++ b/Software/Visual_Studio/Tango.UnitTesting/Helper.cs @@ -35,6 +35,15 @@ namespace Tango.UnitTesting } /// <summary> + /// Gets the SQLite database file path in DB folder. + /// </summary> + /// <returns></returns> + public static String GetSQLiteFilePath() + { + return Path.GetFullPath(@"..\..\..\DB\Tango.db"); + } + + /// <summary> /// Initializes the logging manager. /// </summary> public static ConsoleLogger InitializeLogging(bool useConsole = false, [CallerMemberName] string testName = null) |
