original_string: 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);
              }
          }
      }
code: 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);
              }
          }
      }
code_tokens: 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 ) ; } } }
docstring: Deletes all dummy files and folders.
  
  @return void
docstring_tokens: Deletes all dummy files and folders .