Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Facilities / NHibernateIntegration / Castle.Facilities.NHibernateIntegration.Tests / Castle.Facilities.NHibernateIntegration.Tests.build
blob7f112679cce27260d1a5fbd654b1e235d3a28a5d
1 <?xml version="1.0" ?>
3 <project
4 name="Castle.Facilities.NHibernateIntegration.Tests"
5 default="test"
6 xmlns="http://nant.sf.net/release/0.85/nant.xsd"
9 <property name="root.dir" value="../../.." />
10 <include buildfile="${root.dir}/common-project.xml" />
12 <target name="init" depends="common.init">
13 <property name="assembly.version" value="1.0.3.0" />
15 <assemblyfileset id="project.references" basedir="${build.dir}">
16 <include name="nunit.framework.dll"/>
17 <include name="Castle.Facilities.NHibernateIntegration.dll" />
19 <include name="NHibernate.dll" />
20 <include name="Castle.Core.dll" />
21 <include name="Castle.Services.Transaction.dll" />
22 <include name="Castle.MicroKernel.dll" />
23 <include name="Castle.Windsor.dll" />
24 <include name="Castle.Facilities.AutomaticTransactionManagement.dll" />
25 <include name="System.Configuration.dll" />
26 </assemblyfileset>
28 <resourcefileset id="project.resources" prefix="${project::get-name()}" dynamicprefix="true">
29 <include name="${src.dir}/**/*.hbm.xml" />
30 <exclude name="${src.dir}/obj/**" />
31 </resourcefileset>
32 </target>
34 <target name="configure-tests">
35 <property name="app.config" value="${build.dir}/${project::get-name()}.dll.config" />
37 <xmlpoke
38 file="${app.config}"
39 xpath="/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory1']/settings/item[@key='dialect']"
40 value="${ar.dialect}"
42 <xmlpoke
43 file="${app.config}"
44 xpath="/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory2']/settings/item[@key='dialect']"
45 value="${ar.dialect}"
47 <xmlpoke
48 file="${app.config}"
49 xpath="/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory3']/settings/item[@key='dialect']"
50 value="${ar.dialect}"
52 <xmlpoke
53 file="${app.config}"
54 xpath="/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory1']/settings/item[@key='connection.driver_class']"
55 value="${ar.connection.driver_class}"
57 <xmlpoke
58 file="${app.config}"
59 xpath="/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory2']/settings/item[@key='connection.driver_class']"
60 value="${ar.connection.driver_class}"
62 <xmlpoke
63 file="${app.config}"
64 xpath="/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory3']/settings/item[@key='connection.driver_class']"
65 value="${ar.connection.driver_class}"
67 <xmlpoke
68 file="${app.config}"
69 xpath="/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory1']/settings/item[@key='connection.connection_string']"
70 value="${ar.connection.connection_string.1}"
72 <xmlpoke
73 file="${app.config}"
74 xpath="/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory2']/settings/item[@key='connection.connection_string']"
75 value="${ar.connection.connection_string.2}"
77 <xmlpoke
78 file="${app.config}"
79 xpath="/configuration/castle/facilities/facility[@id='nhibernatefacility']/factory[@id='sessionFactory3']/settings/item[@key='connection.connection_string']"
80 value="${ar.connection.connection_string.1}"
82 </target>
84 <target name="generate-assemblyinfo" depends="init common.generate-assemblyinfo" />
86 <target name="test" depends="init generate-assemblyinfo common.compile-tests configure-tests common.run-tests" description="Runs the tests" />
88 </project>