pike.git
/
src
/
modules
/
_Roxen
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/modules/_Roxen/testsuite.in:1:
START_MARKER test_eq(_Roxen.html_encode_string (0), "0") test_eq(_Roxen.html_encode_string (""), "") test_eq(_Roxen.html_encode_string (10), "10") test_eq(_Roxen.html_encode_string("a&b<c>d"), "a&b<c>d")
+
test_eq((int) _Roxen.html_encode_string (Int.NATIVE_MAX), Int.NATIVE_MAX);
+
test_eq((int) _Roxen.html_encode_string (Int.NATIVE_MIN + 1), Int.NATIVE_MIN + 1);
+
test_eq((int) _Roxen.html_encode_string (Int.NATIVE_MIN), Int.NATIVE_MIN);
test_eq(_Roxen.http_decode_string(""), "") test_eq(_Roxen.http_decode_string("abc+d%20e%41"), "abc+d eA") test_eq(_Roxen.http_decode_string(""), "") test_do(_Roxen.http_decode_string("%")) test_do(_Roxen.http_decode_string("%0")) test_do(_Roxen.http_decode_string("%%")) test_do(_Roxen.http_decode_string("%%%")) test_do(_Roxen.http_decode_string("%41%")) test_do(_Roxen.http_decode_string("%41%0"))