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;
@@ -47,6 +48,7 @@ namespace OpenSim.Data.SQLite.Tests
public void Init()
{
SuperInit();
file = Path.GetTempFileName() + ".db";
connect = "URI=file:" + file + ",version=3";
db = new SQLiteRegionData();
db.Initialise(connect);