aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs
diff options
context:
space:
mode:
authorlbsa712009-04-09 20:06:27 +0000
committerlbsa712009-04-09 20:06:27 +0000
commit6af0751cc5d276370c7c4ce2a0ee064b1106a7bc (patch)
tree8fae62569ca8bfd02d55a783893b2f412dae89e5 /OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs
parent* Remove Autooar module pending it's migration to the forge (diff)
downloadopensim-SC_OLD-6af0751cc5d276370c7c4ce2a0ee064b1106a7bc.zip
opensim-SC_OLD-6af0751cc5d276370c7c4ce2a0ee064b1106a7bc.tar.gz
opensim-SC_OLD-6af0751cc5d276370c7c4ce2a0ee064b1106a7bc.tar.bz2
opensim-SC_OLD-6af0751cc5d276370c7c4ce2a0ee064b1106a7bc.tar.xz
* Tagged long running tests with LongRunningAttribute.
* Now, the 144 unit tests takes roughly as long time to run (16s on my laptop) that the 10 long running takes. The database tests takes forever. * Feel free to run the unit tests as you code, and the rest before commit.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs b/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs
index 480abc6..d1ef686 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs
@@ -37,11 +37,12 @@ using OpenMetaverse;
37using OpenSim.Framework; 37using OpenSim.Framework;
38using OpenSim.Framework.Communications; 38using OpenSim.Framework.Communications;
39using OpenSim.Region.Framework.Scenes; 39using OpenSim.Region.Framework.Scenes;
40using OpenSim.Tests.Common;
40using OpenSim.Tests.Common.Setup; 41using OpenSim.Tests.Common.Setup;
41 42
42namespace OpenSim.Region.Framework.Scenes.Tests 43namespace OpenSim.Region.Framework.Scenes.Tests
43{ 44{
44 [TestFixture] 45 [TestFixture, LongRunning]
45 public class EntityManagerTests 46 public class EntityManagerTests
46 { 47 {
47 static public Random random; 48 static public Random random;
@@ -51,7 +52,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
51 [Test] 52 [Test]
52 public void T010_AddObjects() 53 public void T010_AddObjects()
53 { 54 {
54 Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod()); 55 // Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
55 56
56 random = new Random(); 57 random = new Random();
57 SceneObjectGroup found; 58 SceneObjectGroup found;
@@ -86,7 +87,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests
86 [Test] 87 [Test]
87 public void T011_ThreadAddRemoveTest() 88 public void T011_ThreadAddRemoveTest()
88 { 89 {
89 Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod()); 90 // Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
90 91
91 // This test adds and removes with mutiple threads, attempting to break the 92 // This test adds and removes with mutiple threads, attempting to break the
92 // uuid and localid dictionary coherence. 93 // uuid and localid dictionary coherence.