|
ILIAS
release_8 Revision v8.24
|
Inheritance diagram for ilWkhtmlToPdfConfigTest:
Collaboration diagram for ilWkhtmlToPdfConfigTest:Protected Member Functions | |
| setUp () | |
Protected Attributes | |
| ilWkhtmlToPdfConfig | $config |
| string | $default_start = ' --zoom 1 --enable-external-links --disable-forms ' |
| string | $default_end = "--orientation Portrait --page-size 'A4' --javascript-delay 500 --margin-bottom '0.5cm' --margin-left '0.5cm' --margin-right '2cm' --margin-top '2cm' --quiet " . self::COOKIE_STRING |
| string | $default_quiet = "--quiet " |
| string | $second_quiet = '--quiet --cookie "PHPSESSID" "" --cookie "ilClientId" "1" ' |
| string | $default_margin_args = "--margin-bottom '0.5cm' --margin-left '0.5cm' --margin-right '2cm' --margin-top '2cm' " |
Private Attributes | |
| const | COOKIE_STRING = '--cookie "PHPSESSID" "" --cookie "ilClientId" "1" ' |
Definition at line 29 of file ilWkhtmlToPdfConfigTest.php.
|
protected |
Definition at line 39 of file ilWkhtmlToPdfConfigTest.php.
| ilWkhtmlToPdfConfigTest::testDefaultConfig | ( | ) |
Definition at line 52 of file ilWkhtmlToPdfConfigTest.php.
| ilWkhtmlToPdfConfigTest::testDefaultConfigCommandline | ( | ) |
Definition at line 66 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigOnObject | ( | ) |
Definition at line 87 of file ilWkhtmlToPdfConfigTest.php.
References $default_end.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigSimple | ( | ) |
Definition at line 73 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithCheckbox | ( | ) |
Definition at line 192 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithCheckedCheckbox | ( | ) |
Definition at line 199 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithCheckedRadiobutton | ( | ) |
Definition at line 213 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithDisabledExternalLinks | ( | ) |
Definition at line 220 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithEnabledExternalLinks | ( | ) |
Definition at line 169 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithEnabledForms | ( | ) |
Definition at line 162 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithEnabledLowQuality | ( | ) |
Definition at line 176 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithEnabledPrintMediaType | ( | ) |
Definition at line 185 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithFooterHtmlWithLine | ( | ) |
Definition at line 152 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING, and ilPDFGenerationConstants\FOOTER_HTML.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithFooterHtmlWithoutLine | ( | ) |
Definition at line 143 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING, and ilPDFGenerationConstants\FOOTER_HTML.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithFooterTextWithoutLine | ( | ) |
Definition at line 132 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING, and ilPDFGenerationConstants\FOOTER_TEXT.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithGrayscale | ( | ) |
Definition at line 93 of file ilWkhtmlToPdfConfigTest.php.
References $default_end.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithHeaderHtmlWithHeaderTextConfigured | ( | ) |
Definition at line 120 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING, and ilPDFGenerationConstants\HEADER_HTML.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithHeaderHtmlWithoutLine | ( | ) |
Definition at line 111 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING, and ilPDFGenerationConstants\HEADER_HTML.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithHeaderTextWithoutLine | ( | ) |
Definition at line 100 of file ilWkhtmlToPdfConfigTest.php.
References ilPDFGenerationConstants\HEADER_TEXT.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithLandscape | ( | ) |
Definition at line 227 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetCommandLineConfigWithRadiobutton | ( | ) |
Definition at line 206 of file ilWkhtmlToPdfConfigTest.php.
References COOKIE_STRING.
| ilWkhtmlToPdfConfigTest::testGetConfigShouldReturnConfigObject | ( | ) |
Definition at line 239 of file ilWkhtmlToPdfConfigTest.php.
| ilWkhtmlToPdfConfigTest::testInstanceCanBeCreated | ( | ) |
Definition at line 47 of file ilWkhtmlToPdfConfigTest.php.
| ilWkhtmlToPdfConfigTest::testReadConfigFromJson | ( | ) |
Definition at line 253 of file ilWkhtmlToPdfConfigTest.php.
| ilWkhtmlToPdfConfigTest::testReadConfigFromObject | ( | ) |
Definition at line 244 of file ilWkhtmlToPdfConfigTest.php.
| ilWkhtmlToPdfConfigTest::testSupportMultiSourceFiles | ( | ) |
Definition at line 234 of file ilWkhtmlToPdfConfigTest.php.
|
protected |
Definition at line 33 of file ilWkhtmlToPdfConfigTest.php.
|
protected |
Definition at line 35 of file ilWkhtmlToPdfConfigTest.php.
Referenced by testGetCommandLineConfigOnObject(), and testGetCommandLineConfigWithGrayscale().
|
protected |
Definition at line 183 of file ilWkhtmlToPdfConfigTest.php.
|
protected |
Definition at line 36 of file ilWkhtmlToPdfConfigTest.php.
|
protected |
Definition at line 34 of file ilWkhtmlToPdfConfigTest.php.
|
protected |
Definition at line 37 of file ilWkhtmlToPdfConfigTest.php.
|
private |
Definition at line 31 of file ilWkhtmlToPdfConfigTest.php.
Referenced by testDefaultConfigCommandline(), testGetCommandLineConfigSimple(), testGetCommandLineConfigWithCheckbox(), testGetCommandLineConfigWithCheckedCheckbox(), testGetCommandLineConfigWithCheckedRadiobutton(), testGetCommandLineConfigWithDisabledExternalLinks(), testGetCommandLineConfigWithEnabledExternalLinks(), testGetCommandLineConfigWithEnabledForms(), testGetCommandLineConfigWithEnabledLowQuality(), testGetCommandLineConfigWithEnabledPrintMediaType(), testGetCommandLineConfigWithFooterHtmlWithLine(), testGetCommandLineConfigWithFooterHtmlWithoutLine(), testGetCommandLineConfigWithFooterTextWithoutLine(), testGetCommandLineConfigWithHeaderHtmlWithHeaderTextConfigured(), testGetCommandLineConfigWithHeaderHtmlWithoutLine(), testGetCommandLineConfigWithLandscape(), and testGetCommandLineConfigWithRadiobutton().