From 76c0935ec744f2d230489398f879eb7f42b11d37 Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Tue, 17 Feb 2009 01:36:44 +0000 Subject: - 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 --- OpenSim/Data/Tests/BasicAssetTest.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'OpenSim/Data/Tests') 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 db.CreateAsset(a3); AssetBase a1a = db.FetchAsset(uuid1); - Assert.That(a1.Metadata.ID, Is.EqualTo(a1a.Metadata.ID)); - Assert.That(a1.Metadata.Name, Is.EqualTo(a1a.Metadata.Name)); + Assert.That(a1.ID, Is.EqualTo(a1a.ID)); + Assert.That(a1.Name, Is.EqualTo(a1a.Name)); AssetBase a2a = db.FetchAsset(uuid2); - Assert.That(a2.Metadata.ID, Is.EqualTo(a2a.Metadata.ID)); - Assert.That(a2.Metadata.Name, Is.EqualTo(a2a.Metadata.Name)); + Assert.That(a2.ID, Is.EqualTo(a2a.ID)); + Assert.That(a2.Name, Is.EqualTo(a2a.Name)); AssetBase a3a = db.FetchAsset(uuid3); - Assert.That(a3.Metadata.ID, Is.EqualTo(a3a.Metadata.ID)); - Assert.That(a3.Metadata.Name, Is.EqualTo(a3a.Metadata.Name)); + Assert.That(a3.ID, Is.EqualTo(a3a.ID)); + Assert.That(a3.Name, Is.EqualTo(a3a.Name)); } [Test] -- cgit v1.1