diff options
Diffstat (limited to 'OpenSim/Tests/Common/Mock')
-rw-r--r-- | OpenSim/Tests/Common/Mock/TestOSHttpResponse.cs | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/OpenSim/Tests/Common/Mock/TestOSHttpResponse.cs b/OpenSim/Tests/Common/Mock/TestOSHttpResponse.cs index d9c96f4..9e097b8 100644 --- a/OpenSim/Tests/Common/Mock/TestOSHttpResponse.cs +++ b/OpenSim/Tests/Common/Mock/TestOSHttpResponse.cs | |||
@@ -7,7 +7,18 @@ namespace OpenSim.Tests.Common.Mock | |||
7 | { | 7 | { |
8 | public class TestOSHttpResponse : OSHttpResponse | 8 | public class TestOSHttpResponse : OSHttpResponse |
9 | { | 9 | { |
10 | public override int StatusCode { get; set; } | 10 | private int m_statusCode; |
11 | public override string ContentType { get; set; } | 11 | public override int StatusCode |
12 | { | ||
13 | get { return m_statusCode; } | ||
14 | set { m_statusCode = value; } | ||
15 | } | ||
16 | |||
17 | private string m_contentType; | ||
18 | public override string ContentType | ||
19 | { | ||
20 | get { return m_contentType; } | ||
21 | set { m_contentType = value; } | ||
22 | } | ||
12 | } | 23 | } |
13 | } | 24 | } |