[BUGFIX] Show loading label while scanning broken extensions
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Tests / Acceptance / Support / Helper / FormHandlerElementTestDataObject.php
1 <?php
2 declare(strict_types=1);
3
4 /*
5 * This file is part of the TYPO3 CMS project.
6 *
7 * It is free software; you can redistribute it and/or modify it under
8 * the terms of the GNU General Public License, either version 2
9 * of the License, or any later version.
10 *
11 * For the full copyright and license information, please read the
12 * LICENSE.txt file that was distributed with this source code.
13 *
14 * The TYPO3 project - inspiring people to share!
15 */
16
17 namespace TYPO3\CMS\Core\Tests\Acceptance\Support\Helper;
18
19 /**
20 * Class FormHandlerElementTestDataObject.
21 */
22 class FormHandlerElementTestDataObject
23 {
24 /**
25 * The test value.
26 *
27 * @var string
28 */
29 public $inputValue;
30
31 /**
32 * The expected value as seen by the user.
33 *
34 * @var string
35 */
36 public $expectedValue;
37
38 /**
39 * The expected value in the value attribute of the hidden field
40 * (full ISO date for example).
41 *
42 * @var string
43 */
44 public $expectedInternalValue;
45
46 /**
47 * Expected value in hidden field after saving the data.
48 *
49 * @var string
50 */
51 public $expectedValueAfterSave;
52
53 /**
54 * Does this test data set result in a modal window (e.g. for errors)?
55 *
56 * @var bool
57 */
58 public $notificationExpected;
59
60 /**
61 * Comment echoed in test log.
62 *
63 * @var string
64 */
65 public $comment;
66
67 /**
68 * FormHandlerElementTestDataObject constructor.
69 *
70 * @param string $inputValue
71 * @param string $expectedValue
72 * @param string $expectedInternalValue
73 * @param string $expectedValueAfterSave
74 * @param bool $notificationExpected
75 * @param string $comment
76 */
77 public function __construct(
78 string $inputValue,
79 string $expectedValue,
80 string $expectedInternalValue = '',
81 string $expectedValueAfterSave = '',
82 bool $notificationExpected = false,
83 string $comment = ''
84 ) {
85 $this->inputValue = $inputValue;
86 $this->expectedValue = $expectedValue;
87 $this->expectedInternalValue = $expectedInternalValue;
88 $this->expectedValueAfterSave = $expectedValueAfterSave;
89 $this->notificationExpected = $notificationExpected;
90 $this->comment = $comment;
91 }
92 }