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/03/14 08:37] 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
Line 19: Line 19:
 == 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 65: 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 73: 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