diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/EntityManagerTests.cs | 7 |
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 | ||
28 | using System; | 28 | using System; |
29 | using System.Reflection; | ||
29 | using System.Threading; | 30 | using System.Threading; |
30 | using System.Text; | 31 | using System.Text; |
31 | using System.Collections.Generic; | 32 | using 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(); |