diff options
author | Melanie | 2009-09-30 19:25:48 +0100 |
---|---|---|
committer | Melanie | 2009-09-30 19:25:48 +0100 |
commit | 8d35cd90615b0048607375560edb56e4b39c4c12 (patch) | |
tree | 332c1e57954e6402dbdf5cd4208df7fce1322cac | |
parent | Remove the dll for the removed tests (diff) | |
download | opensim-SC-8d35cd90615b0048607375560edb56e4b39c4c12.zip opensim-SC-8d35cd90615b0048607375560edb56e4b39c4c12.tar.gz opensim-SC-8d35cd90615b0048607375560edb56e4b39c4c12.tar.bz2 opensim-SC-8d35cd90615b0048607375560edb56e4b39c4c12.tar.xz |
Remove more tests that don't apply to this build
-rw-r--r-- | OpenSim/Server/Handlers/Tests/Asset/AssetServerGetHandlerTests.cs | 80 | ||||
-rw-r--r-- | prebuild.xml | 34 |
2 files changed, 0 insertions, 114 deletions
diff --git a/OpenSim/Server/Handlers/Tests/Asset/AssetServerGetHandlerTests.cs b/OpenSim/Server/Handlers/Tests/Asset/AssetServerGetHandlerTests.cs deleted file mode 100644 index 04a73e4..0000000 --- a/OpenSim/Server/Handlers/Tests/Asset/AssetServerGetHandlerTests.cs +++ /dev/null | |||
@@ -1,80 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) Contributors, http://opensimulator.org/ | ||
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | ||
4 | * | ||
5 | * Redistribution and use in source and binary forms, with or without | ||
6 | * modification, are permitted provided that the following conditions are met: | ||
7 | * * Redistributions of source code must retain the above copyright | ||
8 | * notice, this list of conditions and the following disclaimer. | ||
9 | * * Redistributions in binary form must reproduce the above copyright | ||
10 | * notice, this list of conditions and the following disclaimer in the | ||
11 | * documentation and/or other materials provided with the distribution. | ||
12 | * * Neither the name of the OpenSimulator Project nor the | ||
13 | * names of its contributors may be used to endorse or promote products | ||
14 | * derived from this software without specific prior written permission. | ||
15 | * | ||
16 | * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY | ||
17 | * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
18 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
19 | * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY | ||
20 | * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
21 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
22 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND | ||
23 | * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
24 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
26 | */ | ||
27 | |||
28 | using NUnit.Framework; | ||
29 | using OpenSim.Framework; | ||
30 | using OpenSim.Framework.Servers.HttpServer; | ||
31 | using OpenSim.Server.Handlers.Asset; | ||
32 | using OpenSim.Services.Interfaces; | ||
33 | using OpenSim.Tests.Common; | ||
34 | using OpenSim.Tests.Common.Mock; | ||
35 | using OpenSim.Tests.Common.Setup; | ||
36 | |||
37 | namespace OpenSim.Server.Handlers.Tests.Asset | ||
38 | { | ||
39 | [TestFixture] | ||
40 | public class AssetServerGetHandlerTests | ||
41 | { | ||
42 | private const string ASSETS_PATH = "/assets"; | ||
43 | |||
44 | [Test] | ||
45 | public void TestConstructor() | ||
46 | { | ||
47 | TestHelper.InMethod(); | ||
48 | |||
49 | new AssetServerGetHandler(null); | ||
50 | } | ||
51 | |||
52 | [Test] | ||
53 | public void TestGetParams() | ||
54 | { | ||
55 | TestHelper.InMethod(); | ||
56 | |||
57 | AssetServerGetHandler handler = new AssetServerGetHandler(null); | ||
58 | BaseRequestHandlerTestHelper.BaseTestGetParams(handler, ASSETS_PATH); | ||
59 | } | ||
60 | |||
61 | [Test] | ||
62 | public void TestSplitParams() | ||
63 | { | ||
64 | TestHelper.InMethod(); | ||
65 | |||
66 | AssetServerGetHandler handler = new AssetServerGetHandler(null); | ||
67 | BaseRequestHandlerTestHelper.BaseTestSplitParams(handler, ASSETS_PATH); | ||
68 | } | ||
69 | |||
70 | // TODO: unused | ||
71 | // private static AssetBase CreateTestEnvironment(out AssetServerGetHandler handler, out OSHttpResponse response) | ||
72 | // { | ||
73 | // AssetBase asset = GetAssetStreamHandlerTestHelpers.CreateCommonTestResources(out response); | ||
74 | // IAssetService assetDataPlugin = new TestAssetService(); | ||
75 | // handler = new AssetServerGetHandler(assetDataPlugin); | ||
76 | // assetDataPlugin.Store(asset); | ||
77 | // return asset; | ||
78 | // } | ||
79 | } | ||
80 | } | ||
diff --git a/prebuild.xml b/prebuild.xml index 9dc417a..70f5cfd 100644 --- a/prebuild.xml +++ b/prebuild.xml | |||
@@ -3699,40 +3699,6 @@ | |||
3699 | </Files> | 3699 | </Files> |
3700 | </Project> | 3700 | </Project> |
3701 | 3701 | ||
3702 | <Project frameworkVersion="v3_5" name="OpenSim.Server.Handlers.Tests" path="OpenSim/Server/Handlers/Tests" type="Library"> | ||
3703 | <Configuration name="Debug"> | ||
3704 | <Options> | ||
3705 | <OutputPath>../../../../bin/</OutputPath> | ||
3706 | </Options> | ||
3707 | </Configuration> | ||
3708 | <Configuration name="Release"> | ||
3709 | <Options> | ||
3710 | <OutputPath>../../../../bin/</OutputPath> | ||
3711 | </Options> | ||
3712 | </Configuration> | ||
3713 | |||
3714 | <ReferencePath>../../../../bin/</ReferencePath> | ||
3715 | <Reference name="System"/> | ||
3716 | <Reference name="System.Xml"/> | ||
3717 | <Reference name="OpenMetaverseTypes.dll"/> | ||
3718 | <Reference name="OpenMetaverse.dll"/> | ||
3719 | <Reference name="nunit.framework.dll" /> | ||
3720 | <Reference name="OpenSim.Framework"/> | ||
3721 | <Reference name="OpenSim.Framework.Console"/> | ||
3722 | <Reference name="OpenSim.Framework.Servers.HttpServer"/> | ||
3723 | <Reference name="OpenSim.Server.Handlers"/> | ||
3724 | <Reference name="OpenSim.Server.Base"/> | ||
3725 | <Reference name="OpenSim.Services.Base" /> | ||
3726 | <Reference name="OpenSim.Services.Interfaces"/> | ||
3727 | <Reference name="OpenSim.Tests.Common"/> | ||
3728 | <Reference name="Nini.dll" /> | ||
3729 | <Reference name="log4net.dll"/> | ||
3730 | |||
3731 | <Files> | ||
3732 | <Match pattern="*.cs" recurse="true"/> | ||
3733 | </Files> | ||
3734 | </Project> | ||
3735 | |||
3736 | <?include file="addon-modules/*/prebuild.xml" ?> | 3702 | <?include file="addon-modules/*/prebuild.xml" ?> |
3737 | 3703 | ||
3738 | </Solution> | 3704 | </Solution> |