aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tests
diff options
context:
space:
mode:
authorJeff Ames2008-02-05 19:44:27 +0000
committerJeff Ames2008-02-05 19:44:27 +0000
commit6ed5283bc06a62f38eb517e67b975832b603bf61 (patch)
treee5f635018789b73a99ddeca0883a68368fa5eece /OpenSim/Tests
parentCut down on the number of packets sent during terraforming. Terraforming shou... (diff)
downloadopensim-SC-6ed5283bc06a62f38eb517e67b975832b603bf61.zip
opensim-SC-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.gz
opensim-SC-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.bz2
opensim-SC-6ed5283bc06a62f38eb517e67b975832b603bf61.tar.xz
Converted logging to use log4net.
Changed LogBase to ConsoleBase, which handles console I/O. This is mostly an in-place conversion, so lots of refactoring can still be done.
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r--OpenSim/Tests/Inventory/TestInventory.cs4
-rw-r--r--OpenSim/Tests/UserServer/Stress/UserServerStressTest.cs2
2 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Tests/Inventory/TestInventory.cs b/OpenSim/Tests/Inventory/TestInventory.cs
index 697b335..e905dd8 100644
--- a/OpenSim/Tests/Inventory/TestInventory.cs
+++ b/OpenSim/Tests/Inventory/TestInventory.cs
@@ -52,10 +52,10 @@ namespace OpenSim.Test.Inventory
52 [TestFixtureSetUp] 52 [TestFixtureSetUp]
53 public void SetupInventoryTest() 53 public void SetupInventoryTest()
54 { 54 {
55
56 _agent_1_id = LLUUID.Random(); 55 _agent_1_id = LLUUID.Random();
57 56
58 MainLog.Instance = new LogBase("UnitTest.log", "TEST", null, false); 57 MainConsole.Instance = new ConsoleBase("TEST", null);
58
59// _dbPlugin = new SQLiteInventoryStore(); 59// _dbPlugin = new SQLiteInventoryStore();
60 _dbPlugin = new MySQLInventoryData(); 60 _dbPlugin = new MySQLInventoryData();
61 _dbPlugin.Initialise(); 61 _dbPlugin.Initialise();
diff --git a/OpenSim/Tests/UserServer/Stress/UserServerStressTest.cs b/OpenSim/Tests/UserServer/Stress/UserServerStressTest.cs
index b060559..a523d83 100644
--- a/OpenSim/Tests/UserServer/Stress/UserServerStressTest.cs
+++ b/OpenSim/Tests/UserServer/Stress/UserServerStressTest.cs
@@ -37,6 +37,8 @@ namespace OpenSim.Tests.UserServer.Stress
37 { 37 {
38 public static void Main(string[] args) 38 public static void Main(string[] args)
39 { 39 {
40 log4net.Config.XmlConfigurator.Configure();
41
40 System.Console.WriteLine("Aborting - not yet functional"); 42 System.Console.WriteLine("Aborting - not yet functional");
41 } 43 }
42 } 44 }