annotate Agendas/trunk/src/Agendas.Repositories.Tests/EventoCrudNh.cs @ 295:8c742d5ccf67

Leyendo imagen directamente desde el stream
author nelopauselli
date Sat, 18 Feb 2012 12:33:54 -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 }