OpenSim
|
Test script http request code. More...
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 () |
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.
|
inline |
Test what happens when we get a 404 response from a call.
Definition at line 152 of file ScriptsHttpRequestsTests.cs.