Merge branch 'master' of git://github.com/Eiffel-World/Eiffel-Web-Framework

This commit is contained in:
Jocelyn Fiat
2011-11-02 13:11:09 +01:00
3 changed files with 7 additions and 7 deletions

View File

@@ -10,12 +10,12 @@
<option warning="true" full_class_checking="true" is_attached_by_default="true" void_safety="all" syntax="provisional"> <option warning="true" full_class_checking="true" is_attached_by_default="true" void_safety="all" syntax="provisional">
</option> </option>
<library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/> <library name="base" location="$ISE_LIBRARY\library\base\base-safe.ecf"/>
<library name="curl" location="$ISE_LIBRARY\library\cURL\curl-safe.ecf"> <library name="curl" location="$ISE_LIBRARY\library\cURL\cURL-safe.ecf">
<condition> <condition>
<version type="compiler" min="7.0.8.7340"/> <version type="compiler" min="7.0.8.7340"/>
</condition> </condition>
</library> </library>
<library name="curl_local" location="..\..\..\ext\ise_library\curl-safe.ecf"> <library name="curl_local" location="..\..\..\ext\ise_library\cURL-safe.ecf">
<condition> <condition>
<version type="compiler" max="7.0.8.7339"/> <version type="compiler" max="7.0.8.7339"/>
</condition> </condition>

View File

@@ -10,12 +10,12 @@
<option warning="true" full_class_checking="true" void_safety="none" syntax="provisional"> <option warning="true" full_class_checking="true" void_safety="none" syntax="provisional">
</option> </option>
<library name="base" location="$ISE_LIBRARY/library/base/base.ecf"/> <library name="base" location="$ISE_LIBRARY/library/base/base.ecf"/>
<library name="curl" location="$ISE_LIBRARY\library\cURL\curl.ecf"> <library name="curl" location="$ISE_LIBRARY\library\cURL\cURL.ecf">
<condition> <condition>
<version type="compiler" min="7.0.8.7340"/> <version type="compiler" min="7.0.8.7340"/>
</condition> </condition>
</library> </library>
<library name="curl_local" location="..\..\..\ext\ise_library\curl.ecf"> <library name="curl_local" location="..\..\..\ext\ise_library\cURL.ecf">
<condition> <condition>
<version type="compiler" max="7.0.8.7339"/> <version type="compiler" max="7.0.8.7339"/>
</condition> </condition>

View File

@@ -8,7 +8,7 @@ note
testing: "type/manual" testing: "type/manual"
class class
TEST_EWSGI_REQUEST TEST_WSF_REQUEST
inherit inherit
EQA_TEST_SET EQA_TEST_SET
@@ -91,7 +91,7 @@ feature {NONE} -- Events
across across
req.form_data_parameters as fcur req.form_parameters as fcur
loop loop
if not q.is_empty then if not q.is_empty then
q.append_character ('&') q.append_character ('&')
@@ -198,7 +198,7 @@ feature -- Test routines
get_http_session get_http_session
if attached http_session as sess then if attached http_session as sess then
create ctx.make create ctx.make
ctx.add_form_data_parameter ("id", "123") ctx.add_form_parameter ("id", "123")
test_post_request ("post/01", ctx, "post-01 : id=123") test_post_request ("post/01", ctx, "post-01 : id=123")
test_post_request ("post/01/?foo=bar", ctx, "post-01(foo=bar) : id=123") test_post_request ("post/01/?foo=bar", ctx, "post-01(foo=bar) : id=123")
test_post_request ("post/01/?foo=bar&abc=def", ctx, "post-01(foo=bar&abc=def) : id=123") test_post_request ("post/01/?foo=bar&abc=def", ctx, "post-01(foo=bar&abc=def) : id=123")