Go to the source code of this file.
Variables | |
| $root = dirname(__DIR__, 2) | |
| Regressionstest für die ruhigen Metallflächen des Steal-Designs. | |
| $metalFile = $root . '/design/steal/css/steal-metal.css' | |
| $riffelFile = $root . '/design/steal/css/steal-riffel-chrome.css' | |
| $templateFile = $root . '/design/steal/htm/default.htm' | |
| $manifestFile = $root . '/design/steal/design.json' | |
| $gearFile = $root . '/design/steal/img/dbx-page-gears-v1.svg' | |
| $fail | |
| $read | |
| $rule | |
| $metal = $read($metalFile) | |
| $riffel = $read($riffelFile) | |
| $template = $read($templateFile) | |
| $manifest = json_decode($read($manifestFile), true) | |
| $gears = $read($gearFile) | |
| foreach(array($rule($metal, 'body.dbx-steal .c-cms :is(.card,.alert,.list-group-item)'), $rule($riffel, 'body.dbx-steal-riffel :is(.card,.dbx-card,.list-group-item,.alert)'),) as $cardRule) | $mainRule = $rule($riffel, 'body.dbx-steal-riffel #dbxMain') |
| if(strpos($mainRule, 'dbx-page-gears-v1.svg')===false||strpos($mainRule, 'background-repeat:no-repeat, no-repeat, repeat !important')===false||strpos($mainRule, 'background-size:100vw auto')===false) | $assets = is_array($manifest) ? (array)($manifest['material_system']['assets'] ?? array()) : array() |
| if(!in_array( 'img/dbx-page-gears-v1.svg', $assets, true)||substr_count( $gears, '< use href="#engraved-gear"/>')< 5) | if (strpos( $template, 'steal-metal.css?v=4')===false||strpos( $template, 'steal-riffel-chrome.css?v=8')===false) |
| if (strpos( $mainRule, 'dbx-page-gears-v1.svg')===false||strpos( $mainRule, 'background-repeat:no-repeat, no-repeat, repeat !important')===false||strpos( $mainRule, 'background-size:100vw auto')===false) $assets = is_array($manifest) ? (array)($manifest['material_system']['assets'] ?? array()) : array() |
Definition at line 68 of file dbxStealSurfaceContract_test.php.
Referenced by dbxDoxygenPrepareContent(), and dbxDoxygenRegisterMedia().
| $fail |
Definition at line 17 of file dbxStealSurfaceContract_test.php.
| $gearFile = $root . '/design/steal/img/dbx-page-gears-v1.svg' |
Definition at line 15 of file dbxStealSurfaceContract_test.php.
| $gears = $read($gearFile) |
Definition at line 47 of file dbxStealSurfaceContract_test.php.
| foreach (array( $rule( $metal, 'body.dbx-steal .c-cms :is(.card,.alert,.list-group-item)'), $rule( $riffel, 'body.dbx-steal-riffel :is(.card,.dbx-card,.list-group-item,.alert)'),) as $cardRule) $mainRule = $rule($riffel, 'body.dbx-steal-riffel #dbxMain') |
Definition at line 61 of file dbxStealSurfaceContract_test.php.
| $manifest = json_decode($read($manifestFile), true) |
Definition at line 46 of file dbxStealSurfaceContract_test.php.
Referenced by dbx\dbxAdmin\dbxUpdateService\check(), dbx\dbxAdmin\dbxUpdateService\inspectPackage(), dbx\dbxAdmin\dbxUpdateDatabaseAdapter\prepare(), dbx\dbxAdmin\dbxUpdateService\prepare(), UpdateDatabaseAdapterStub\prepare(), dbx\dbxAdmin\dbxUpdate\run(), dbx\dbxAdmin\dbxUpdateService\stage(), dbx\dbxAdmin\dbxUpdateService\status(), update_test_stage(), and dbx\dbxAdmin\dbxUpdateService\validateManifest().
| $manifestFile = $root . '/design/steal/design.json' |
Definition at line 14 of file dbxStealSurfaceContract_test.php.
| $metal = $read($metalFile) |
Definition at line 43 of file dbxStealSurfaceContract_test.php.
| $metalFile = $root . '/design/steal/css/steal-metal.css' |
Definition at line 11 of file dbxStealSurfaceContract_test.php.
| $read |
Definition at line 22 of file dbxStealSurfaceContract_test.php.
| $riffel = $read($riffelFile) |
Definition at line 44 of file dbxStealSurfaceContract_test.php.
| $riffelFile = $root . '/design/steal/css/steal-riffel-chrome.css' |
Definition at line 12 of file dbxStealSurfaceContract_test.php.
| $root = dirname(__DIR__, 2) |
Regressionstest für die ruhigen Metallflächen des Steal-Designs.
Verläufe in Cards dürfen nicht als kleine Kacheln wiederholt werden. Der technische Hintergrund verwendet stattdessen eine einzelne, viewportbreite Zahnrad-Gravur über dem Riffelblech.
Definition at line 10 of file dbxStealSurfaceContract_test.php.
| $rule |
Definition at line 30 of file dbxStealSurfaceContract_test.php.
Referenced by dbxValidator\get_rule_val().
| $template = $read($templateFile) |
Definition at line 45 of file dbxStealSurfaceContract_test.php.
| $templateFile = $root . '/design/steal/htm/default.htm' |
Definition at line 13 of file dbxStealSurfaceContract_test.php.
| if(!in_array('img/dbx-page-gears-v1.svg', $assets, true)||substr_count($gears, '< use href="#engraved-gear"/>')< 5) if(strpos($template, 'steal-metal.css?v=4')===false||strpos($template, 'steal-riffel-chrome.css?v=8')===false) | ( | strpos( $template, 'steal-metal.css?v=4') | = == false || strpos($template, 'steal-riffel-chrome.css?v=8') === false | ) |
Definition at line 74 of file dbxStealSurfaceContract_test.php.