Hi all,
 
just a "little" question: How can we execute our PHPUnit tests for our
own developed classes?
 
E.g.:
- new class (<shop>/core/dsb_avs3publication.php | extends oxI18n)
- new test class (<shop>/tst-deploy/dsb_avs3publication_DeployTest.php
| extends PHPUnit_Framework_TestCase)
 
Generally in our other projects (without OXID as framework) there's no
problem.
But in this case we have to require the index.php of the shop so that
we can use our new class.
 
On execution we get following message:
---------------------------------------------------------------------------------
This Software is the property of OXID eSales and is protected
by copyright law - it is NOT Freeware.
 
Any unauthorized use of this software without a valid license key
is a violation of the license agreement and will be prosecuted by
civil and criminal law.
 

<html><body><a href="http://www.zend.com/products/zend_guard";><img (
'http://www.zend.com/products/zend_guard"; ) border="0"
src="http://www.zend.com/images/store/safeguard_optimizer_img.gif";
align="right"></a><center><h1>Zend Optimizer not
installed</h1></center><p>This file was encoded by the <a
href="http://www.zend.com/products/zend_guard";>Zend (
'http://www.zend.com/products/zend_guard"; ) Guard</a>. In order to run
it, please install the <a
href="http://www.zend.com/products/zend_optimizer";>Zend (
'http://www.zend.com/products/zend_optimizer"; ) Optimizer</a> (available
without charge), version 3.0.0 or later. </p><h2>Seeing this message
instead of the website you expected?</h2>This means that this webserver
is not configured correctly. In order to view this website properly,
please contact the website's system administrator/webmaster with the
following message:<br><br><tt>The component "Zend Optimizer" is not
installed on the Web Server and therefore cannot service encoded files.
Please download and install the Zend Optimizer (available without
charge) on the Web Server.</tt><br><br><b>Note</b>: Zend Technologies
cannot resolve issues related to this message appearing on websites not
belonging to <a href="http://www.zend.com";>Zend ( 'http://www.zend.com";
) Technologies</a>. <h2>What is the Zend Optimizer?</h2><p>The Zend
Optimizer is one of the most popular PHP plugins for
performance-improvement, and has been available without charge, since
the early days of PHP 4. It improves performance by scanning PHP's
intermediate code and passing it through multiple Optimization Passes to
replace inefficient code patterns with more efficient code blocks. The
replaced code blocks perform exactly the same operations as the original
code, only faster. </p><p>In addition to improving performance, the Zend
Optimizer also enables PHP to transparently load files encoded by the
Zend Guard. </p><p>The Zend Optimizer is a free product available for
download from <a href="http://www.zend.com";>Zend ( 'http://www.zend.com";
) Technologies</a>. Zend Technologies also developed the PHP scripting
engine, known as the <a
href="http://www.zend.com/products/zend_engine";>Zend (
'http://www.zend.com/products/zend_engine"; )
Engine</a>.</p></body></html>
---------------------------------------------------------------------------------
 
Okay, we have a guess why we got this message: Using XDebug instead of
Zend!
But to run PHPUnit, we have to use XDebug, doesn't we?
How do you solve this issue?
 
Thanks in advance
Jens
 
Mit freundlichen Grüßen/Kind regards
dsb AG
Jens Geissler
Business Integration EntwicklerKonrad-Zuse-Str. 16
D-74172 Neckarsulm

Tel.: +49 7132-385-6363
Fax: +49 7132-385-6243
http://www.dsb.net 

------------------------------------------
Sitz der Gesellschaft: Neckarsulm 
Registergericht Heilbronn: HRB 7729 
Vorsitzender des Aufsichtsrats: Ulrich Beck 
Vorstand: Michael Metken 

------------------------------------------
Registered office: Neckarsulm 
Register court Heilbronn: HRB 7729 
Chairman of the supervisory board: Ulrich Beck 
CEO: Michael Metken 
------------------------------------------

Diese E-Mail kann vertrauliche Informationen enthalten.
Wenn Sie nicht der Adressat sind, sind Sie nicht zur 
Verwendung der in dieser E-Mail enthaltenen Informationen befugt.
Bitte benachrichtigen Sie uns sofort über den irrtümlichen Empfang. 
-----------------------------------------------------------------------------

This e-mail may contain confidential information. If you are not the
addressee you are not authorized to make use of the information 
contained in this e-mail. Please inform us immediately that you 
have received it by mistake.
------------------------------------------
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to