aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2009-03-27 16:33:15 +0000
committerJustin Clarke Casey2009-03-27 16:33:15 +0000
commit355247c2b257cd6f0688c9b378008840f4d43632 (patch)
tree16fd0d170c8e7c93035792ae16afe986f2f5c1d9 /OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs
parentAdded the hg login procedure to the user server. (diff)
downloadopensim-SC-355247c2b257cd6f0688c9b378008840f4d43632.zip
opensim-SC-355247c2b257cd6f0688c9b378008840f4d43632.tar.gz
opensim-SC-355247c2b257cd6f0688c9b378008840f4d43632.tar.bz2
opensim-SC-355247c2b257cd6f0688c9b378008840f4d43632.tar.xz
* For each test in OpenSim.Region.Framework.Scenes.Tests, tell the console when the test starts
* This is to help identify which test is freezing, since all the tests in the previous dll (coremodules) succeed * Unfortunately they are not executed in the same order in which the results are listed in Bamboo
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs b/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs
index 2c6ccc8..480abc6 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Reflection;
29using System.Threading; 30using System.Threading;
30using System.Text; 31using System.Text;
31using System.Collections.Generic; 32using System.Collections.Generic;
@@ -50,6 +51,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
50 [Test] 51 [Test]
51 public void T010_AddObjects() 52 public void T010_AddObjects()
52 { 53 {
54 Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
55
53 random = new Random(); 56 random = new Random();
54 SceneObjectGroup found; 57 SceneObjectGroup found;
55 EntityManager entman = new EntityManager(); 58 EntityManager entman = new EntityManager();
@@ -77,12 +80,14 @@ namespace OpenSim.Region.Framework.Scenes.Tests
77 Assert.That(entman.ContainsKey(obj1), Is.False); 80 Assert.That(entman.ContainsKey(obj1), Is.False);
78 Assert.That(entman.ContainsKey(li1), Is.False); 81 Assert.That(entman.ContainsKey(li1), Is.False);
79 Assert.That(entman.ContainsKey(obj2), Is.False); 82 Assert.That(entman.ContainsKey(obj2), Is.False);
80 Assert.That(entman.ContainsKey(li2), Is.False); 83 Assert.That(entman.ContainsKey(li2), Is.False);
81 } 84 }
82 85
83 [Test] 86 [Test]
84 public void T011_ThreadAddRemoveTest() 87 public void T011_ThreadAddRemoveTest()
85 { 88 {
89 Console.WriteLine("Beginning test {0}", MethodBase.GetCurrentMethod());
90
86 // This test adds and removes with mutiple threads, attempting to break the 91 // This test adds and removes with mutiple threads, attempting to break the
87 // uuid and localid dictionary coherence. 92 // uuid and localid dictionary coherence.
88 EntityManager entman = new EntityManager(); 93 EntityManager entman = new EntityManager();