diff options
author | lbsa71 | 2009-05-14 08:12:23 +0000 |
---|---|---|
committer | lbsa71 | 2009-05-14 08:12:23 +0000 |
commit | c6e2fc947b72e30113e439579e8b9a52fb81e203 (patch) | |
tree | 3685507c49f9642ed3eb0b841dcf3cc44ce3ffa9 /OpenSim/Tests/Common/Mock/TestOSHttpResponse.cs | |
parent | Move the connector for the new asset server to a connectors project. Inherit (diff) | |
download | opensim-SC-c6e2fc947b72e30113e439579e8b9a52fb81e203.zip opensim-SC-c6e2fc947b72e30113e439579e8b9a52fb81e203.tar.gz opensim-SC-c6e2fc947b72e30113e439579e8b9a52fb81e203.tar.bz2 opensim-SC-c6e2fc947b72e30113e439579e8b9a52fb81e203.tar.xz |
* Changed auto-properties to properties with backing field
* This fixes mantis #3650
Diffstat (limited to 'OpenSim/Tests/Common/Mock/TestOSHttpResponse.cs')
-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 | } |