• Walt Sorensen's avatar
    Unit testing memory management improvements (#10685) · f2bf701c
    Walt Sorensen authored
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * don't unset($this->handler); in cache
    
    * remove tearDown()
    
    tearDown() doesn't need to override parent method and is not needed here.
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    add backupServer
    
    * remove tearDown()
    
    * don't unset($this->object);
    
    * don't unset($this->object);
    
    * don't unset($this->object);
    
    * don't unset($this->object);
    
    * don't unset($this->object);
    
    * don't unset($this->object);
    
    * don't unset($this->object);
    
    * don't unset($this->object);
    
    * don't unset($this->object);
    
    * don't unset($this->object);
    
    * don't unset($this->instance);
    
    * don't unset($this->instance);
    
    * don't unset($doc);
    
    * Revert "add tearDown()"
    
    This reverts commit f2934d16.
    
    * This reverts to commit 9ebae739.
    
    * try adding tearDown() again
    
    * try adding tearDown() again
    
    * retry unset($this->object);
    
    * retry unset() the setup() objects in tearDown()
    
    * retry unset($this->object);
    
    * retry unset($this->object);
    
    * retry unset() the setup() objects in tearDown()
    
    add backupServer
    
    * retry unset() the setup() objects in tearDown()
    
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add BackupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * remove extra line break
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * parent::setUp(); should happen after skip check
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    also missing parent::tearDown();
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * unset() the setUp() objects in tearDown()
    
    add backupServer var
    
    * unset() the setUp() objects in tearDown()
    
    add backupServer var
    
    * unset() the setup() objects in tearDown()
    
    add backupServer var
    
    * unset() the setup() objects in tearDown()
    
    add backupServer var
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    add backupServer var
    
    * don't unset($this->http); it is not part of this test
    
    * don't unset($this->http); it is not part of this test
    
    * don't unset($this->http); it is not part of this test
    
    * don't unset($this->http); it is not part of this test
    
    * don't unset($this->http); it is not part of this test
    
    * unset() the setup() objects in tearDown()
    
    add backupServer var
    
    * unset() the setup() objects in tearDown()
    
    add backupServer var
    
    * missing parent::tearDown();
    
    if you do `parent::setUp();` in `setUp()` you need to do `parent::tearDown();` in `tearDown()`
    
    * unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    
    * add tearDown()
    
    unset() the setup() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * remove extra line break
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * unset() the setUp() objects in tearDown()
    
    * unset() the setup() objects in tearDown()
    
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * unset() the setup() objects in tearDown()
    
    if parent::setUp(); than use parent::tearDown();
    
    * unset() the setUp() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * remove parent::tearDown();
    
    no `parent:setUp();`, so no need for `parent::tearDown();`
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupserver var
    
    * unset() the setUp() objects in tearDown()
    
    add backupServer var
    
    * unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer Var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * unset() the setUp() objects in tearDown()
    
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    add backupServer var
    
    * unset() the setUp() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * remove extra line break
    
    * remove another extra line break
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset() the setUp() objects in tearDown()
    
    * add tearDown()
    
    unset the setUp objects in tearDown
    
    * unset() the setUp() objects in tearDown()
    
    add tearDown
    
    * unset() the setUp() objects in tearDown()
    
    add tearDown
    
    * unset() the setUp() objects in tearDown()
    
    add tearDown
    
    * unset() the setUp() objects in tearDown()
    
    add tearDown
    
    * unset() the setUp() objects in tearDown()
    
    add tearDown
    
    * unset() the setUp() objects in tearDown()
    
    add tearDown
    
    * unset() the setUp() objects in tearDown()
    
    add tearDown
    
    * unset() the setUp() objects in tearDown()
    
    add tearDown
    
    * unset() the setUp() objects in tearDown()
    
    add tearDown
    
    * unset() the setUp() objects in tearDown()
    
    * Always unset setUp() objects
    
    * Always unset setUp() objects
    
    unset() is preferred over ` = null`
    
    * unsetting $this->_cipher broke something?
    
    * unsetting $this->_cipher broke something?
    
    * Cannot redeclare JModelFormTest::tearDown()
    
    This error suddenly showed up PHP Fatal error:  Cannot redeclare JModelFormTest::tearDown() in /tests/unit/suites/libraries/legacy/model/JModelFormTest.php on line 67
    
    testing to see if this fixes the issue
    
    * try unset($this->_cipher) again
    
    * try unset($this->_cipher) again
    
    * unset() the setUp() objects in tearDown()
    f2bf701c
JTwitterTest.php 5.34 KB