initial oogynize check in _ this actually used to work!
This commit is contained in:
36
DataAccessLayer/nUnitTests.cs
Normal file
36
DataAccessLayer/nUnitTests.cs
Normal file
@@ -0,0 +1,36 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using NUnit.Framework;
|
||||
|
||||
using Foo.DataAccessLayer;
|
||||
using DataAccessLayer.TestData;
|
||||
|
||||
namespace Foo.DataAccessLayer
|
||||
{
|
||||
[TestFixture]
|
||||
public class nUnitTests
|
||||
{
|
||||
|
||||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
}
|
||||
|
||||
[TearDown]
|
||||
public void TearDown()
|
||||
{
|
||||
}
|
||||
|
||||
[Test]
|
||||
public void RecreateDatabaseAndLoadWithDefaultTestData()
|
||||
{
|
||||
// First Delete the DB, if it exists
|
||||
DB.DeleteDefaultDB();
|
||||
|
||||
// Now Fill the DB with the Test Data
|
||||
TestData.FillDBWithTestData();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user