/src/test/test_ext_string.h

https://github.com/kevlund/hiphop-php · C Header · 124 lines · 98 code · 8 blank · 18 comment · 0 complexity · a7d426c7548c3661084cf21cce5711f6 MD5 · raw file

  1. /*
  2. +----------------------------------------------------------------------+
  3. | HipHop for PHP |
  4. +----------------------------------------------------------------------+
  5. | Copyright (c) 2010- Facebook, Inc. (http://www.facebook.com) |
  6. +----------------------------------------------------------------------+
  7. | This source file is subject to version 3.01 of the PHP license, |
  8. | that is bundled with this package in the file LICENSE, and is |
  9. | available through the world-wide-web at the following url: |
  10. | http://www.php.net/license/3_01.txt |
  11. | If you did not receive a copy of the PHP license and are unable to |
  12. | obtain it through the world-wide-web, please send a note to |
  13. | license@php.net so we can mail you a copy immediately. |
  14. +----------------------------------------------------------------------+
  15. */
  16. #ifndef __TEST_EXT_STRING_H__
  17. #define __TEST_EXT_STRING_H__
  18. // >>>>>> Generated by idl.php. Do NOT modify. <<<<<<
  19. #include <test/test_cpp_ext.h>
  20. ///////////////////////////////////////////////////////////////////////////////
  21. class TestExtString : public TestCppExt {
  22. public:
  23. virtual bool RunTests(const std::string &which);
  24. bool test_addcslashes();
  25. bool test_stripcslashes();
  26. bool test_addslashes();
  27. bool test_stripslashes();
  28. bool test_bin2hex();
  29. bool test_hex2bin();
  30. bool test_nl2br();
  31. bool test_quotemeta();
  32. bool test_str_shuffle();
  33. bool test_strrev();
  34. bool test_strtolower();
  35. bool test_strtoupper();
  36. bool test_ucfirst();
  37. bool test_ucwords();
  38. bool test_strip_tags();
  39. bool test_trim();
  40. bool test_ltrim();
  41. bool test_rtrim();
  42. bool test_chop();
  43. bool test_explode();
  44. bool test_implode();
  45. bool test_join();
  46. bool test_str_split();
  47. bool test_chunk_split();
  48. bool test_strtok();
  49. bool test_str_replace();
  50. bool test_str_ireplace();
  51. bool test_substr_replace();
  52. bool test_substr();
  53. bool test_str_pad();
  54. bool test_str_repeat();
  55. bool test_wordwrap();
  56. bool test_html_entity_decode();
  57. bool test_htmlentities();
  58. bool test_htmlspecialchars_decode();
  59. bool test_htmlspecialchars();
  60. bool test_quoted_printable_encode();
  61. bool test_quoted_printable_decode();
  62. bool test_convert_uudecode();
  63. bool test_convert_uuencode();
  64. bool test_str_rot13();
  65. bool test_crc32();
  66. bool test_crypt();
  67. bool test_md5();
  68. bool test_sha1();
  69. bool test_strtr();
  70. bool test_convert_cyr_string();
  71. bool test_get_html_translation_table();
  72. bool test_hebrev();
  73. bool test_hebrevc();
  74. bool test_setlocale();
  75. bool test_localeconv();
  76. bool test_nl_langinfo();
  77. bool test_printf();
  78. bool test_vprintf();
  79. bool test_sprintf();
  80. bool test_vsprintf();
  81. bool test_sscanf();
  82. bool test_chr();
  83. bool test_ord();
  84. bool test_money_format();
  85. bool test_number_format();
  86. bool test_strcmp();
  87. bool test_strncmp();
  88. bool test_strnatcmp();
  89. bool test_strcasecmp();
  90. bool test_strncasecmp();
  91. bool test_strnatcasecmp();
  92. bool test_strcoll();
  93. bool test_substr_compare();
  94. bool test_strchr();
  95. bool test_strrchr();
  96. bool test_strstr();
  97. bool test_stristr();
  98. bool test_strpbrk();
  99. bool test_strpos();
  100. bool test_stripos();
  101. bool test_strrpos();
  102. bool test_strripos();
  103. bool test_substr_count();
  104. bool test_strspn();
  105. bool test_strcspn();
  106. bool test_strlen();
  107. bool test_count_chars();
  108. bool test_str_word_count();
  109. bool test_levenshtein();
  110. bool test_similar_text();
  111. bool test_soundex();
  112. bool test_metaphone();
  113. bool test_parse_str();
  114. };
  115. ///////////////////////////////////////////////////////////////////////////////
  116. #endif // __TEST_EXT_STRING_H__