aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data
diff options
context:
space:
mode:
authorSean Dague2008-09-19 20:53:42 +0000
committerSean Dague2008-09-19 20:53:42 +0000
commit6dd2841ed8f52f757b9fc8d07b0a07bac3bd9293 (patch)
treef9b16baa61b71039c6a683cf82923027d0a0fde3 /OpenSim/Data
parent* minor: eliminate the current warnings (diff)
downloadopensim-SC_OLD-6dd2841ed8f52f757b9fc8d07b0a07bac3bd9293.zip
opensim-SC_OLD-6dd2841ed8f52f757b9fc8d07b0a07bac3bd9293.tar.gz
opensim-SC_OLD-6dd2841ed8f52f757b9fc8d07b0a07bac3bd9293.tar.bz2
opensim-SC_OLD-6dd2841ed8f52f757b9fc8d07b0a07bac3bd9293.tar.xz
add in bits to attempt to enable log4net on these tests to help when debugging
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/Tests/BasicAssetTest.cs9
-rw-r--r--OpenSim/Data/Tests/BasicInventoryTest.cs9
-rw-r--r--OpenSim/Data/Tests/BasicUserTest.cs9
3 files changed, 27 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicAssetTest.cs b/OpenSim/Data/Tests/BasicAssetTest.cs
index 47c25a1..e40bccb 100644
--- a/OpenSim/Data/Tests/BasicAssetTest.cs
+++ b/OpenSim/Data/Tests/BasicAssetTest.cs
@@ -45,6 +45,15 @@ namespace OpenSim.Data.Tests
45 45
46 public void SuperInit() 46 public void SuperInit()
47 { 47 {
48 try
49 {
50 log4net.Config.XmlConfigurator.Configure();
51 }
52 catch (Exception)
53 {
54 // I don't care, just leave log4net off
55 }
56
48 uuid1 = UUID.Random(); 57 uuid1 = UUID.Random();
49 uuid2 = UUID.Random(); 58 uuid2 = UUID.Random();
50 uuid3 = UUID.Random(); 59 uuid3 = UUID.Random();
diff --git a/OpenSim/Data/Tests/BasicInventoryTest.cs b/OpenSim/Data/Tests/BasicInventoryTest.cs
index b871c4e..ea8e4e8 100644
--- a/OpenSim/Data/Tests/BasicInventoryTest.cs
+++ b/OpenSim/Data/Tests/BasicInventoryTest.cs
@@ -65,6 +65,15 @@ namespace OpenSim.Data.Tests
65 65
66 public void SuperInit() 66 public void SuperInit()
67 { 67 {
68 try
69 {
70 log4net.Config.XmlConfigurator.Configure();
71 }
72 catch (Exception)
73 {
74 // I don't care, just leave log4net off
75 }
76
68 folder1 = UUID.Random(); 77 folder1 = UUID.Random();
69 folder2 = UUID.Random(); 78 folder2 = UUID.Random();
70 folder3 = UUID.Random(); 79 folder3 = UUID.Random();
diff --git a/OpenSim/Data/Tests/BasicUserTest.cs b/OpenSim/Data/Tests/BasicUserTest.cs
index 9e79193..9587d86 100644
--- a/OpenSim/Data/Tests/BasicUserTest.cs
+++ b/OpenSim/Data/Tests/BasicUserTest.cs
@@ -45,6 +45,15 @@ namespace OpenSim.Data.Tests
45 45
46 public void SuperInit() 46 public void SuperInit()
47 { 47 {
48 try
49 {
50 log4net.Config.XmlConfigurator.Configure();
51 }
52 catch (Exception)
53 {
54 // I don't care, just leave log4net off
55 }
56
48 uuid1 = UUID.Random(); 57 uuid1 = UUID.Random();
49 uuid2 = UUID.Random(); 58 uuid2 = UUID.Random();
50 uuid3 = UUID.Random(); 59 uuid3 = UUID.Random();