See Release Notes
Long Term Support Release
(no description)
File Size: | 252 lines (11 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
import_test:: (2 methods):
test_import_execute()
import_execute_provider()
Class: import_test - X-Ref
Tests for the import class.test_import_execute(string $filecontents, bool $expectedpreset, bool $expectedsettings = false,bool $expectedplugins = false, bool $expecteddebugging = false, string $expectedexception = null,string $expectedpresetname = 'Imported preset') X-Ref |
Test the behaviour of execute() method. param: string $filecontents File content to import. param: bool $expectedpreset Whether the preset should be created or not. param: bool $expectedsettings Whether settings will be created or not. param: bool $expectedplugins Whether plugins will be created or not. param: bool $expecteddebugging Whether debugging message will be thrown or not. param: string|null $expectedexception Expected exception class (if that's the case). param: string|null $expectedpresetname Expected preset name. |
import_execute_provider() X-Ref |
Data provider for test_import_execute(). return: array |