summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTobias Schlitt <toby@php.net>2006-12-14 17:00:06 +0000
committerTobias Schlitt <toby@php.net>2006-12-14 17:00:06 +0000
commit453e95eb439d711997f2f8c3a6eb0c95d9bae12a (patch)
tree1850fd8b5be5c191fb57269490e33d29cdc4fda2 /tests
parent92feb00d74d06b7b24c4a7763d6ea720a0008dc3 (diff)
downloadzetacomponents-graph-453e95eb439d711997f2f8c3a6eb0c95d9bae12a.zip
zetacomponents-graph-453e95eb439d711997f2f8c3a6eb0c95d9bae12a.tar.gz
- Mark test that uses ext/ming as skipped, if ext/ming is not loaded.
Diffstat (limited to 'tests')
-rw-r--r--tests/font_test.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/font_test.php b/tests/font_test.php
index e36ad62..8ef7d32 100644
--- a/tests/font_test.php
+++ b/tests/font_test.php
@@ -854,6 +854,11 @@ class ezcGraphFontTest extends ezcImageTestCase
public function testISO_8859_15SpecialCharsFlash()
{
+ if ( !ezcBaseFeatures::hasExtensionSupport( "ming" ) )
+ {
+ $this->markTestSkipped( "ext/ming not found" );
+ }
+
$filename = $this->tempDir . __FUNCTION__ . '.swf';
$driver = new ezcGraphFlashDriver();
OpenPOWER on IntegriCloud