From: Kevin W. <kev...@us...> - 2004-12-08 08:02:51
|
Update of /cvsroot/nhibernate/NHibernateContrib/src/BantamTech.SysCache In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11790/src/BantamTech.SysCache Modified Files: SysCacheFixture.cs SysCacheProviderFixture.cs syscache.build Log Message: tweaked build scripts and test fixture classes, trying to get back to 89% code coverage results for SysCache Index: SysCacheFixture.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/BantamTech.SysCache/SysCacheFixture.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SysCacheFixture.cs 7 Dec 2004 19:59:16 -0000 1.1 --- SysCacheFixture.cs 8 Dec 2004 08:02:40 -0000 1.2 *************** *** 21,24 **** --- 21,26 ---- // $Id$ // + // CLOVER:OFF + // #endregion *************** *** 132,136 **** h.Add( "priority", 7 ); ICache cache = new SysCache( "nunit", h ); - Assert.IsNotNull( cache ); } --- 134,137 ---- *************** *** 143,147 **** h.Add( "relativeExpiration", 300 ); ICache cache = new SysCache( "nunit", h ); - Assert.IsNotNull( cache ); } --- 144,147 ---- *************** *** 153,157 **** h.Add( "staticExpiration", DateTime.Parse( "1/1/1980") ); ICache cache = new SysCache( "nunit", h ); - Assert.IsNotNull( cache ); } --- 153,156 ---- *************** *** 163,167 **** h.Add( "staticExpiration", "foobar" ); ICache cache = new SysCache( "nunit", h ); - Assert.IsNotNull( cache ); } --- 162,165 ---- *************** *** 173,177 **** h.Add( "relativeExpiration", "foobar" ); ICache cache = new SysCache( "nunit", h ); - Assert.IsNotNull( cache ); } --- 171,174 ---- Index: SysCacheProviderFixture.cs =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/BantamTech.SysCache/SysCacheProviderFixture.cs,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** SysCacheProviderFixture.cs 7 Dec 2004 19:59:16 -0000 1.1 --- SysCacheProviderFixture.cs 8 Dec 2004 08:02:41 -0000 1.2 *************** *** 21,24 **** --- 21,26 ---- // $Id$ // + // CLOVER:OFF + // #endregion Index: syscache.build =================================================================== RCS file: /cvsroot/nhibernate/NHibernateContrib/src/BantamTech.SysCache/syscache.build,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** syscache.build 8 Dec 2004 01:15:55 -0000 1.2 --- syscache.build 8 Dec 2004 08:02:41 -0000 1.3 *************** *** 102,110 **** <target name="test" depends="build" description="run unit tests"> ! <copy file="syscache.config" tofile="${build.dir}/bin/${nant.project.name}.dll.config" /> <nunit2 failonerror="false"> <formatter type="Xml" usefile="true" extension=".xml" outputdir="${build.dir}/bin" /> ! <test assemblyname="${build.dir}/bin/${nant.project.name}.Tests.dll" appconfig="${build.dir}/syscache.config" /> </nunit2> </target> --- 102,118 ---- <target name="test" depends="build" description="run unit tests"> ! <copy file="syscache.config" tofile="${build.dir}/bin/${nant.project.name}.Tests.dll.config" /> <nunit2 failonerror="false"> <formatter type="Xml" usefile="true" extension=".xml" outputdir="${build.dir}/bin" /> ! <test assemblyname="${build.dir}/bin/${nant.project.name}.Tests.dll" appconfig="${build.dir}/${nant.project.name}.Tests.dll.config" /> </nunit2> + <if propertytrue="nunit2report.installed"> + <mkdir dir="${build.dir}/testresults" /> + <nunit2report out="${build.dir}/testresults/syscache.html" todir="${build.dir}/testresults"> + <fileset> + <includes name="${build.dir}\bin\${nant.project.name}.Tests.dll-results.xml" /> + </fileset> + </nunit2report> + </if> </target> |