Mercurial > altnet-hispano
comparison Agendas/trunk/src/Agendas.Tests/Cruds/EventoCrudNhTests.cs @ 200:5346c0500594 deploy pre 1.0
Pasando a estructura de db fija, ya no se crea automáticamente.
Se comenta lo referente a Patrocinadores que queda para alguna futura versión.
Script para tablas de v1.0
author | nelopauselli |
---|---|
date | Wed, 17 Aug 2011 17:54:45 -0300 |
parents | 3639803112c6 |
children |
comparison
equal
deleted
inserted
replaced
199:39ce09df76dc | 200:5346c0500594 |
---|---|
1 using Agendas.NHibernate; | 1 using Agendas.NHibernate; |
2 using AltNetHispano.Agendas.Domain; | 2 using AltNetHispano.Agendas.Domain; |
3 using AltNetHispano.Agendas.Repositories.NHibernate; | 3 using AltNetHispano.Agendas.Repositories.NHibernate; |
4 using Moq; | 4 using Moq; |
5 using NHibernate; | 5 using NHibernate; |
6 using NHibernate.Cfg; | |
7 using NHibernate.Tool.hbm2ddl; | |
8 using NUnit.Framework; | 6 using NUnit.Framework; |
9 | 7 |
10 namespace AltNetHispano.Agendas.Tests.Cruds | 8 namespace AltNetHispano.Agendas.Tests.Cruds |
11 { | 9 { |
12 [TestFixture] | 10 [TestFixture] |
17 #region SetUp | 15 #region SetUp |
18 | 16 |
19 [SetUp] | 17 [SetUp] |
20 public void BorrarRepositorios() | 18 public void BorrarRepositorios() |
21 { | 19 { |
22 Configuration cfg =NhHelper.GetConfiguration(); | 20 NhHelperTest.CleanDb(); |
23 var schemaExport = new SchemaExport(cfg); | |
24 schemaExport.Create(false, true); | |
25 } | 21 } |
26 | 22 |
27 [SetUp] | 23 [SetUp] |
28 public void SetearUsuario() | 24 public void SetearUsuario() |
29 { | 25 { |