aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests
diff options
context:
space:
mode:
authorMelanie Thielker2008-11-26 12:23:56 +0000
committerMelanie Thielker2008-11-26 12:23:56 +0000
commitfdf5f55a5b0e8936277053d3d24faef23a8f3061 (patch)
tree1f6620272c0aec847d81026cd7457d7c8f23464d /OpenSim/Data/Tests
parentA migration to make the floats in prims table be doubles (diff)
downloadopensim-SC_OLD-fdf5f55a5b0e8936277053d3d24faef23a8f3061.zip
opensim-SC_OLD-fdf5f55a5b0e8936277053d3d24faef23a8f3061.tar.gz
opensim-SC_OLD-fdf5f55a5b0e8936277053d3d24faef23a8f3061.tar.bz2
opensim-SC_OLD-fdf5f55a5b0e8936277053d3d24faef23a8f3061.tar.xz
Yay for unit tests. Increased the type width of the prims and primshapes
tables, and changed the database modules to actually push these doubles down into the database layer.
Diffstat (limited to 'OpenSim/Data/Tests')
-rw-r--r--OpenSim/Data/Tests/BasicRegionTest.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs
index 4428e0d..fac0466 100644
--- a/OpenSim/Data/Tests/BasicRegionTest.cs
+++ b/OpenSim/Data/Tests/BasicRegionTest.cs
@@ -220,7 +220,7 @@ namespace OpenSim.Data.Tests
220 uint localid = localID+1; 220 uint localid = localID+1;
221 localID = localID + 1; 221 localID = localID + 1;
222 string name = "Adam West"; 222 string name = "Adam West";
223 byte material = (byte) random.Next(255); 223 byte material = (byte) random.Next(127);
224 ulong regionh = (ulong)random.NextDouble() * (ulong)random.Next(); 224 ulong regionh = (ulong)random.NextDouble() * (ulong)random.Next();
225 int pin = random.Next(); 225 int pin = random.Next();
226 Byte[] partsys = new byte[8]; 226 Byte[] partsys = new byte[8];
@@ -381,7 +381,7 @@ namespace OpenSim.Data.Tests
381 TaskInventoryDictionary dic = new TaskInventoryDictionary(); 381 TaskInventoryDictionary dic = new TaskInventoryDictionary();
382 localID = localID + 1; 382 localID = localID + 1;
383 string name = "West Adam"; 383 string name = "West Adam";
384 byte material = (byte) random.Next(255); 384 byte material = (byte) random.Next(127);
385 ulong regionh = (ulong)random.NextDouble() * (ulong)random.Next(); 385 ulong regionh = (ulong)random.NextDouble() * (ulong)random.Next();
386 int pin = random.Next(); 386 int pin = random.Next();
387 Byte[] partsys = new byte[8]; 387 Byte[] partsys = new byte[8];