Update of /cvsroot/nhibernate/nhibernate/src/NHibernate.Test
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8462/NHibernate.Test
Modified Files:
NHibernate.Test-1.1.csproj
Added Files:
hibernate.cfg.xml
Log Message:
Added TestFixtures for configuring NHibernate from a seperate xml file.
--- NEW FILE: hibernate.cfg.xml ---
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-configuration >
<!--xmlns="urn:nhibernate-configuration-2.0" -->
<session-factory name="NHibernate.Test">
<!-- properties -->
<property name="connection.provider">NHibernate.Connection.DriverConnectionProvider</property>
<property name="connection.driver_class">NHibernate.Driver.SqlClientDriver</property>
<property name="connection.connection_string">Server=localhost;initial catalog=nhibernate;Integrated Security=SSPI</property>
<property name="show_sql">false</property>
<property name="dialect">NHibernate.Dialect.MsSql2000Dialect</property>
<property name="use_outer_join">true</property>
<property name="query.substitutions">true 1, false 0, yes 'Y', no 'N'</property>
<!-- mapping files -->
<mapping file="../../../NHibernate.DomainModel/ABC.hbm.xml" />
</session-factory>
</hibernate-configuration>
Index: NHibernate.Test-1.1.csproj
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate.Test/NHibernate.Test-1.1.csproj,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** NHibernate.Test-1.1.csproj 29 Jun 2004 04:30:16 -0000 1.27
--- NHibernate.Test-1.1.csproj 12 Jul 2004 01:32:18 -0000 1.28
***************
*** 155,158 ****
--- 155,162 ----
/>
<File
+ RelPath = "hibernate.cfg.xml"
+ BuildAction = "Content"
+ />
+ <File
RelPath = "MasterDetailTest.cs"
SubType = "Code"
***************
*** 223,226 ****
--- 227,235 ----
/>
<File
+ RelPath = "CfgTest\ConfigurationFixture.cs"
+ SubType = "Code"
+ BuildAction = "Compile"
+ />
+ <File
RelPath = "DialectTest\DialectFixture.cs"
SubType = "Code"
|