aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDiva Canto2010-02-21 17:59:00 -0800
committerDiva Canto2010-02-21 17:59:00 -0800
commitb92645ac5647d6c12f0ff2af214c6c4ef6e58680 (patch)
tree1d8f24cbd1005616ec053e1542e9af6e997f6d3c /OpenSim
parentDeleted obsolete files in the Data layer. Compiles. (diff)
downloadopensim-SC-b92645ac5647d6c12f0ff2af214c6c4ef6e58680.zip
opensim-SC-b92645ac5647d6c12f0ff2af214c6c4ef6e58680.tar.gz
opensim-SC-b92645ac5647d6c12f0ff2af214c6c4ef6e58680.tar.bz2
opensim-SC-b92645ac5647d6c12f0ff2af214c6c4ef6e58680.tar.xz
MySQL tests pass, except T016_RandomSogWithSceneParts. Total mystery as to why that test doesn't show in panda.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Data/Tests/BasicAssetTest.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicAssetTest.cs b/OpenSim/Data/Tests/BasicAssetTest.cs
index 25aed61..967d70d 100644
--- a/OpenSim/Data/Tests/BasicAssetTest.cs
+++ b/OpenSim/Data/Tests/BasicAssetTest.cs
@@ -73,17 +73,23 @@ namespace OpenSim.Data.Tests
73 a2.Data = asset1; 73 a2.Data = asset1;
74 a3.Data = asset1; 74 a3.Data = asset1;
75 75
76 a1.Metadata.ContentType = "application/octet-stream";
77 a2.Metadata.ContentType = "application/octet-stream";
78 a3.Metadata.ContentType = "application/octet-stream";
79
76 PropertyScrambler<AssetBase> scrambler = new PropertyScrambler<AssetBase>() 80 PropertyScrambler<AssetBase> scrambler = new PropertyScrambler<AssetBase>()
77 .DontScramble(x => x.Data) 81 .DontScramble(x => x.Data)
78 .DontScramble(x => x.ID) 82 .DontScramble(x => x.ID)
79 .DontScramble(x => x.FullID) 83 .DontScramble(x => x.FullID)
80 .DontScramble(x => x.Metadata.ID) 84 .DontScramble(x => x.Metadata.ID)
85 .DontScramble(x => x.Metadata.ContentType)
81 .DontScramble(x => x.Metadata.FullID); 86 .DontScramble(x => x.Metadata.FullID);
82 87
83 scrambler.Scramble(a1); 88 scrambler.Scramble(a1);
84 scrambler.Scramble(a2); 89 scrambler.Scramble(a2);
85 scrambler.Scramble(a3); 90 scrambler.Scramble(a3);
86 91
92
87 db.StoreAsset(a1); 93 db.StoreAsset(a1);
88 db.StoreAsset(a2); 94 db.StoreAsset(a2);
89 db.StoreAsset(a3); 95 db.StoreAsset(a3);