diff options
author | Mike Mazur | 2009-02-17 01:36:44 +0000 |
---|---|---|
committer | Mike Mazur | 2009-02-17 01:36:44 +0000 |
commit | 76c0935ec744f2d230489398f879eb7f42b11d37 (patch) | |
tree | a68253554e3899f10b6c341db369ce4a029dfaa5 /OpenSim/Data/Tests/BasicAssetTest.cs | |
parent | Major change to how appearance is managed, including changes in login and use... (diff) | |
download | opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.zip opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.tar.gz opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.tar.bz2 opensim-SC_OLD-76c0935ec744f2d230489398f879eb7f42b11d37.tar.xz |
- remove the Metadata property from AssetBase and return all previous
properties as before
- prefix private variables with m_ in AssetBase.cs
- related to Mantis #3122, as mentioned in
https://lists.berlios.de/pipermail/opensim-dev/2009-February/005088.html
- all services will likely need to be upgraded after this commit
Diffstat (limited to 'OpenSim/Data/Tests/BasicAssetTest.cs')
-rw-r--r-- | OpenSim/Data/Tests/BasicAssetTest.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Data/Tests/BasicAssetTest.cs b/OpenSim/Data/Tests/BasicAssetTest.cs index 4d2bbc7..500b646 100644 --- a/OpenSim/Data/Tests/BasicAssetTest.cs +++ b/OpenSim/Data/Tests/BasicAssetTest.cs | |||
@@ -83,16 +83,16 @@ namespace OpenSim.Data.Tests | |||
83 | db.CreateAsset(a3); | 83 | db.CreateAsset(a3); |
84 | 84 | ||
85 | AssetBase a1a = db.FetchAsset(uuid1); | 85 | AssetBase a1a = db.FetchAsset(uuid1); |
86 | Assert.That(a1.Metadata.ID, Is.EqualTo(a1a.Metadata.ID)); | 86 | Assert.That(a1.ID, Is.EqualTo(a1a.ID)); |
87 | Assert.That(a1.Metadata.Name, Is.EqualTo(a1a.Metadata.Name)); | 87 | Assert.That(a1.Name, Is.EqualTo(a1a.Name)); |
88 | 88 | ||
89 | AssetBase a2a = db.FetchAsset(uuid2); | 89 | AssetBase a2a = db.FetchAsset(uuid2); |
90 | Assert.That(a2.Metadata.ID, Is.EqualTo(a2a.Metadata.ID)); | 90 | Assert.That(a2.ID, Is.EqualTo(a2a.ID)); |
91 | Assert.That(a2.Metadata.Name, Is.EqualTo(a2a.Metadata.Name)); | 91 | Assert.That(a2.Name, Is.EqualTo(a2a.Name)); |
92 | 92 | ||
93 | AssetBase a3a = db.FetchAsset(uuid3); | 93 | AssetBase a3a = db.FetchAsset(uuid3); |
94 | Assert.That(a3.Metadata.ID, Is.EqualTo(a3a.Metadata.ID)); | 94 | Assert.That(a3.ID, Is.EqualTo(a3a.ID)); |
95 | Assert.That(a3.Metadata.Name, Is.EqualTo(a3a.Metadata.Name)); | 95 | Assert.That(a3.Name, Is.EqualTo(a3a.Name)); |
96 | } | 96 | } |
97 | 97 | ||
98 | [Test] | 98 | [Test] |