aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-01-25 17:37:18 +0000
committerJustin Clarke Casey2008-01-25 17:37:18 +0000
commitf5340b647073879431d194bce30b77adef7ba02a (patch)
tree1699fad6d99721a38a51aa2300d3045fa7eeb154
parent* Changing && to || as suggested by dirk and ChrisD, also looks sensible to me (diff)
downloadopensim-SC_OLD-f5340b647073879431d194bce30b77adef7ba02a.zip
opensim-SC_OLD-f5340b647073879431d194bce30b77adef7ba02a.tar.gz
opensim-SC_OLD-f5340b647073879431d194bce30b77adef7ba02a.tar.bz2
opensim-SC_OLD-f5340b647073879431d194bce30b77adef7ba02a.tar.xz
* Stubbed out beginnings of a user server stress test
* Does absolutely nothing at the moment
-rw-r--r--OpenSim/Tests/UserServer/Stress/UserServerStressTest.cs43
-rw-r--r--prebuild.xml30
2 files changed, 62 insertions, 11 deletions
diff --git a/OpenSim/Tests/UserServer/Stress/UserServerStressTest.cs b/OpenSim/Tests/UserServer/Stress/UserServerStressTest.cs
new file mode 100644
index 0000000..b060559
--- /dev/null
+++ b/OpenSim/Tests/UserServer/Stress/UserServerStressTest.cs
@@ -0,0 +1,43 @@
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
29using System;
30
31namespace OpenSim.Tests.UserServer.Stress
32{
33 /// <summary>
34 /// In the future this class will programatically stress test the user server
35 /// </summary>
36 public class UserServerStressTest
37 {
38 public static void Main(string[] args)
39 {
40 System.Console.WriteLine("Aborting - not yet functional");
41 }
42 }
43}
diff --git a/prebuild.xml b/prebuild.xml
index ba7285f..d91aed5 100644
--- a/prebuild.xml
+++ b/prebuild.xml
@@ -1294,6 +1294,25 @@
1294 </Files> 1294 </Files>
1295 </Project> 1295 </Project>
1296 1296
1297 <!-- Tests -->
1298 <Project name="UserServerStressTest" path="OpenSim/Tests/UserServer/Stress" type="Exe">
1299 <Configuration name="Debug">
1300 <Options>
1301 <OutputPath>../../../../bin/tests/stress</OutputPath>
1302 </Options>
1303 </Configuration>
1304 <Configuration name="Release">
1305 <Options>
1306 <OutputPath>../../../../bin/tests/stress</OutputPath>
1307 </Options>
1308 </Configuration>
1309
1310 <ReferencePath>../../../../bin/tests/stress</ReferencePath>
1311 <Reference name="System" localCopy="false"/>
1312 <Files>
1313 <Match pattern="*.cs" recurse="true"/>
1314 </Files>
1315 </Project>
1297 1316
1298 1317
1299 <!-- Tools --> 1318 <!-- Tools -->
@@ -1335,8 +1354,6 @@
1335 </Files> 1354 </Files>
1336 </Project> 1355 </Project>
1337 1356
1338
1339
1340 </Solution> 1357 </Solution>
1341 1358
1342 1359
@@ -1396,12 +1413,3 @@
1396 1413
1397 </Solution> 1414 </Solution>
1398</Prebuild> 1415</Prebuild>
1399
1400
1401
1402
1403
1404
1405
1406
1407