aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_processing
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2016-03-31 11:06:47 -0700
committerMatt Friedman <maf675@gmail.com>2016-03-31 11:06:47 -0700
commit14e8113fcf01be7dbdb080458fcbf4e75668cc1a (patch)
treef09afcdafc012ba293501856f31cfa8b9c46ee14 /tests/text_processing
parentc9ffef2c57c44250c0c1f1f49f84c8f70e26c8d0 (diff)
downloadforums-14e8113fcf01be7dbdb080458fcbf4e75668cc1a.tar
forums-14e8113fcf01be7dbdb080458fcbf4e75668cc1a.tar.gz
forums-14e8113fcf01be7dbdb080458fcbf4e75668cc1a.tar.bz2
forums-14e8113fcf01be7dbdb080458fcbf4e75668cc1a.tar.xz
forums-14e8113fcf01be7dbdb080458fcbf4e75668cc1a.zip
[ticket/14576] Move common required files to bootstrap
PHPBB3-14576
Diffstat (limited to 'tests/text_processing')
-rw-r--r--tests/text_processing/censor_text_test.php3
-rw-r--r--tests/text_processing/decode_message_test.php3
-rw-r--r--tests/text_processing/generate_text_for_display_test.php3
-rw-r--r--tests/text_processing/generate_text_for_edit_test.php3
-rw-r--r--tests/text_processing/generate_text_for_storage_test.php5
-rw-r--r--tests/text_processing/make_clickable_test.php3
-rw-r--r--tests/text_processing/message_parser_test.php3
-rw-r--r--tests/text_processing/smilies_test.php3
-rw-r--r--tests/text_processing/strip_bbcode_test.php3
-rw-r--r--tests/text_processing/tickets_test.php4
10 files changed, 0 insertions, 33 deletions
diff --git a/tests/text_processing/censor_text_test.php b/tests/text_processing/censor_text_test.php
index 983a5ba2d3..eda2bbb1b3 100644
--- a/tests/text_processing/censor_text_test.php
+++ b/tests/text_processing/censor_text_test.php
@@ -11,9 +11,6 @@
*
*/
-require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
-require_once dirname(__FILE__) . '/../../phpBB/includes/functions_content.php';
-
class phpbb_text_processing_censor_text_test extends phpbb_test_case
{
public function censor_text_data()
diff --git a/tests/text_processing/decode_message_test.php b/tests/text_processing/decode_message_test.php
index fd1719fedc..e2402e721a 100644
--- a/tests/text_processing/decode_message_test.php
+++ b/tests/text_processing/decode_message_test.php
@@ -11,9 +11,6 @@
*
*/
-require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
-require_once dirname(__FILE__) . '/../../phpBB/includes/functions_content.php';
-
class phpbb_text_processing_decode_message_test extends phpbb_test_case
{
public function setUp()
diff --git a/tests/text_processing/generate_text_for_display_test.php b/tests/text_processing/generate_text_for_display_test.php
index dba3713447..dfbd0977a0 100644
--- a/tests/text_processing/generate_text_for_display_test.php
+++ b/tests/text_processing/generate_text_for_display_test.php
@@ -11,9 +11,6 @@
*
*/
-require_once __DIR__ . '/../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../phpBB/includes/functions_content.php';
-
class phpbb_text_processing_generate_text_for_display_test extends phpbb_test_case
{
public function setUp()
diff --git a/tests/text_processing/generate_text_for_edit_test.php b/tests/text_processing/generate_text_for_edit_test.php
index 105e8da86b..8258a196f5 100644
--- a/tests/text_processing/generate_text_for_edit_test.php
+++ b/tests/text_processing/generate_text_for_edit_test.php
@@ -11,9 +11,6 @@
*
*/
-require_once __DIR__ . '/../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../phpBB/includes/functions_content.php';
-
class phpbb_text_processing_generate_text_for_edit_test extends phpbb_test_case
{
/**
diff --git a/tests/text_processing/generate_text_for_storage_test.php b/tests/text_processing/generate_text_for_storage_test.php
index 474f6d8f0f..f0588fec4f 100644
--- a/tests/text_processing/generate_text_for_storage_test.php
+++ b/tests/text_processing/generate_text_for_storage_test.php
@@ -11,11 +11,6 @@
*
*/
-require_once __DIR__ . '/../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../phpBB/includes/functions_compatibility.php';
-require_once __DIR__ . '/../../phpBB/includes/functions_content.php';
-require_once __DIR__ . '/../../phpBB/includes/utf/utf_tools.php';
-
class phpbb_text_processing_generate_text_for_storage_test extends phpbb_test_case
{
public function setUp()
diff --git a/tests/text_processing/make_clickable_test.php b/tests/text_processing/make_clickable_test.php
index 95e304dd97..3c8539c612 100644
--- a/tests/text_processing/make_clickable_test.php
+++ b/tests/text_processing/make_clickable_test.php
@@ -11,9 +11,6 @@
*
*/
-require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
-require_once dirname(__FILE__) . '/../../phpBB/includes/functions_content.php';
-
class phpbb_text_processing_make_clickable_test extends phpbb_test_case
{
public function make_clickable_data()
diff --git a/tests/text_processing/message_parser_test.php b/tests/text_processing/message_parser_test.php
index bee1b3fca3..a3dbf644f6 100644
--- a/tests/text_processing/message_parser_test.php
+++ b/tests/text_processing/message_parser_test.php
@@ -12,10 +12,7 @@
*/
require_once __DIR__ . '/../../phpBB/includes/bbcode.php';
-require_once __DIR__ . '/../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../phpBB/includes/functions_content.php';
require_once __DIR__ . '/../../phpBB/includes/message_parser.php';
-require_once __DIR__ . '/../../phpBB/includes/utf/utf_tools.php';
class phpbb_text_processing_message_parser_test extends phpbb_test_case
{
diff --git a/tests/text_processing/smilies_test.php b/tests/text_processing/smilies_test.php
index 3bbe065d36..ebdbe7dadc 100644
--- a/tests/text_processing/smilies_test.php
+++ b/tests/text_processing/smilies_test.php
@@ -11,9 +11,6 @@
*
*/
-require_once __DIR__ . '/../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../phpBB/includes/functions_content.php';
-
class phpbb_text_processing_smilies_test extends phpbb_test_case
{
/**
diff --git a/tests/text_processing/strip_bbcode_test.php b/tests/text_processing/strip_bbcode_test.php
index 827d8d4a52..9acedc2872 100644
--- a/tests/text_processing/strip_bbcode_test.php
+++ b/tests/text_processing/strip_bbcode_test.php
@@ -11,9 +11,6 @@
*
*/
-require_once dirname(__FILE__) . '/../../phpBB/includes/functions.php';
-require_once dirname(__FILE__) . '/../../phpBB/includes/functions_content.php';
-
class phpbb_text_processing_strip_bbcode_test extends phpbb_test_case
{
public function test_legacy()
diff --git a/tests/text_processing/tickets_test.php b/tests/text_processing/tickets_test.php
index 8c48a3f4a9..6230191a69 100644
--- a/tests/text_processing/tickets_test.php
+++ b/tests/text_processing/tickets_test.php
@@ -11,10 +11,6 @@
*
*/
-require_once __DIR__ . '/../../phpBB/includes/functions.php';
-require_once __DIR__ . '/../../phpBB/includes/functions_content.php';
-require_once __DIR__ . '/../../phpBB/includes/utf/utf_tools.php';
-
class phpbb_text_processing_tickets_test extends phpbb_test_case
{
/**