OpenSim
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | List of all members
OpenSim.Region.CoreModules.Scripting.HttpRequest.Tests.ScriptsHttpRequestsTests Class Reference

Test script http request code. More...

Inheritance diagram for OpenSim.Region.CoreModules.Scripting.HttpRequest.Tests.ScriptsHttpRequestsTests:
Inheritance graph
[legend]
Collaboration diagram for OpenSim.Region.CoreModules.Scripting.HttpRequest.Tests.ScriptsHttpRequestsTests:
Collaboration graph
[legend]

Public Member Functions

void Test404Response ()
 Test what happens when we get a 404 response from a call. More...
 
- Public Member Functions inherited from OpenSim.Tests.Common.OpenSimTestCase
virtual void SetUp ()
 

Detailed Description

Test script http request code.

This class uses some very hacky workarounds in order to mock HttpWebResponse which are Mono dependent (though alternative code can be written to make this work for Windows). However, the value of being able to regression test this kind of code is very high.

Definition at line 146 of file ScriptsHttpRequestsTests.cs.

Member Function Documentation

void OpenSim.Region.CoreModules.Scripting.HttpRequest.Tests.ScriptsHttpRequestsTests.Test404Response ( )
inline

Test what happens when we get a 404 response from a call.

Definition at line 152 of file ScriptsHttpRequestsTests.cs.


The documentation for this class was generated from the following file: