diff options
Diffstat (limited to 'OpenSim/Data/Tests/PropertyCompareConstraint.cs')
-rw-r--r-- | OpenSim/Data/Tests/PropertyCompareConstraint.cs | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/OpenSim/Data/Tests/PropertyCompareConstraint.cs b/OpenSim/Data/Tests/PropertyCompareConstraint.cs index 5b1f935..6c79bda 100644 --- a/OpenSim/Data/Tests/PropertyCompareConstraint.cs +++ b/OpenSim/Data/Tests/PropertyCompareConstraint.cs | |||
@@ -34,7 +34,6 @@ using System.Linq.Expressions; | |||
34 | using System.Reflection; | 34 | using System.Reflection; |
35 | using NUnit.Framework; | 35 | using NUnit.Framework; |
36 | using NUnit.Framework.Constraints; | 36 | using NUnit.Framework.Constraints; |
37 | using NUnit.Framework.SyntaxHelpers; | ||
38 | using OpenMetaverse; | 37 | using OpenMetaverse; |
39 | using OpenSim.Framework; | 38 | using OpenSim.Framework; |
40 | 39 | ||
@@ -297,8 +296,8 @@ namespace OpenSim.Data.Tests | |||
297 | public void AssetShouldMatch() | 296 | public void AssetShouldMatch() |
298 | { | 297 | { |
299 | UUID uuid1 = UUID.Random(); | 298 | UUID uuid1 = UUID.Random(); |
300 | AssetBase actual = new AssetBase(uuid1, "asset one", (sbyte)AssetType.Texture); | 299 | AssetBase actual = new AssetBase(uuid1, "asset one", (sbyte)AssetType.Texture, UUID.Zero.ToString()); |
301 | AssetBase expected = new AssetBase(uuid1, "asset one", (sbyte)AssetType.Texture); | 300 | AssetBase expected = new AssetBase(uuid1, "asset one", (sbyte)AssetType.Texture, UUID.Zero.ToString()); |
302 | 301 | ||
303 | var constraint = Constraints.PropertyCompareConstraint(expected); | 302 | var constraint = Constraints.PropertyCompareConstraint(expected); |
304 | 303 | ||
@@ -309,8 +308,8 @@ namespace OpenSim.Data.Tests | |||
309 | public void AssetShouldNotMatch() | 308 | public void AssetShouldNotMatch() |
310 | { | 309 | { |
311 | UUID uuid1 = UUID.Random(); | 310 | UUID uuid1 = UUID.Random(); |
312 | AssetBase actual = new AssetBase(uuid1, "asset one", (sbyte)AssetType.Texture); | 311 | AssetBase actual = new AssetBase(uuid1, "asset one", (sbyte)AssetType.Texture, UUID.Zero.ToString()); |
313 | AssetBase expected = new AssetBase(UUID.Random(), "asset one", (sbyte)AssetType.Texture); | 312 | AssetBase expected = new AssetBase(UUID.Random(), "asset one", (sbyte)AssetType.Texture, UUID.Zero.ToString()); |
314 | 313 | ||
315 | var constraint = Constraints.PropertyCompareConstraint(expected); | 314 | var constraint = Constraints.PropertyCompareConstraint(expected); |
316 | 315 | ||
@@ -321,8 +320,8 @@ namespace OpenSim.Data.Tests | |||
321 | public void AssetShouldNotMatch2() | 320 | public void AssetShouldNotMatch2() |
322 | { | 321 | { |
323 | UUID uuid1 = UUID.Random(); | 322 | UUID uuid1 = UUID.Random(); |
324 | AssetBase actual = new AssetBase(uuid1, "asset one", (sbyte)AssetType.Texture); | 323 | AssetBase actual = new AssetBase(uuid1, "asset one", (sbyte)AssetType.Texture, UUID.Zero.ToString()); |
325 | AssetBase expected = new AssetBase(uuid1, "asset two", (sbyte)AssetType.Texture); | 324 | AssetBase expected = new AssetBase(uuid1, "asset two", (sbyte)AssetType.Texture, UUID.Zero.ToString()); |
326 | 325 | ||
327 | var constraint = Constraints.PropertyCompareConstraint(expected); | 326 | var constraint = Constraints.PropertyCompareConstraint(expected); |
328 | 327 | ||