Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
thunar:dev:integration_testcases [2024/02/07 09:45] – alexxcons | thunar:dev:integration_testcases [2024/06/17 16:30] (current) – Add file monitoring test alexxcons | ||
---|---|---|---|
Line 10: | Line 10: | ||
== Memory Leakage | == Memory Leakage | ||
+ | * Run all below testcases with " | ||
* 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 '' | + | * Build thunar with < |
* 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:// | ||
== 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 | ||
- | | + | * File Creation: '' |
- | * Open the same folder in icon view | + | |
- | * Open a terminal in that folder | + | |
- | | + | |
* STRG+A on both views to select them all | * STRG+A on both views to select them all | ||
- | * File Deletion: '' | + | * File Deletion: '' |
* Trashing1 | * Trashing1 | ||
* Empty trash (to get a clean start) | * Empty trash (to get a clean start) | ||
- | | + | * '' |
- | * Open the same folder in icon view | + | |
- | * Open a terminal in that folder | + | |
- | | + | |
* 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 |
- | * 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 | ||
* '' | * '' | ||
* '' | * '' | ||
* '' | * '' | ||
+ | * Open all files as well in the bulk renamer | ||
* check G_FILE_MONITOR_EVENT_MOVED_OUT: | * check G_FILE_MONITOR_EVENT_MOVED_OUT: | ||
* '' | * '' | ||
Line 64: | Line 66: | ||
* '' | * '' | ||
* Save file via mousepad (creates some temp files and then replaces the original one via rename/ | * Save file via mousepad (creates some temp files and then replaces the original one via rename/ | ||
+ | * Create and enter some folder '' | ||
* 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 74: | ||
* G_FILE_MONITOR_EVENT_DELETED | * G_FILE_MONITOR_EVENT_DELETED | ||
* '' | * '' | ||
+ | * 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 < | * Open some folder at < | ||
* 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 |