TestClassTemplateCall
extends WP_UnitTestCase
in package
Tags
Table of Contents
- $_expectationPdf : array<string|int, mixed>
- $_expectationTemplatePath : array<string|int, mixed>
- testConstruct() : mixed
- testLoadPdf() : mixed
- testReadTemplates() : mixed
Properties
$_expectationPdf
private
array<string|int, mixed>
$_expectationPdf
= ['urn:onoffice-de-ns:smart:2.5:pdf:expose:kurz:design01Aushang' => 'Design01Aushang', 'urn:onoffice-de-ns:smart:2.5:pdf:expose:kurz:design01Expose' => 'Design01Expose (kurz)', 'urn:onoffice-de-ns:smart:2.5:pdf:expose:lang:design01Expose' => 'Design01Expose (lang)', 'urn:onoffice-de-ns:smart:2.5:pdf:expose:kurz:design02Aushang' => 'Design02Aushang', 'urn:onoffice-de-ns:smart:2.5:pdf:expose:kurz:design02Expose' => 'Design02Expose (kurz)', 'urn:onoffice-de-ns:smart:2.5:pdf:expose:lang:design02Expose' => 'Design02Expose (lang)', 'urn:onoffice-de-ns:smart:2.5:pdf:expose:kurz:objektnachweis' => 'Exposé Objektnachweis', 'urn:onoffice-de-ns:smart:2.5:pdf:expose:kurz:landscape' => 'Exposé Querformat (kurz)', 'urn:onoffice-de-ns:smart:2.5:pdf:expose:lang:landscape' => 'Exposé Querformat (lang)']
$_expectationTemplatePath
private
array<string|int, mixed>
$_expectationTemplatePath
= [1 => ['path' => ['...\\wordpress\\wp-content\\plugins/onoffice-themes/templates/address/SearchFormAddress.php' => "SearchFormAddress.php", '...\\wordpress\\wp-content\\plugins/onoffice-themes/templates/address/default.php' => "default.php"], 'title' => "Personalized (Theme)", 'folder' => "onoffice-theme/templates/address", 'order' => 1], 2 => ['path' => ['...\\wordpress\\wp-content\\plugins/onoffice-personalized/templates/address/SearchFormAddress.php' => "SearchFormAddress.php", '...\\wordpress\\wp-content\\plugins/onoffice-personalized/templates/address/default.php' => "default.php"], 'title' => "Personalized (Plugin)", 'folder' => "onoffice-personalized/templates/address", 'order' => 2], 3 => ['path' => ['oo-wp-plugin/templates.dist/address/SearchFormAddress.php' => "SearchFormAddress.php", 'oo-wp-plugin/templates.dist/address/default.php' => "default.php"], 'title' => "Included", 'folder' => "oo-wp-plugin/templates.dist/address", 'order' => 3]]
Methods
testConstruct()
public
testConstruct() : mixed
Return values
mixed —testLoadPdf()
public
testLoadPdf() : mixed
Return values
mixed —testReadTemplates()
public
testReadTemplates() : mixed