aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/Tests')
-rw-r--r--OpenSim/Data/Tests/BasicAssetTest.cs8
-rw-r--r--OpenSim/Data/Tests/BasicEstateTest.cs9
-rw-r--r--OpenSim/Data/Tests/BasicGridTest.cs6
-rw-r--r--OpenSim/Data/Tests/BasicInventoryTest.cs8
-rw-r--r--OpenSim/Data/Tests/BasicRegionTest.cs13
-rw-r--r--OpenSim/Data/Tests/BasicUserTest.cs7
6 files changed, 20 insertions, 31 deletions
diff --git a/OpenSim/Data/Tests/BasicAssetTest.cs b/OpenSim/Data/Tests/BasicAssetTest.cs
index 10cd35f..4d2bbc7 100644
--- a/OpenSim/Data/Tests/BasicAssetTest.cs
+++ b/OpenSim/Data/Tests/BasicAssetTest.cs
@@ -26,13 +26,11 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using log4net.Config;
30using NUnit.Framework; 30using NUnit.Framework;
31using NUnit.Framework.SyntaxHelpers; 31using NUnit.Framework.SyntaxHelpers;
32using OpenSim.Data;
33using OpenSim.Framework;
34using OpenSim.Region.Framework.Scenes;
35using OpenMetaverse; 32using OpenMetaverse;
33using OpenSim.Framework;
36 34
37namespace OpenSim.Data.Tests 35namespace OpenSim.Data.Tests
38{ 36{
@@ -48,7 +46,7 @@ namespace OpenSim.Data.Tests
48 { 46 {
49 try 47 try
50 { 48 {
51 log4net.Config.XmlConfigurator.Configure(); 49 XmlConfigurator.Configure();
52 } 50 }
53 catch (Exception) 51 catch (Exception)
54 { 52 {
diff --git a/OpenSim/Data/Tests/BasicEstateTest.cs b/OpenSim/Data/Tests/BasicEstateTest.cs
index 325014b..24c25ec 100644
--- a/OpenSim/Data/Tests/BasicEstateTest.cs
+++ b/OpenSim/Data/Tests/BasicEstateTest.cs
@@ -26,14 +26,11 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using log4net.Config;
30using System.Drawing;
31using System.Text;
32using NUnit.Framework; 30using NUnit.Framework;
33using NUnit.Framework.SyntaxHelpers; 31using NUnit.Framework.SyntaxHelpers;
34using OpenSim.Framework;
35using OpenSim.Data;
36using OpenMetaverse; 32using OpenMetaverse;
33using OpenSim.Framework;
37using OpenSim.Region.Framework.Interfaces; 34using OpenSim.Region.Framework.Interfaces;
38 35
39namespace OpenSim.Data.Tests 36namespace OpenSim.Data.Tests
@@ -49,7 +46,7 @@ namespace OpenSim.Data.Tests
49 { 46 {
50 try 47 try
51 { 48 {
52 log4net.Config.XmlConfigurator.Configure(); 49 XmlConfigurator.Configure();
53 } 50 }
54 catch (Exception) 51 catch (Exception)
55 { 52 {
diff --git a/OpenSim/Data/Tests/BasicGridTest.cs b/OpenSim/Data/Tests/BasicGridTest.cs
index adf3879..e3256ff 100644
--- a/OpenSim/Data/Tests/BasicGridTest.cs
+++ b/OpenSim/Data/Tests/BasicGridTest.cs
@@ -28,11 +28,9 @@
28using System; 28using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Text; 30using System.Text;
31using log4net.Config;
31using NUnit.Framework; 32using NUnit.Framework;
32using NUnit.Framework.SyntaxHelpers; 33using NUnit.Framework.SyntaxHelpers;
33using OpenSim.Data;
34using OpenSim.Framework;
35using OpenSim.Region.Framework.Scenes;
36using OpenMetaverse; 34using OpenMetaverse;
37 35
38namespace OpenSim.Data.Tests 36namespace OpenSim.Data.Tests
@@ -49,7 +47,7 @@ namespace OpenSim.Data.Tests
49 { 47 {
50 try 48 try
51 { 49 {
52 log4net.Config.XmlConfigurator.Configure(); 50 XmlConfigurator.Configure();
53 } 51 }
54 catch (Exception) 52 catch (Exception)
55 { 53 {
diff --git a/OpenSim/Data/Tests/BasicInventoryTest.cs b/OpenSim/Data/Tests/BasicInventoryTest.cs
index 1e13ec4..1b8a5de 100644
--- a/OpenSim/Data/Tests/BasicInventoryTest.cs
+++ b/OpenSim/Data/Tests/BasicInventoryTest.cs
@@ -26,13 +26,11 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Collections.Generic; 29using log4net.Config;
30using NUnit.Framework; 30using NUnit.Framework;
31using NUnit.Framework.SyntaxHelpers; 31using NUnit.Framework.SyntaxHelpers;
32using OpenSim.Framework;
33using OpenSim.Data;
34using OpenSim.Region.Framework.Scenes;
35using OpenMetaverse; 32using OpenMetaverse;
33using OpenSim.Framework;
36 34
37namespace OpenSim.Data.Tests 35namespace OpenSim.Data.Tests
38{ 36{
@@ -67,7 +65,7 @@ namespace OpenSim.Data.Tests
67 { 65 {
68 try 66 try
69 { 67 {
70 log4net.Config.XmlConfigurator.Configure(); 68 XmlConfigurator.Configure();
71 } 69 }
72 catch (Exception) 70 catch (Exception)
73 { 71 {
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs
index d60dadd..8e58443 100644
--- a/OpenSim/Data/Tests/BasicRegionTest.cs
+++ b/OpenSim/Data/Tests/BasicRegionTest.cs
@@ -29,14 +29,13 @@ using System;
29using System.Collections.Generic; 29using System.Collections.Generic;
30using System.Drawing; 30using System.Drawing;
31using System.Text; 31using System.Text;
32using log4net.Config;
32using NUnit.Framework; 33using NUnit.Framework;
33using NUnit.Framework.SyntaxHelpers; 34using NUnit.Framework.SyntaxHelpers;
35using OpenMetaverse;
34using OpenSim.Framework; 36using OpenSim.Framework;
35using OpenSim.Data;
36using OpenSim.Region.Framework.Interfaces; 37using OpenSim.Region.Framework.Interfaces;
37using OpenSim.Region.Framework.Scenes; 38using OpenSim.Region.Framework.Scenes;
38using OpenSim.Region.CoreModules.World.Land;
39using OpenMetaverse;
40 39
41namespace OpenSim.Data.Tests 40namespace OpenSim.Data.Tests
42{ 41{
@@ -71,7 +70,7 @@ namespace OpenSim.Data.Tests
71 { 70 {
72 try 71 try
73 { 72 {
74 log4net.Config.XmlConfigurator.Configure(); 73 XmlConfigurator.Configure();
75 } 74 }
76 catch (Exception) 75 catch (Exception)
77 { 76 {
@@ -140,7 +139,7 @@ namespace OpenSim.Data.Tests
140 } 139 }
141 catch (Exception e) 140 catch (Exception e)
142 { 141 {
143 System.Console.WriteLine("Exception in storing object {0} {1}", sog.ToString(), e); 142 Console.WriteLine("Exception in storing object {0} {1}", sog.ToString(), e);
144 Assert.Fail(); 143 Assert.Fail();
145 } 144 }
146 145
@@ -150,7 +149,7 @@ namespace OpenSim.Data.Tests
150 } 149 }
151 catch (Exception e) 150 catch (Exception e)
152 { 151 {
153 System.Console.WriteLine("Exception in storing object {0} {1}", sog2.ToString(), e); 152 Console.WriteLine("Exception in storing object {0} {1}", sog2.ToString(), e);
154 Assert.Fail(); 153 Assert.Fail();
155 } 154 }
156 155
@@ -651,7 +650,7 @@ namespace OpenSim.Data.Tests
651 } 650 }
652 651
653 [Test] 652 [Test]
654 [ExpectedException(typeof(System.ArgumentException))] 653 [ExpectedException(typeof(ArgumentException))]
655 public void T026_PrimInventoryMany() 654 public void T026_PrimInventoryMany()
656 { 655 {
657 UUID i1,i2,i3,i4; 656 UUID i1,i2,i3,i4;
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs
index 5464ade..f0a90a9 100644
--- a/OpenSim/Data/Tests/BasicUserTest.cs
+++ b/OpenSim/Data/Tests/BasicUserTest.cs
@@ -30,12 +30,11 @@
30using System; 30using System;
31using System.Collections.Generic; 31using System.Collections.Generic;
32using System.Text; 32using System.Text;
33using log4net.Config;
33using NUnit.Framework; 34using NUnit.Framework;
34using NUnit.Framework.SyntaxHelpers; 35using NUnit.Framework.SyntaxHelpers;
35using OpenSim.Data;
36using OpenSim.Framework;
37using OpenSim.Region.Framework.Scenes;
38using OpenMetaverse; 36using OpenMetaverse;
37using OpenSim.Framework;
39 38
40namespace OpenSim.Data.Tests 39namespace OpenSim.Data.Tests
41{ 40{
@@ -71,7 +70,7 @@ namespace OpenSim.Data.Tests
71 { 70 {
72 try 71 try
73 { 72 {
74 log4net.Config.XmlConfigurator.Configure(); 73 XmlConfigurator.Configure();
75 } 74 }
76 catch (Exception) 75 catch (Exception)
77 { 76 {