BUGFIX] Wrong renaming of DBAL dbPostgresqlTest
[Packages/TYPO3.CMS.git] / tests / Unit / t3lib / formprotection / fixtures / class.t3lib_formprotection_testing.php
1 <?php
2 /***************************************************************
3 * Copyright notice
4 *
5 * (c) 2010-2011 Oliver Klee <typo3-coding@oliverklee.de>
6 * All rights reserved
7 *
8 * This script is part of the TYPO3 project. The TYPO3 project is
9 * free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
13 *
14 * The GNU General Public License can be found at
15 * http://www.gnu.org/copyleft/gpl.html.
16 *
17 * This script is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * This copyright notice MUST APPEAR in all copies of the script!
23 ***************************************************************/
24 /**
25 * Class t3lib_formProtection_Testing.
26 *
27 * This is a testing subclass of the abstract t3lib_formprotection_Abstract
28 * class.
29 *
30 * @package TYPO3
31 * @subpackage t3lib
32 * @author Oliver Klee <typo3-coding@oliverklee.de>
33 */
34 class t3lib_formProtection_Testing extends \TYPO3\CMS\Core\FormProtection\AbstractFormProtection {
35
36 /**
37 * Creates or displayes an error message telling the user that the submitted
38 * form token is invalid.
39 *
40 * @return void
41 */
42 protected function createValidationErrorMessage() {
43
44 }
45
46 /**
47 * Retrieves all saved tokens.
48 *
49 * @return array the saved tokens as a two-dimensional array, will be empty
50 */
51 protected function retrieveSessionToken() {
52 $this->sessionToken = $this->generateSessionToken();
53 }
54
55 /**
56 * Saves the tokens so that they can be used by a later incarnation of this
57 * class.
58 *
59 * @return void
60 */
61 public function persistSessionToken() {
62
63 }
64
65 }
66
67 ?>