public function cleanUp($performDeepCleanUp = false)
    {
        $this->cleanUpTableSet(false, $performDeepCleanUp);
        $this->cleanUpTableSet(true, $performDeepCleanUp);
        $this->deleteAllDummyFoldersAndFiles();
        $this->discardFakeFrontEnd();

        foreach ($this->getHooks() as $hook) {
            if (!($hook instanceof \Tx_Phpunit_Interface_FrameworkCleanupHook)) {
                throw new Exception(
                    'The class ' . get_class($hook) . ' must implement \\Tx_Phpunit_Interface_FrameworkCleanupHook.',
                    1299257923
                );
            }
            /** @var \Tx_Phpunit_Interface_FrameworkCleanupHook $hook */
            $hook->cleanUp();
        }

        RootlineUtility::purgeCaches();
    }
public function cleanUp($performDeepCleanUp = false)
    {
        $this->cleanUpTableSet(false, $performDeepCleanUp);
        $this->cleanUpTableSet(true, $performDeepCleanUp);
        $this->deleteAllDummyFoldersAndFiles();
        $this->discardFakeFrontEnd();

        foreach ($this->getHooks() as $hook) {
            if (!($hook instanceof \Tx_Phpunit_Interface_FrameworkCleanupHook)) {
                throw new Exception(
                    'The class ' . get_class($hook) . ' must implement \\Tx_Phpunit_Interface_FrameworkCleanupHook.',
                    1299257923
                );
            }
            /** @var \Tx_Phpunit_Interface_FrameworkCleanupHook $hook */
            $hook->cleanUp();
        }

        RootlineUtility::purgeCaches();
    }
public function cleanUp ( $ performDeepCleanUp = false ) { $ this -> cleanUpTableSet ( false , $ performDeepCleanUp ) ; $ this -> cleanUpTableSet ( true , $ performDeepCleanUp ) ; $ this -> deleteAllDummyFoldersAndFiles ( ) ; $ this -> discardFakeFrontEnd ( ) ; foreach ( $ this -> getHooks ( ) as $ hook ) { if ( ! ( $ hook instanceof \ Tx_Phpunit_Interface_FrameworkCleanupHook ) ) { throw new Exception ( 'The class ' . get_class ( $ hook ) . ' must implement \\Tx_Phpunit_Interface_FrameworkCleanupHook.' , 1299257923 ) ; } /** @var \Tx_Phpunit_Interface_FrameworkCleanupHook $hook */ $ hook -> cleanUp ( ) ; } RootlineUtility :: purgeCaches ( ) ; }
Deletes all dummy records that have been added through this framework.
For this, all records with the "is_dummy_record" flag set to 1 will be
deleted from all tables that have been used within this instance of the
testing framework.

If you set $performDeepCleanUp to TRUE, it will go through ALL tables to
which the current instance of the testing framework has access. Please
consider well, whether you want to do this as it's a huge performance
issue.

@param bool $performDeepCleanUp
whether a deep clean up should be performed

@return void

@throws Exception
Deletes all dummy records that have been added through this framework . For this all records with the is_dummy_record flag set to 1 will be deleted from all tables that have been used within this instance of the testing framework .