Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
thunar:dev:integration_testcases [2024/01/22 18:26] – alexxcons | thunar:dev:integration_testcases [2024/04/04 18:07] – alexxcons | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | Before doing a release or merging a substantial patch, it might make sense to run some test cases to compare thecurrent thunar behavior/ | + | ===== Integration Testcases ===== |
- | - Enable folder specific setting | + | Before doing a release or merging a substantial patch, it might make sense to run some test cases to compare the current thunar behavior/ |
- | - Enable intermediate files on copy | + | |
- | - Enable thumbnailing (Always) | + | For all tests, do the following: |
+ | |||
+ | * Enable folder specific setting | ||
+ | | ||
+ | | ||
+ | |||
+ | == 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 == | ||
- | | + | |
- | * 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: '' |
- | | + | |
* Empty trash (to get a clean start) | * Empty trash (to get a clean start) | ||
- | * Open a folder in list view | + | * '' |
- | * Open the same folder in icon view | + | |
- | * Open a terminal in that folder | + | |
- | * File Creation: | + | |
* 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 28: | Line 40: | ||
* Empty trash | * Empty trash | ||
+ | * Trashing2 | ||
+ | * This one currently freezes thunar for ~10sec ([[https:// | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | == Synchronization | ||
+ | |||
+ | * File Monitoring | ||
+ | * Each terminal command should update the thunar views accordingly | ||
+ | * Open a folder in list view on some local folder + shortcuts pane | ||
+ | * Open the same folder in icon view + tree pane | ||
+ | * 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_IN: | ||
+ | * '' | ||
+ | * check G_FILE_MONITOR_EVENT_RENAMED | ||
+ | * Hidden files - Do the following first with show-hidden enabled on both windows, and then with having it disabled | ||
+ | * '' | ||
+ | * '' | ||
+ | * Save file via mousepad (creates some temp files and then replaces the original one via rename/ | ||
+ | * G_FILE_MONITOR_EVENT_CHANGED | ||
+ | * Sort files by date in both views | ||
+ | * '' | ||
+ | * '' | ||
+ | * Check if the same works if saved via mousepad | ||
+ | * G_FILE_MONITOR_EVENT_DELETED | ||
+ | * '' | ||
- | | + | |
+ | * Open some folder at < | ||
+ | * 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 |