4 name=
"Castle.ActiveRecord.Tests"
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" />
14 <property name=
"assembly.sign" value=
"false" />
15 <property name=
"assembly.is-cls-compliant" value=
"false" />
17 <assemblyfileset id=
"project.references" basedir=
"${build.dir}">
18 <include name=
"nunit.framework.dll"/>
19 <include name=
"NHibernate.dll" />
20 <include name=
"Iesi.Collections.dll" />
21 <include name=
"Nullables.dll" />
22 <include name=
"Castle.Core.dll" />
23 <include name=
"Castle.ActiveRecord.dll" />
24 <include name=
"Castle.Components.Validator.dll" />
25 <include name=
"System.Data.dll" />
26 <include name=
"System.Configuration.dll" />
30 <target name=
"configure-tests">
31 <property name=
"app.config" value=
"${build.dir}/${project::get-name()}.dll.config" />
35 xpath=
"/configuration/activerecord/config/add[@key='dialect']/@value"
40 xpath=
"/configuration/activerecord/config/add[@key='connection.driver_class']/@value"
41 value=
"${ar.connection.driver_class}"
45 xpath=
"/configuration/activerecord/config/add[@key='connection.connection_string']/@value"
46 value=
"${ar.connection.connection_string.1}"
51 xpath=
"/configuration/activerecord/config[@type='Castle.ActiveRecord.Tests.Model.Test2ARBase, Castle.ActiveRecord.Tests']/add[@key='dialect']/@value"
56 xpath=
"/configuration/activerecord/config[@type='Castle.ActiveRecord.Tests.Model.Test2ARBase, Castle.ActiveRecord.Tests']/add[@key='connection.driver_class']/@value"
57 value=
"${ar.connection.driver_class}"
61 xpath=
"/configuration/activerecord/config[@type='Castle.ActiveRecord.Tests.Model.Test2ARBase, Castle.ActiveRecord.Tests']/add[@key='connection.connection_string']/@value"
62 value=
"${ar.connection.connection_string.2}"
66 <target name=
"generate-assemblyinfo" depends=
"init common.generate-assemblyinfo" />
68 <target name=
"test" depends=
"init generate-assemblyinfo common.compile-tests configure-tests common.run-tests" description=
"Runs the tests" />