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/06 07:47] – alexxcons | thunar:dev:integration_testcases [2024/06/17 16:30] (current) – Add file monitoring test alexxcons | ||
---|---|---|---|
Line 8: | Line 8: | ||
* Enable intermediate files on copy | * Enable intermediate files on copy | ||
* Enable thumbnailing (Always) | * Enable thumbnailing (Always) | ||
+ | |||
+ | == Memory Leakage | ||
+ | * Run all below testcases with " | ||
+ | * check used ram of thunar in taskmanager after each test and compare with previous thunar version | ||
+ | * Ram at least should not increase dramatically | ||
+ | * Build thunar with < | ||
+ | * Check if any leakage is reported during testing (report done when closing thunar) | ||
+ | * See the last post of [[https:// | ||
== Performance == | == Performance == | ||
- | * File IO | + | * Preparation for testing |
- | * Open a folder in list view | + | * Create |
- | * Open the same folder in icon view | + | * Open a folder in list view + shortcuts pane |
+ | * Open the same folder in icon view + tree pane | ||
* Open a terminal in that folder | * Open a terminal in that folder | ||
- | | + | |
+ | * File IO | ||
+ | | ||
* STRG+A on both views to select them all | * STRG+A on both views to select them all | ||
- | * File Deletion: '' | + | * File Deletion: '' |
- | * check used ram of thunar in taskmanager | + | |
- | * Trashing | + | * 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 32: | Line 39: | ||
* Open trash folder with both windows | * Open trash folder with both windows | ||
* Empty trash | * Empty trash | ||
- | | + | |
+ | | ||
+ | * This one currently freezes | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
== Synchronization | == Synchronization | ||
Line 38: | 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 53: | 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 60: | 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 | ||
- |