annotate Agendas/trunk/src/Agendas.Repositories.Tests/EventoCrudNh.cs @ 275:bf993f99cee3

Ticket #123: Patrocinadores de las vans.
author juanjose.montesdeocaarbos
date Wed, 14 Dec 2011 08:15:44 -0300
parents 68b09c30b0d2
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 }