protected function deleteAllDummyFoldersAndFiles()
    {
        // If the upload folder was created by the testing framework, it can be
        // removed at once.
        if (isset($this->dummyFolders['uploadFolder'])) {
            GeneralUtility::rmdir($this->getUploadFolderPath(), true);
            $this->dummyFolders = [];
            $this->dummyFiles = [];
        } else {
            foreach ($this->dummyFiles as $dummyFile) {
                $this->deleteDummyFile($dummyFile);
            }
            foreach ($this->dummyFolders as $dummyFolder) {
                $this->deleteDummyFolder($dummyFolder);
            }
        }
    }
protected function deleteAllDummyFoldersAndFiles()
    {
        // If the upload folder was created by the testing framework, it can be
        // removed at once.
        if (isset($this->dummyFolders['uploadFolder'])) {
            GeneralUtility::rmdir($this->getUploadFolderPath(), true);
            $this->dummyFolders = [];
            $this->dummyFiles = [];
        } else {
            foreach ($this->dummyFiles as $dummyFile) {
                $this->deleteDummyFile($dummyFile);
            }
            foreach ($this->dummyFolders as $dummyFolder) {
                $this->deleteDummyFolder($dummyFolder);
            }
        }
    }
protected function deleteAllDummyFoldersAndFiles ( ) { // If the upload folder was created by the testing framework, it can be // removed at once. if ( isset ( $ this -> dummyFolders [ 'uploadFolder' ] ) ) { GeneralUtility :: rmdir ( $ this -> getUploadFolderPath ( ) , true ) ; $ this -> dummyFolders = [ ] ; $ this -> dummyFiles = [ ] ; } else { foreach ( $ this -> dummyFiles as $ dummyFile ) { $ this -> deleteDummyFile ( $ dummyFile ) ; } foreach ( $ this -> dummyFolders as $ dummyFolder ) { $ this -> deleteDummyFolder ( $ dummyFolder ) ; } } }
Deletes all dummy files and folders.

@return void
Deletes all dummy files and folders .