aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-01-10 00:26:48 +0100
committerIgor Wiedler <igor@wiedler.ch>2011-01-10 00:37:47 +0100
commitb5c8349f4a3399750b13463db8ad54f1aadfe178 (patch)
treefd20263038d3d49d5ed06d45a7ee4d2a6be2c468
parent95c683056b85399200e2caaa9aa65edc6843c16f (diff)
parentd7299f5071d461e6bf77df8c96b19bcd1bf027db (diff)
downloadforums-b5c8349f4a3399750b13463db8ad54f1aadfe178.tar
forums-b5c8349f4a3399750b13463db8ad54f1aadfe178.tar.gz
forums-b5c8349f4a3399750b13463db8ad54f1aadfe178.tar.bz2
forums-b5c8349f4a3399750b13463db8ad54f1aadfe178.tar.xz
forums-b5c8349f4a3399750b13463db8ad54f1aadfe178.zip
Merge branch 'develop-olympus' into develop
This merge commit includes ascraeus-specific renames and adjustments.
-rw-r--r--phpunit.xml.dist2
-rw-r--r--tests/cache/cache_test.php3
-rw-r--r--tests/dbal/select_test.php (renamed from tests/dbal/select.php)0
-rw-r--r--tests/dbal/write_test.php (renamed from tests/dbal/write.php)0
-rw-r--r--tests/download/http_byte_range_test.php (renamed from tests/download/http_byte_range.php)0
-rw-r--r--tests/network/checkdnsrr_test.php (renamed from tests/network/checkdnsrr.php)0
-rw-r--r--tests/network/inet_ntop_pton_test.php (renamed from tests/network/inet_ntop_pton.php)0
-rw-r--r--tests/network/ip_normalise_test.php (renamed from tests/network/ip_normalise.php)0
-rw-r--r--tests/random/gen_rand_string_test.php (renamed from tests/random/gen_rand_string.php)0
-rw-r--r--tests/regex/censor_test.php (renamed from tests/regex/censor.php)0
-rw-r--r--tests/regex/email_test.php (renamed from tests/regex/email.php)0
-rw-r--r--tests/regex/ipv4_test.php (renamed from tests/regex/ipv4.php)0
-rw-r--r--tests/regex/ipv6_test.php (renamed from tests/regex/ipv6.php)0
-rw-r--r--tests/regex/url_test.php (renamed from tests/regex/url.php)0
-rw-r--r--tests/request/deactivated_super_global_test.php (renamed from tests/request/deactivated_super_global.php)0
-rw-r--r--tests/request/request_test.php (renamed from tests/request/request.php)0
-rw-r--r--tests/request/request_var_test.php (renamed from tests/request/request_var.php)0
-rw-r--r--tests/request/type_cast_helper_test.php (renamed from tests/request/type_cast_helper.php)0
-rw-r--r--tests/security/extract_current_page_test.php (renamed from tests/security/extract_current_page.php)0
-rw-r--r--tests/security/redirect_test.php (renamed from tests/security/redirect.php)0
-rw-r--r--tests/template/template_test.php (renamed from tests/template/template.php)2
-rw-r--r--tests/text_processing/make_clickable_test.php (renamed from tests/text_processing/make_clickable.php)0
22 files changed, 3 insertions, 4 deletions
diff --git a/phpunit.xml.dist b/phpunit.xml.dist
index 4209c61947..5ee54d37a4 100644
--- a/phpunit.xml.dist
+++ b/phpunit.xml.dist
@@ -13,7 +13,7 @@
>
<testsuites>
<testsuite name="phpBB Test Suite">
- <directory suffix=".php">./tests/</directory>
+ <directory suffix="_test.php">./tests/</directory>
</testsuite>
</testsuites>
diff --git a/tests/cache/cache_test.php b/tests/cache/cache_test.php
index 463095f129..525b2da909 100644
--- a/tests/cache/cache_test.php
+++ b/tests/cache/cache_test.php
@@ -25,9 +25,6 @@ class phpbb_cache_test extends phpbb_test_case
public function test_cache_driver_file()
{
- global $phpEx;
- $phpEx = 'txt'; // do not store files as .php
-
$driver = new phpbb_cache_driver_file(__DIR__ . '/tmp/');
$driver->put('test_key', 'test_value');
$driver->save();
diff --git a/tests/dbal/select.php b/tests/dbal/select_test.php
index 987de5cbff..987de5cbff 100644
--- a/tests/dbal/select.php
+++ b/tests/dbal/select_test.php
diff --git a/tests/dbal/write.php b/tests/dbal/write_test.php
index a24b6efcc4..a24b6efcc4 100644
--- a/tests/dbal/write.php
+++ b/tests/dbal/write_test.php
diff --git a/tests/download/http_byte_range.php b/tests/download/http_byte_range_test.php
index 4f14746bef..4f14746bef 100644
--- a/tests/download/http_byte_range.php
+++ b/tests/download/http_byte_range_test.php
diff --git a/tests/network/checkdnsrr.php b/tests/network/checkdnsrr_test.php
index 427132e508..427132e508 100644
--- a/tests/network/checkdnsrr.php
+++ b/tests/network/checkdnsrr_test.php
diff --git a/tests/network/inet_ntop_pton.php b/tests/network/inet_ntop_pton_test.php
index 7d4f44aaca..7d4f44aaca 100644
--- a/tests/network/inet_ntop_pton.php
+++ b/tests/network/inet_ntop_pton_test.php
diff --git a/tests/network/ip_normalise.php b/tests/network/ip_normalise_test.php
index c10ea6e088..c10ea6e088 100644
--- a/tests/network/ip_normalise.php
+++ b/tests/network/ip_normalise_test.php
diff --git a/tests/random/gen_rand_string.php b/tests/random/gen_rand_string_test.php
index fa519f134c..fa519f134c 100644
--- a/tests/random/gen_rand_string.php
+++ b/tests/random/gen_rand_string_test.php
diff --git a/tests/regex/censor.php b/tests/regex/censor_test.php
index ae2d86e07e..ae2d86e07e 100644
--- a/tests/regex/censor.php
+++ b/tests/regex/censor_test.php
diff --git a/tests/regex/email.php b/tests/regex/email_test.php
index 5d6e207cbb..5d6e207cbb 100644
--- a/tests/regex/email.php
+++ b/tests/regex/email_test.php
diff --git a/tests/regex/ipv4.php b/tests/regex/ipv4_test.php
index 735a2c4384..735a2c4384 100644
--- a/tests/regex/ipv4.php
+++ b/tests/regex/ipv4_test.php
diff --git a/tests/regex/ipv6.php b/tests/regex/ipv6_test.php
index 187588f861..187588f861 100644
--- a/tests/regex/ipv6.php
+++ b/tests/regex/ipv6_test.php
diff --git a/tests/regex/url.php b/tests/regex/url_test.php
index 246cbf549c..246cbf549c 100644
--- a/tests/regex/url.php
+++ b/tests/regex/url_test.php
diff --git a/tests/request/deactivated_super_global.php b/tests/request/deactivated_super_global_test.php
index 995f93443d..995f93443d 100644
--- a/tests/request/deactivated_super_global.php
+++ b/tests/request/deactivated_super_global_test.php
diff --git a/tests/request/request.php b/tests/request/request_test.php
index 203c9fd880..203c9fd880 100644
--- a/tests/request/request.php
+++ b/tests/request/request_test.php
diff --git a/tests/request/request_var.php b/tests/request/request_var_test.php
index 8848e388bf..8848e388bf 100644
--- a/tests/request/request_var.php
+++ b/tests/request/request_var_test.php
diff --git a/tests/request/type_cast_helper.php b/tests/request/type_cast_helper_test.php
index 6d4e7055d5..6d4e7055d5 100644
--- a/tests/request/type_cast_helper.php
+++ b/tests/request/type_cast_helper_test.php
diff --git a/tests/security/extract_current_page.php b/tests/security/extract_current_page_test.php
index ff0ab4d1bb..ff0ab4d1bb 100644
--- a/tests/security/extract_current_page.php
+++ b/tests/security/extract_current_page_test.php
diff --git a/tests/security/redirect.php b/tests/security/redirect_test.php
index 1557384507..1557384507 100644
--- a/tests/security/redirect.php
+++ b/tests/security/redirect_test.php
diff --git a/tests/template/template.php b/tests/template/template_test.php
index 14a5a3c752..399c0cf296 100644
--- a/tests/template/template.php
+++ b/tests/template/template_test.php
@@ -39,6 +39,8 @@ class phpbb_template_template_test extends phpbb_test_case
protected function setUp()
{
+ $this->markTestIncomplete("template::display raises notices.");
+
// Test the engine can be used
$this->setup_engine();
diff --git a/tests/text_processing/make_clickable.php b/tests/text_processing/make_clickable_test.php
index 75a35daf82..75a35daf82 100644
--- a/tests/text_processing/make_clickable.php
+++ b/tests/text_processing/make_clickable_test.php