You've already forked linux-packaging-mono
Imported Upstream version 5.8.0.88
Former-commit-id: 4b7216ffda08448e562271ce733688e761120fc5
This commit is contained in:
parent
7d05485754
commit
6123a772ed
@@ -43,24 +43,16 @@ namespace MonoTests.Mono.Data.Sqlite
|
||||
[SetUp]
|
||||
public void Setup ()
|
||||
{
|
||||
var dataFolder = Path.Combine (Environment.GetFolderPath (Environment.SpecialFolder.Personal), "SqlTest");
|
||||
|
||||
_databasePath = Path.Combine (dataFolder, "database.db");
|
||||
|
||||
if (!Directory.Exists (dataFolder)) {
|
||||
Directory.CreateDirectory (dataFolder);
|
||||
}
|
||||
|
||||
_databasePath = Path.GetTempFileName ();
|
||||
File.Delete (_databasePath);
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
public void TearDown ()
|
||||
{
|
||||
try {
|
||||
if (File.Exists (_databasePath))
|
||||
File.Delete (_databasePath);
|
||||
} catch {
|
||||
}
|
||||
}
|
||||
|
||||
[Test]
|
||||
|
||||
Reference in New Issue
Block a user