aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/HttpServer
diff options
context:
space:
mode:
authorJeff Ames2009-05-11 15:14:15 +0000
committerJeff Ames2009-05-11 15:14:15 +0000
commit516440367680ce43417442bbf9570eaadd503235 (patch)
tree30f84174c08638681d4926a0e7773e572ec645f2 /OpenSim/Framework/Servers/HttpServer
parentadding code to check for old-style responses ("True") (diff)
downloadopensim-SC_OLD-516440367680ce43417442bbf9570eaadd503235.zip
opensim-SC_OLD-516440367680ce43417442bbf9570eaadd503235.tar.gz
opensim-SC_OLD-516440367680ce43417442bbf9570eaadd503235.tar.bz2
opensim-SC_OLD-516440367680ce43417442bbf9570eaadd503235.tar.xz
Update svn properties.
Diffstat (limited to 'OpenSim/Framework/Servers/HttpServer')
-rw-r--r--OpenSim/Framework/Servers/HttpServer/Tests/BaseRequestHandlerTests.cs86
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 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using System.Text; 3using System.Text;
4using NUnit.Framework; 4using NUnit.Framework;
5using OpenSim.Tests.Common; 5using OpenSim.Tests.Common;
6 6
7namespace OpenSim.Framework.Servers.HttpServer.Tests 7namespace 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}