mirror of
https://github.com/opensim/opensim.git
synced 2026-08-10 03:06:05 +08:00
Merge branch 'presence-refactor' of ssh://opensimulator.org/var/git/opensim into presence-refactor
This commit is contained in:
@@ -73,17 +73,23 @@ namespace OpenSim.Data.Tests
|
||||
a2.Data = asset1;
|
||||
a3.Data = asset1;
|
||||
|
||||
a1.Metadata.ContentType = "application/octet-stream";
|
||||
a2.Metadata.ContentType = "application/octet-stream";
|
||||
a3.Metadata.ContentType = "application/octet-stream";
|
||||
|
||||
PropertyScrambler<AssetBase> scrambler = new PropertyScrambler<AssetBase>()
|
||||
.DontScramble(x => x.Data)
|
||||
.DontScramble(x => x.ID)
|
||||
.DontScramble(x => x.FullID)
|
||||
.DontScramble(x => x.Metadata.ID)
|
||||
.DontScramble(x => x.Metadata.ContentType)
|
||||
.DontScramble(x => x.Metadata.FullID);
|
||||
|
||||
scrambler.Scramble(a1);
|
||||
scrambler.Scramble(a2);
|
||||
scrambler.Scramble(a3);
|
||||
|
||||
|
||||
db.StoreAsset(a1);
|
||||
db.StoreAsset(a2);
|
||||
db.StoreAsset(a3);
|
||||
|
||||
Reference in New Issue
Block a user