Xfce Wiki

Sub domains
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
thunar:dev:integration_testcases [2024/02/09 21:40] alexxconsthunar:dev:integration_testcases [2025/07/02 08:26] (current) alexxcons
Line 10: Line 10:
  
 == Memory Leakage  == == Memory Leakage  ==
 +  * Run all below testcases with "valgrind thunar/thunar"
   * check used ram of thunar in taskmanager after each test and compare with previous thunar version   * check used ram of thunar in taskmanager after each test and compare with previous thunar version
     * Ram at least should not increase dramatically     * Ram at least should not increase dramatically
-  * Build thunar with ''./autogen.sh --enable-debug=full'' +  * Build thunar with <code>./autogen.sh --enable-debug=full</code>
   * Check if any leakage is reported during testing (report done when closing thunar)   * Check if any leakage is reported during testing (report done when closing thunar)
 +  * See the last post of [[https://gitlab.xfce.org/xfce/thunar/-/issues/573|this issue]] for known leaks. Make sure no new leaks were added.
  
 == Performance == == Performance ==
  
-  * File IO+  * Preparation for testing
     * Open a folder in list view + shortcuts pane     * Open a folder in list view + shortcuts pane
     * Open the same folder in icon view + tree pane     * Open the same folder in icon view + tree pane
     * Open a terminal in that folder     * Open a terminal in that folder
-    * File Creation: ''for i in {1..10000}; do touch "$i"; done''+ 
 +  * File IO 
 +    * File Creation: ''for i in {1..20000}; do touch "$i"; done''
     * STRG+A on both views to select them all     * STRG+A on both views to select them all
-    * File Deletion: ''for i in {1..10000}; do rm "$i"; done''+    * File Deletion: ''for i in {1..20000}; do rm "$i"; done''
  
   * Trashing1   * Trashing1
     * Empty trash (to get a clean start)     * Empty trash (to get a clean start)
-    * Open a folder in list view + shortcuts pane +    * ''for i in {1..500}; do touch "$i"; done''
-    * Open the same folder in icon view + tree pane +
-    * Open a terminal in that folder +
-      * ''for i in {1..500}; do touch "$i"; done''+
     * Select and copy them all (STRG+A + STRG+C + STRG+V)     * Select and copy them all (STRG+A + STRG+C + STRG+V)
     * STRG+A + right click --> trash     * STRG+A + right click --> trash
Line 55: Line 55:
       * ''touch file2''       * ''touch file2''
       * ''touch .hidden''       * ''touch .hidden''
 +    * Open all files as well in the bulk renamer
     * check G_FILE_MONITOR_EVENT_MOVED_OUT:     * check G_FILE_MONITOR_EVENT_MOVED_OUT:
       * ''mv file1 ..''       * ''mv file1 ..''
Line 63: Line 64:
         * ''mv .hidden hidden''         * ''mv .hidden hidden''
         * ''mv hidden .hidden''         * ''mv hidden .hidden''
 +      * ''touch a && mv a a.bin && rm a.bin && touch a && mv a a.bin''
 +        * a.bin should be visible and a should be gone
       * Save file via mousepad (creates some temp files and then replaces the original one via rename/move)       * Save file via mousepad (creates some temp files and then replaces the original one via rename/move)
 +      * Create and enter some folder ''foo''. Press back and then rename that folder via F2.
     * G_FILE_MONITOR_EVENT_CHANGED     * G_FILE_MONITOR_EVENT_CHANGED
       * Sort files by date in both views        * Sort files by date in both views 
Line 71: Line 75:
     * G_FILE_MONITOR_EVENT_DELETED     * G_FILE_MONITOR_EVENT_DELETED
       * ''rm .hidden'' (try that with and without having hidden files enabled in both views)       * ''rm .hidden'' (try that with and without having hidden files enabled in both views)
 +      * for i in {1..1000}; do touch test; rm test; done (no ghost files should remain)
   * On a gvfs mount   * On a gvfs mount
     * Open some folder at <nowiki>sftp://user@localhost</nowiki>     * Open some folder at <nowiki>sftp://user@localhost</nowiki>
     * Create, rename, delete a file via thunar (The changes have to be visible in thunar)     * Create, rename, delete a file via thunar (The changes have to be visible in thunar)
     * Open the same folder via local path. A file created there should show after F5     * Open the same folder via local path. A file created there should show after F5