convert to using proper .net tempfiles, should have done this

initially.
This commit is contained in:
Sean Dague
2008-09-19 17:47:37 +00:00
parent 5fb7b485b2
commit 7ac264c2f0
4 changed files with 13 additions and 4 deletions

View File

@@ -26,6 +26,7 @@
*/
using System;
using System.IO;
using System.Collections.Generic;
using NUnit.Framework;
using NUnit.Framework.SyntaxHelpers;
@@ -40,13 +41,14 @@ namespace OpenSim.Data.SQLite.Tests
[TestFixture]
public class SQLiteUserTest : BasicUserTest
{
public string file = "usertest.db";
public string file;
public string connect;
[TestFixtureSetUp]
public void Init()
{
SuperInit();
file = Path.GetTempFileName() + ".db";
connect = "URI=file:" + file + ",version=3";
db = new SQLiteUserData();
db.Initialise(connect);