diff options
author | Justin Clarke Casey | 2008-10-09 16:52:33 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-10-09 16:52:33 +0000 |
commit | 919d907a3dc48360614c6311758d861ebf06849d (patch) | |
tree | 500bed052bd55795d1e2e88fb217fb2d26db4e88 | |
parent | * minor: very small doc addition (diff) | |
download | opensim-SC-919d907a3dc48360614c6311758d861ebf06849d.zip opensim-SC-919d907a3dc48360614c6311758d861ebf06849d.tar.gz opensim-SC-919d907a3dc48360614c6311758d861ebf06849d.tar.bz2 opensim-SC-919d907a3dc48360614c6311758d861ebf06849d.tar.xz |
* Create project for LindenUDP ClientStack tests
* No functional tests yet
-rw-r--r-- | .nant/local.include | 2 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | 44 | ||||
-rw-r--r-- | prebuild.xml | 22 |
3 files changed, 67 insertions, 1 deletions
diff --git a/.nant/local.include b/.nant/local.include index fa7a9bc..a54adf2 100644 --- a/.nant/local.include +++ b/.nant/local.include | |||
@@ -36,6 +36,7 @@ | |||
36 | <assemblies> | 36 | <assemblies> |
37 | <include name="./bin/OpenSim.Framework.Tests.dll" /> | 37 | <include name="./bin/OpenSim.Framework.Tests.dll" /> |
38 | <include name="./bin/OpenSim.Framework.Servers.Tests.dll" /> | 38 | <include name="./bin/OpenSim.Framework.Servers.Tests.dll" /> |
39 | <include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> | ||
39 | <include name="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" /> | 40 | <include name="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" /> |
40 | <include name="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" /> | 41 | <include name="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" /> |
41 | <include name="./bin/OpenSim.Region.Environment.Tests.dll" /> | 42 | <include name="./bin/OpenSim.Region.Environment.Tests.dll" /> |
@@ -53,6 +54,7 @@ | |||
53 | <assemblies> | 54 | <assemblies> |
54 | <include name="./bin/OpenSim.Framework.Tests.dll" /> | 55 | <include name="./bin/OpenSim.Framework.Tests.dll" /> |
55 | <include name="./bin/OpenSim.Framework.Servers.Tests.dll" /> | 56 | <include name="./bin/OpenSim.Framework.Servers.Tests.dll" /> |
57 | <include name="./bin/OpenSim.Region.ClientStack.LindenUDP.Tests.dll" /> | ||
56 | <include name="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" /> | 58 | <include name="./bin/OpenSim.Region.ScriptEngine.Shared.Tests.dll" /> |
57 | <include name="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" /> | 59 | <include name="./bin/OpenSim.Region.ScriptEngine.Shared.CodeTools.Tests.dll" /> |
58 | <include name="./bin/OpenSim.Region.Environment.Tests.dll" /> | 60 | <include name="./bin/OpenSim.Region.Environment.Tests.dll" /> |
diff --git a/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs new file mode 100644 index 0000000..5d8c79d --- /dev/null +++ b/OpenSim/Region/ClientStack/LindenUDP/Tests/BasicCircuitTests.cs | |||
@@ -0,0 +1,44 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSim Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | using NUnit.Framework; | ||
29 | |||
30 | namespace OpenSim.Region.ClientStack.LindenUDP.Tests | ||
31 | { | ||
32 | /// <summary> | ||
33 | /// This will contain basic tests for the LindenUDP client stack | ||
34 | /// </summary> | ||
35 | [TestFixture] | ||
36 | public class BasicCircuitTests | ||
37 | { | ||
38 | [Test] | ||
39 | public void TestHello() | ||
40 | { | ||
41 | // Nowt here yet | ||
42 | } | ||
43 | } | ||
44 | } | ||
diff --git a/prebuild.xml b/prebuild.xml index e530213..32a5ae1 100644 --- a/prebuild.xml +++ b/prebuild.xml | |||
@@ -943,6 +943,26 @@ | |||
943 | </Project> | 943 | </Project> |
944 | 944 | ||
945 | <!-- ClientStack Plugins --> | 945 | <!-- ClientStack Plugins --> |
946 | <Project name="OpenSim.Region.ClientStack.LindenUDP.Tests" path="OpenSim/Region/ClientStack/LindenUDP/Tests" type="Library"> | ||
947 | <Configuration name="Debug"> | ||
948 | <Options> | ||
949 | <OutputPath>../../../../../bin/</OutputPath> | ||
950 | </Options> | ||
951 | </Configuration> | ||
952 | <Configuration name="Release"> | ||
953 | <Options> | ||
954 | <OutputPath>../../../../../bin/</OutputPath> | ||
955 | </Options> | ||
956 | </Configuration> | ||
957 | |||
958 | <ReferencePath>../../../../../bin/</ReferencePath> | ||
959 | <Reference name="nunit.framework.dll" /> | ||
960 | |||
961 | <Files> | ||
962 | <Match pattern="*.cs" recurse="false"/> | ||
963 | </Files> | ||
964 | </Project> | ||
965 | |||
946 | <Project name="OpenSim.Region.ClientStack.LindenUDP" path="OpenSim/Region/ClientStack/LindenUDP" type="Library"> | 966 | <Project name="OpenSim.Region.ClientStack.LindenUDP" path="OpenSim/Region/ClientStack/LindenUDP" type="Library"> |
947 | <Configuration name="Debug"> | 967 | <Configuration name="Debug"> |
948 | <Options> | 968 | <Options> |
@@ -975,7 +995,7 @@ | |||
975 | <Reference name="log4net.dll"/> | 995 | <Reference name="log4net.dll"/> |
976 | 996 | ||
977 | <Files> | 997 | <Files> |
978 | <Match pattern="*.cs" recurse="true"/> | 998 | <Match pattern="*.cs" recurse="false"/> |
979 | </Files> | 999 | </Files> |
980 | </Project> | 1000 | </Project> |
981 | 1001 | ||