From 00102e73a657e8a30b323ef68e7cba073c369197 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 11 Nov 2009 18:46:04 +0000 Subject: Add basic new uuid gatherer tests to check behaviour when the gather seed is a missing asset --- OpenSim/Tests/Common/Mock/TestAssetService.cs | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'OpenSim/Tests/Common/Mock') diff --git a/OpenSim/Tests/Common/Mock/TestAssetService.cs b/OpenSim/Tests/Common/Mock/TestAssetService.cs index 317ec06..ff75d86 100644 --- a/OpenSim/Tests/Common/Mock/TestAssetService.cs +++ b/OpenSim/Tests/Common/Mock/TestAssetService.cs @@ -39,9 +39,14 @@ namespace OpenSim.Tests.Common.Mock { private readonly Dictionary Assets = new Dictionary(); - public TestAssetService(IConfigSource config) - { - } + public TestAssetService() {} + + /// + /// This constructor is required if the asset service is being created reflectively (which is the case in some + /// tests). + /// + /// + public TestAssetService(IConfigSource config) {} public AssetBase Get(string id) { -- cgit v1.1