diff options
author | lbsa71 | 2009-02-12 09:53:12 +0000 |
---|---|---|
committer | lbsa71 | 2009-02-12 09:53:12 +0000 |
commit | 801da4346aeb3c08969c4845f5c595135a64470a (patch) | |
tree | 2f06e24c72e0d513c8e4c6aa9b75cd2c7b50f393 /OpenSim/Data/Tests | |
parent | Thanks Kitto Flora for a patch that adds automatic min fly height to ODE - Ma... (diff) | |
download | opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.zip opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.gz opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.bz2 opensim-SC_OLD-801da4346aeb3c08969c4845f5c595135a64470a.tar.xz |
* optimized usings.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/Tests/BasicAssetTest.cs | 8 | ||||
-rw-r--r-- | OpenSim/Data/Tests/BasicEstateTest.cs | 9 | ||||
-rw-r--r-- | OpenSim/Data/Tests/BasicGridTest.cs | 6 | ||||
-rw-r--r-- | OpenSim/Data/Tests/BasicInventoryTest.cs | 8 | ||||
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 13 | ||||
-rw-r--r-- | OpenSim/Data/Tests/BasicUserTest.cs | 7 |
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 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using log4net.Config; |
30 | using NUnit.Framework; | 30 | using NUnit.Framework; |
31 | using NUnit.Framework.SyntaxHelpers; | 31 | using NUnit.Framework.SyntaxHelpers; |
32 | using OpenSim.Data; | ||
33 | using OpenSim.Framework; | ||
34 | using OpenSim.Region.Framework.Scenes; | ||
35 | using OpenMetaverse; | 32 | using OpenMetaverse; |
33 | using OpenSim.Framework; | ||
36 | 34 | ||
37 | namespace OpenSim.Data.Tests | 35 | namespace 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 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using log4net.Config; |
30 | using System.Drawing; | ||
31 | using System.Text; | ||
32 | using NUnit.Framework; | 30 | using NUnit.Framework; |
33 | using NUnit.Framework.SyntaxHelpers; | 31 | using NUnit.Framework.SyntaxHelpers; |
34 | using OpenSim.Framework; | ||
35 | using OpenSim.Data; | ||
36 | using OpenMetaverse; | 32 | using OpenMetaverse; |
33 | using OpenSim.Framework; | ||
37 | using OpenSim.Region.Framework.Interfaces; | 34 | using OpenSim.Region.Framework.Interfaces; |
38 | 35 | ||
39 | namespace OpenSim.Data.Tests | 36 | namespace 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 @@ | |||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Text; | 30 | using System.Text; |
31 | using log4net.Config; | ||
31 | using NUnit.Framework; | 32 | using NUnit.Framework; |
32 | using NUnit.Framework.SyntaxHelpers; | 33 | using NUnit.Framework.SyntaxHelpers; |
33 | using OpenSim.Data; | ||
34 | using OpenSim.Framework; | ||
35 | using OpenSim.Region.Framework.Scenes; | ||
36 | using OpenMetaverse; | 34 | using OpenMetaverse; |
37 | 35 | ||
38 | namespace OpenSim.Data.Tests | 36 | namespace 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 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections.Generic; | 29 | using log4net.Config; |
30 | using NUnit.Framework; | 30 | using NUnit.Framework; |
31 | using NUnit.Framework.SyntaxHelpers; | 31 | using NUnit.Framework.SyntaxHelpers; |
32 | using OpenSim.Framework; | ||
33 | using OpenSim.Data; | ||
34 | using OpenSim.Region.Framework.Scenes; | ||
35 | using OpenMetaverse; | 32 | using OpenMetaverse; |
33 | using OpenSim.Framework; | ||
36 | 34 | ||
37 | namespace OpenSim.Data.Tests | 35 | namespace 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; | |||
29 | using System.Collections.Generic; | 29 | using System.Collections.Generic; |
30 | using System.Drawing; | 30 | using System.Drawing; |
31 | using System.Text; | 31 | using System.Text; |
32 | using log4net.Config; | ||
32 | using NUnit.Framework; | 33 | using NUnit.Framework; |
33 | using NUnit.Framework.SyntaxHelpers; | 34 | using NUnit.Framework.SyntaxHelpers; |
35 | using OpenMetaverse; | ||
34 | using OpenSim.Framework; | 36 | using OpenSim.Framework; |
35 | using OpenSim.Data; | ||
36 | using OpenSim.Region.Framework.Interfaces; | 37 | using OpenSim.Region.Framework.Interfaces; |
37 | using OpenSim.Region.Framework.Scenes; | 38 | using OpenSim.Region.Framework.Scenes; |
38 | using OpenSim.Region.CoreModules.World.Land; | ||
39 | using OpenMetaverse; | ||
40 | 39 | ||
41 | namespace OpenSim.Data.Tests | 40 | namespace 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 @@ | |||
30 | using System; | 30 | using System; |
31 | using System.Collections.Generic; | 31 | using System.Collections.Generic; |
32 | using System.Text; | 32 | using System.Text; |
33 | using log4net.Config; | ||
33 | using NUnit.Framework; | 34 | using NUnit.Framework; |
34 | using NUnit.Framework.SyntaxHelpers; | 35 | using NUnit.Framework.SyntaxHelpers; |
35 | using OpenSim.Data; | ||
36 | using OpenSim.Framework; | ||
37 | using OpenSim.Region.Framework.Scenes; | ||
38 | using OpenMetaverse; | 36 | using OpenMetaverse; |
37 | using OpenSim.Framework; | ||
39 | 38 | ||
40 | namespace OpenSim.Data.Tests | 39 | namespace 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 | { |