annotate Agendas/trunk/src/Agendas.Repositories.Tests/EventoCrudNh.cs @ 222:68b09c30b0d2

Separando los test de persistencia en un proyecto aparte
author nelopauselli
date Mon, 19 Sep 2011 18:18:17 -0300
parents Agendas/trunk/src/Agendas.Tests/Cruds/EventoCrudNhTests.cs@5346c0500594
children
rev   line source
222
68b09c30b0d2 Separando los test de persistencia en un proyecto aparte
nelopauselli
parents: 200
diff changeset
1 using Agendas.Repositories.Tests.Infraestructure;
63
963b71ea6028 Repositorios con NH
nelopauselli
parents:
diff changeset
2 using NUnit.Framework;
963b71ea6028 Repositorios con NH
nelopauselli
parents:
diff changeset
3
222
68b09c30b0d2 Separando los test de persistencia en un proyecto aparte
nelopauselli
parents: 200
diff changeset
4 namespace Agendas.Repositories.Tests
63
963b71ea6028 Repositorios con NH
nelopauselli
parents:
diff changeset
5 {
963b71ea6028 Repositorios con NH
nelopauselli
parents:
diff changeset
6 [TestFixture]
222
68b09c30b0d2 Separando los test de persistencia en un proyecto aparte
nelopauselli
parents: 200
diff changeset
7 public class EventoCrudNh : EventoCrud<NhInfraestrutureFactory>
63
963b71ea6028 Repositorios con NH
nelopauselli
parents:
diff changeset
8 {
963b71ea6028 Repositorios con NH
nelopauselli
parents:
diff changeset
9 [SetUp]
963b71ea6028 Repositorios con NH
nelopauselli
parents:
diff changeset
10 public void BorrarRepositorios()
963b71ea6028 Repositorios con NH
nelopauselli
parents:
diff changeset
11 {
200
5346c0500594 Pasando a estructura de db fija, ya no se crea automáticamente.
nelopauselli
parents: 140
diff changeset
12 NhHelperTest.CleanDb();
63
963b71ea6028 Repositorios con NH
nelopauselli
parents:
diff changeset
13 }
963b71ea6028 Repositorios con NH
nelopauselli
parents:
diff changeset
14 }
963b71ea6028 Repositorios con NH
nelopauselli
parents:
diff changeset
15 }