diff options
author | Jeff Ames | 2009-05-11 15:14:15 +0000 |
---|---|---|
committer | Jeff Ames | 2009-05-11 15:14:15 +0000 |
commit | 516440367680ce43417442bbf9570eaadd503235 (patch) | |
tree | 30f84174c08638681d4926a0e7773e572ec645f2 /OpenSim/Framework/Servers/HttpServer | |
parent | adding code to check for old-style responses ("True") (diff) | |
download | opensim-SC-516440367680ce43417442bbf9570eaadd503235.zip opensim-SC-516440367680ce43417442bbf9570eaadd503235.tar.gz opensim-SC-516440367680ce43417442bbf9570eaadd503235.tar.bz2 opensim-SC-516440367680ce43417442bbf9570eaadd503235.tar.xz |
Update svn properties.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer')
-rw-r--r-- | OpenSim/Framework/Servers/HttpServer/Tests/BaseRequestHandlerTests.cs | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/OpenSim/Framework/Servers/HttpServer/Tests/BaseRequestHandlerTests.cs b/OpenSim/Framework/Servers/HttpServer/Tests/BaseRequestHandlerTests.cs index 14998c5..b9ce430 100644 --- a/OpenSim/Framework/Servers/HttpServer/Tests/BaseRequestHandlerTests.cs +++ b/OpenSim/Framework/Servers/HttpServer/Tests/BaseRequestHandlerTests.cs | |||
@@ -1,43 +1,43 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using NUnit.Framework; | 4 | using NUnit.Framework; |
5 | using OpenSim.Tests.Common; | 5 | using OpenSim.Tests.Common; |
6 | 6 | ||
7 | namespace OpenSim.Framework.Servers.HttpServer.Tests | 7 | namespace OpenSim.Framework.Servers.HttpServer.Tests |
8 | { | 8 | { |
9 | [TestFixture] | 9 | [TestFixture] |
10 | public class BaseRequestHandlerTests | 10 | public class BaseRequestHandlerTests |
11 | { | 11 | { |
12 | private const string BASE_PATH = "/testpath"; | 12 | private const string BASE_PATH = "/testpath"; |
13 | 13 | ||
14 | private class BaseRequestHandlerImpl : BaseRequestHandler | 14 | private class BaseRequestHandlerImpl : BaseRequestHandler |
15 | { | 15 | { |
16 | public BaseRequestHandlerImpl(string httpMethod, string path) : base(httpMethod, path) | 16 | public BaseRequestHandlerImpl(string httpMethod, string path) : base(httpMethod, path) |
17 | { | 17 | { |
18 | } | 18 | } |
19 | } | 19 | } |
20 | 20 | ||
21 | [Test] | 21 | [Test] |
22 | public void TestConstructor() | 22 | public void TestConstructor() |
23 | { | 23 | { |
24 | BaseRequestHandlerImpl handler = new BaseRequestHandlerImpl( null, null ); | 24 | BaseRequestHandlerImpl handler = new BaseRequestHandlerImpl( null, null ); |
25 | } | 25 | } |
26 | 26 | ||
27 | [Test] | 27 | [Test] |
28 | public void TestGetParams() | 28 | public void TestGetParams() |
29 | { | 29 | { |
30 | BaseRequestHandlerImpl handler = new BaseRequestHandlerImpl(null, BASE_PATH); | 30 | BaseRequestHandlerImpl handler = new BaseRequestHandlerImpl(null, BASE_PATH); |
31 | 31 | ||
32 | BaseRequestHandlerTestHelper.BaseTestGetParams(handler, BASE_PATH); | 32 | BaseRequestHandlerTestHelper.BaseTestGetParams(handler, BASE_PATH); |
33 | } | 33 | } |
34 | 34 | ||
35 | [Test] | 35 | [Test] |
36 | public void TestSplitParams() | 36 | public void TestSplitParams() |
37 | { | 37 | { |
38 | BaseRequestHandlerImpl handler = new BaseRequestHandlerImpl(null, BASE_PATH); | 38 | BaseRequestHandlerImpl handler = new BaseRequestHandlerImpl(null, BASE_PATH); |
39 | 39 | ||
40 | BaseRequestHandlerTestHelper.BaseTestSplitParams(handler, BASE_PATH); | 40 | BaseRequestHandlerTestHelper.BaseTestSplitParams(handler, BASE_PATH); |
41 | } | 41 | } |
42 | } | 42 | } |
43 | } | 43 | } |