Changeset 394
- Timestamp:
- 03/18/07 12:48:02 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/main/php/net/stubbles/xml/xsl/stubXSLProcessor.php
r347 r394 54 54 public function __construct() 55 55 { 56 if (extension_loaded('xsl') == false) { 57 throw new stubException('Can not create ' . __CLASS__ . ', requires PHP-extension "xsl".'); 58 } 59 56 60 $this->createXSLTProcessor(); 57 61 } trunk/src/test/php/net/stubbles/xml/xsl/stubXSLProcessorTestCase.php
r347 r394 60 60 */ 61 61 protected $document; 62 63 /** 64 * skip the test if xsl not available 65 */ 66 public function skip() 67 { 68 $this->skipUnless(extension_loaded('xsl'), 'stubXSLProcessor requires PHP-extension "xsl".'); 69 } 62 70 63 71 /**
