* reinstate OpenSim/Region/Framework/Scenes/Tests
* should bring us back up to 240 tests0.6.3-post-fixes
parent
3ee10cb30e
commit
fae20712a9
|
@ -43,6 +43,7 @@
|
||||||
<include name="../bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll"/>
|
<include name="../bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll"/>
|
||||||
<include name="../bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll"/>
|
<include name="../bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll"/>
|
||||||
<include name="../bin/OpenSim.Region.Environment.Tests.dll"/>
|
<include name="../bin/OpenSim.Region.Environment.Tests.dll"/>
|
||||||
|
<include name="../bin/OpenSim.Region.Framework.Tests.dll"/>
|
||||||
<include name="../bin/OpenSim.Data.SQLite.Tests.dll"/>
|
<include name="../bin/OpenSim.Data.SQLite.Tests.dll"/>
|
||||||
<include name="../bin/OpenSim.Data.MySQL.Tests.dll"/>
|
<include name="../bin/OpenSim.Data.MySQL.Tests.dll"/>
|
||||||
<include name="../bin/OpenSim.Region.Physics.OdePlugin.dll"/>
|
<include name="../bin/OpenSim.Region.Physics.OdePlugin.dll"/>
|
||||||
|
|
|
@ -41,6 +41,7 @@
|
||||||
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" />
|
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" />
|
||||||
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" />
|
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" />
|
||||||
<include name="./bin/OpenSim.Region.Environment.Tests.dll" />
|
<include name="./bin/OpenSim.Region.Environment.Tests.dll" />
|
||||||
|
<include name="./bin/OpenSim.Region.Framework.Tests.dll" />
|
||||||
<include name="./bin/OpenSim.Data.SQLite.Tests.dll" />
|
<include name="./bin/OpenSim.Data.SQLite.Tests.dll" />
|
||||||
<include name="./bin/OpenSim.Data.MySQL.Tests.dll" />
|
<include name="./bin/OpenSim.Data.MySQL.Tests.dll" />
|
||||||
</assemblies>
|
</assemblies>
|
||||||
|
@ -117,6 +118,17 @@
|
||||||
<arg value="--export-html=./cov/OpenSim.Region.Environment ./cov/OpenSim.Region.Environment.cov" />
|
<arg value="--export-html=./cov/OpenSim.Region.Environment ./cov/OpenSim.Region.Environment.cov" />
|
||||||
</exec>
|
</exec>
|
||||||
|
|
||||||
|
<exec program="mono">
|
||||||
|
<arg value="--debug" />
|
||||||
|
<arg value="--profile=monocov:outfile=./cov/OpenSim.Region.Framework.cov,+[OpenSim.Region.Framework]" />
|
||||||
|
<arg value="/usr/lib/nunit/nunit-console.exe" />
|
||||||
|
<arg value="./bin/OpenSim.Region.Framework.Tests.dll" />
|
||||||
|
</exec>
|
||||||
|
<delete dir="./cov/OpenSim.Region.Framework" />
|
||||||
|
<exec program="monocov">
|
||||||
|
<arg value="--export-html=./cov/OpenSim.Region.Framework ./cov/OpenSim.Region.Framework.cov" />
|
||||||
|
</exec>
|
||||||
|
|
||||||
<exec program="mono">
|
<exec program="mono">
|
||||||
<arg value="--debug" />
|
<arg value="--debug" />
|
||||||
<arg value="--profile=monocov:outfile=./cov/OpenSim.Data.SQLite.cov,+[OpenSim.Data.SQLite]" />
|
<arg value="--profile=monocov:outfile=./cov/OpenSim.Data.SQLite.cov,+[OpenSim.Data.SQLite]" />
|
||||||
|
@ -157,6 +169,7 @@
|
||||||
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" />
|
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" />
|
||||||
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" />
|
<include name="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" />
|
||||||
<include name="./bin/OpenSim.Region.Environment.Tests.dll" />
|
<include name="./bin/OpenSim.Region.Environment.Tests.dll" />
|
||||||
|
<include name="./bin/OpenSim.Region.Framework.Tests.dll" />
|
||||||
<include name="./bin/OpenSim.Data.SQLite.Tests.dll" />
|
<include name="./bin/OpenSim.Data.SQLite.Tests.dll" />
|
||||||
<include name="./bin/OpenSim.Data.MySQL.Tests.dll" />
|
<include name="./bin/OpenSim.Data.MySQL.Tests.dll" />
|
||||||
</assemblies>
|
</assemblies>
|
||||||
|
|
|
@ -33,7 +33,7 @@ using OpenSim.Framework;
|
||||||
using OpenSim.Framework.Communications;
|
using OpenSim.Framework.Communications;
|
||||||
using OpenSim.Framework.Communications.Cache;
|
using OpenSim.Framework.Communications.Cache;
|
||||||
using OpenSim.Region.Communications.Local;
|
using OpenSim.Region.Communications.Local;
|
||||||
using OpenSim.Region.Environment.Scenes;
|
using OpenSim.Region.Framework.Scenes;
|
||||||
using OpenSim.Tests.Common.Mock;
|
using OpenSim.Tests.Common.Mock;
|
||||||
using OpenSim.Tests.Common.Setup;
|
using OpenSim.Tests.Common.Setup;
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ using OpenSim.Framework;
|
||||||
using OpenSim.Framework.Communications;
|
using OpenSim.Framework.Communications;
|
||||||
using OpenSim.Framework.Communications.Cache;
|
using OpenSim.Framework.Communications.Cache;
|
||||||
using OpenSim.Region.Communications.Local;
|
using OpenSim.Region.Communications.Local;
|
||||||
using OpenSim.Region.Environment.Scenes;
|
using OpenSim.Region.Framework.Scenes;
|
||||||
using OpenSim.Tests.Common.Mock;
|
using OpenSim.Tests.Common.Mock;
|
||||||
using OpenSim.Tests.Common.Setup;
|
using OpenSim.Tests.Common.Setup;
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,6 @@ using NUnit.Framework.SyntaxHelpers;
|
||||||
using OpenMetaverse;
|
using OpenMetaverse;
|
||||||
using OpenSim.Framework;
|
using OpenSim.Framework;
|
||||||
using OpenSim.Framework.Communications;
|
using OpenSim.Framework.Communications;
|
||||||
using OpenSim.Region.Environment;
|
|
||||||
using OpenSim.Region.Framework.Interfaces;
|
using OpenSim.Region.Framework.Interfaces;
|
||||||
using OpenSim.Region.Environment.Modules.Communications.REST;
|
using OpenSim.Region.Environment.Modules.Communications.REST;
|
||||||
using OpenSim.Tests.Common.Mock;
|
using OpenSim.Tests.Common.Mock;
|
||||||
|
|
56
prebuild.xml
56
prebuild.xml
|
@ -2617,6 +2617,62 @@
|
||||||
<Match path="Modules/World/Terrain/Tests" pattern="*.cs" recurse="true" />
|
<Match path="Modules/World/Terrain/Tests" pattern="*.cs" recurse="true" />
|
||||||
<Match path="Modules/World/Archiver/Tests" pattern="*.cs" recurse="true" />
|
<Match path="Modules/World/Archiver/Tests" pattern="*.cs" recurse="true" />
|
||||||
<Match path="Modules/Agent/TextureSender/Tests" pattern="*.cs" recurse="true" />
|
<Match path="Modules/Agent/TextureSender/Tests" pattern="*.cs" recurse="true" />
|
||||||
|
</Files>
|
||||||
|
</Project>
|
||||||
|
|
||||||
|
<Project name="OpenSim.Region.Framework.Tests" path="OpenSim/Region/Framework" type="Library">
|
||||||
|
<Configuration name="Debug">
|
||||||
|
<Options>
|
||||||
|
<OutputPath>../../../bin/</OutputPath>
|
||||||
|
</Options>
|
||||||
|
</Configuration>
|
||||||
|
<Configuration name="Release">
|
||||||
|
<Options>
|
||||||
|
<OutputPath>../../../bin/</OutputPath>
|
||||||
|
</Options>
|
||||||
|
</Configuration>
|
||||||
|
|
||||||
|
<ReferencePath>../../../bin/</ReferencePath>
|
||||||
|
<Reference name="System" localCopy="false"/>
|
||||||
|
<Reference name="System.Xml"/>
|
||||||
|
<Reference name="System.Drawing"/>
|
||||||
|
<Reference name="System.Runtime.Remoting"/>
|
||||||
|
<Reference name="OpenMetaverseTypes.dll"/>
|
||||||
|
<Reference name="OpenMetaverse.dll"/>
|
||||||
|
<Reference name="OpenSim.Data"/>
|
||||||
|
<Reference name="OpenSim.Framework"/>
|
||||||
|
<Reference name="OpenSim.Framework.Communications"/>
|
||||||
|
<Reference name="OpenSim.Framework.Console"/>
|
||||||
|
<Reference name="OpenSim.Framework.Servers"/>
|
||||||
|
<Reference name="OpenSim.Framework.Statistics"/>
|
||||||
|
<Reference name="OpenSim.Region.Communications.Local"/>
|
||||||
|
<Reference name="OpenSim.Region.Framework"/>
|
||||||
|
<Reference name="OpenSim.Region.Environment"/>
|
||||||
|
<Reference name="OpenSim.Region.Physics.Manager"/>
|
||||||
|
|
||||||
|
<!-- Unit tests -->
|
||||||
|
<!-- <Reference name="OpenSim.Tests.Common"/> -->
|
||||||
|
<Reference name="OpenSim.Tests.Common"/>
|
||||||
|
<Reference name="Nini.dll"/>
|
||||||
|
<Reference name="nunit.framework.dll"/>
|
||||||
|
|
||||||
|
<!-- For scripting in funny languages by default -->
|
||||||
|
<Reference name="Microsoft.JScript"/>
|
||||||
|
<Reference name="XMLRPC.dll"/>
|
||||||
|
<Reference name="OpenSim.Framework.Communications"/>
|
||||||
|
<Reference name="OpenSim.Data.Base"/>
|
||||||
|
<Reference name="Nini.dll" />
|
||||||
|
<Reference name="log4net.dll"/>
|
||||||
|
<Reference name="DotNetOpenMail.dll"/>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
TODO: this is kind of lame, we basically build a duplicate
|
||||||
|
assembly but with tests added in, just so that we don't
|
||||||
|
need to hard code in a bunch of Test directories here. If
|
||||||
|
pattern="Tests/*.cs" worked, we wouldn't need this.
|
||||||
|
-->
|
||||||
|
<Files>
|
||||||
|
<!-- SADLY the way this works means you need to keep adding these paths -->
|
||||||
<Match path="Scenes/Tests" pattern="*.cs" recurse="false" />
|
<Match path="Scenes/Tests" pattern="*.cs" recurse="false" />
|
||||||
</Files>
|
</Files>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
Loading…
Reference in New Issue