Index: trunk/extensions/DonationInterface/tests/Adapter/GlobalCollect/GlobalCollectTestAdapter.php |
— | — | @@ -0,0 +1,37 @@ |
| 2 | +<?php |
| 3 | +/** |
| 4 | + * Wikimedia Foundation |
| 5 | + * |
| 6 | + * LICENSE |
| 7 | + * |
| 8 | + * This program is free software; you can redistribute it and/or modify |
| 9 | + * it under the terms of the GNU General Public License as published by |
| 10 | + * the Free Software Foundation; either version 2 of the License, or |
| 11 | + * (at your option) any later version. |
| 12 | + * |
| 13 | + * This program is distributed in the hope that it will be useful, |
| 14 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | + * GNU General Public License for more details. |
| 17 | + * |
| 18 | + * |
| 19 | + * @since r100942 |
| 20 | + * @author Jeremy Postlethwaite <jpostlethwaite@wikimedia.org> |
| 21 | + */ |
| 22 | + |
| 23 | +/** |
| 24 | + * GlobalCollectTestAdapter |
| 25 | + */ |
| 26 | +class GlobalCollectTestAdapter extends GlobalCollectAdapter { |
| 27 | + |
| 28 | + /** |
| 29 | + * This allows buildRequestXML() to be called for unit testing. |
| 30 | + * |
| 31 | + * @see GatewayAdapter::buildRequestXML() |
| 32 | + */ |
| 33 | + public function executeBuildRequestXML() { |
| 34 | + |
| 35 | + return $this->buildRequestXML(); |
| 36 | + } |
| 37 | +} |
| 38 | + |
Property changes on: trunk/extensions/DonationInterface/tests/Adapter/GlobalCollect/GlobalCollectTestAdapter.php |
___________________________________________________________________ |
Added: svn:eol-style |
1 | 39 | + native |
Added: svn:mime-type |
2 | 40 | + text/plain |
Added: svn:keywords |
3 | 41 | + Author Date HeadURL Header Id Revision |