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/07 09:45] alexxconsthunar:dev:integration_testcases [2024/04/25 15:04] (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 ==
 +
 +  * Preparation for testing
 +    * Create  
 +    * Open a folder in list view + shortcuts pane
 +    * Open the same folder in icon view + tree pane
 +    * Open a terminal in that folder
  
   * File IO   * File IO
-    * Open a folder in list view +    * File Creation: ''for i in {1..20000}; do touch "$i"; done''
-    * Open the same folder in icon view +
-    * Open a terminal in that folder +
-    * File Creation: ''for i in {1..10000}; 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 +    * ''for i in {1..500}; do touch "$i"; done''
-    * Open the same folder in icon view +
-    * 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 49: Line 50:
   * File Monitoring   * File Monitoring
     * Each terminal command should update the thunar views accordingly     * Each terminal command should update the thunar views accordingly
-    * Open a folder in list view on some local folder +    * Open a folder in list view on some local folder + shortcuts pane 
-    * Open the same folder in icon view+    * Open the same folder in icon view + tree pane
     * Open a terminal in that folder and create a some files     * Open a terminal in that folder and create a some files
       * ''touch file1''       * ''touch file1''
       * ''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 ..''