aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorlbsa712009-04-09 20:06:27 +0000
committerlbsa712009-04-09 20:06:27 +0000
commit6af0751cc5d276370c7c4ce2a0ee064b1106a7bc (patch)
tree8fae62569ca8bfd02d55a783893b2f412dae89e5 /OpenSim/Region/CoreModules
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/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs3
-rw-r--r--OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs6
2 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
index bd8d325..c140ec0 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Archiver/Tests/InventoryArchiverTests.cs
@@ -40,11 +40,12 @@ using OpenSim.Framework.Communications.Cache;
40using OpenSim.Region.CoreModules.Avatar.Inventory.Archiver; 40using OpenSim.Region.CoreModules.Avatar.Inventory.Archiver;
41using OpenSim.Region.CoreModules.World.Archiver; 41using OpenSim.Region.CoreModules.World.Archiver;
42using OpenSim.Region.Framework.Scenes; 42using OpenSim.Region.Framework.Scenes;
43using OpenSim.Tests.Common;
43using OpenSim.Tests.Common.Setup; 44using OpenSim.Tests.Common.Setup;
44 45
45namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests 46namespace OpenSim.Region.CoreModules.Avatar.Inventory.Archiver.Tests
46{ 47{
47 [TestFixture] 48 [TestFixture, LongRunning]
48 public class InventoryArchiverTests 49 public class InventoryArchiverTests
49 { 50 {
50 private void SaveCompleted( 51 private void SaveCompleted(
diff --git a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs
index 6a64ff1..04c3289 100644
--- a/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs
+++ b/OpenSim/Region/CoreModules/World/Archiver/Tests/ArchiverTests.cs
@@ -38,11 +38,12 @@ using OpenSim.Framework.Serialization;
38using OpenSim.Region.CoreModules.World.Serialiser; 38using OpenSim.Region.CoreModules.World.Serialiser;
39using OpenSim.Region.CoreModules.World.Terrain; 39using OpenSim.Region.CoreModules.World.Terrain;
40using OpenSim.Region.Framework.Scenes; 40using OpenSim.Region.Framework.Scenes;
41using OpenSim.Tests.Common;
41using OpenSim.Tests.Common.Setup; 42using OpenSim.Tests.Common.Setup;
42 43
43namespace OpenSim.Region.CoreModules.World.Archiver.Tests 44namespace OpenSim.Region.CoreModules.World.Archiver.Tests
44{ 45{
45 [TestFixture] 46 [TestFixture, LongRunning]
46 public class ArchiverTests 47 public class ArchiverTests
47 { 48 {
48 private void SaveCompleted(string errorMessage) 49 private void SaveCompleted(string errorMessage)
@@ -230,7 +231,8 @@ namespace OpenSim.Region.CoreModules.World.Archiver.Tests
230 /// <summary> 231 /// <summary>
231 /// Test merging a V0.2 OpenSim Region Archive into an existing scene 232 /// Test merging a V0.2 OpenSim Region Archive into an existing scene
232 /// </summary> 233 /// </summary>
233 ///[Test] 234
235 [Test]
234 public void TestMergeOarV0p2() 236 public void TestMergeOarV0p2()
235 { 237 {
236 //XmlConfigurator.Configure(); 238 //XmlConfigurator.Configure();