This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed test reporting issue with DocumentLiteral test
- Test needed to run in a separate process... - which exposed issues with TestConfiguration, requiring that we test if a constant is defined prior to defining it. - Also, moved "MyCalculatorService", consumed by DocumentLiteralWrapperTest, to a separate TestAsset file
- Loading branch information
1 parent
22d3660
commit fcc59de
Showing
2 changed files
with
51 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
<?php | ||
/** | ||
* Zend Framework | ||
* | ||
* LICENSE | ||
* | ||
* This source file is subject to the new BSD license that is bundled | ||
* with this package in the file LICENSE.txt. | ||
* It is also available through the world-wide-web at this URL: | ||
* http://framework.zend.com/license/new-bsd | ||
* If you did not receive a copy of the license and are unable to | ||
* obtain it through the world-wide-web, please send an email | ||
* to license@zend.com so we can send you a copy immediately. | ||
* | ||
* @category Zend | ||
* @package Zend_Soap | ||
* @subpackage UnitTests | ||
* @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) | ||
* @license http://framework.zend.com/license/new-bsd New BSD License | ||
*/ | ||
|
||
namespace ZendTest\Soap\TestAsset; | ||
|
||
/** | ||
* MyCalculatorService | ||
* | ||
* Class used in DocumentLiteralWrapperTest | ||
*/ | ||
class MyCalculatorService | ||
{ | ||
/** | ||
* @param int $x | ||
* @param int $y | ||
* @return int | ||
*/ | ||
public function add($x, $y) | ||
{ | ||
return $x+$y; | ||
} | ||
} | ||
|