diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:59:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:59:36 +0000 |
commit | ec52555862913a23417735f9f7f5402f5230da13 (patch) | |
tree | 5e43a30d289a3daa69dddfbb060216ff6332f197 /test/automated/displayless/test-utilities.h | |
parent | Initial commit. (diff) | |
download | nautilus-ec52555862913a23417735f9f7f5402f5230da13.tar.xz nautilus-ec52555862913a23417735f9f7f5402f5230da13.zip |
Adding upstream version 3.38.2.upstream/3.38.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | test/automated/displayless/test-utilities.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/test/automated/displayless/test-utilities.h b/test/automated/displayless/test-utilities.h new file mode 100644 index 0000000..878c878 --- /dev/null +++ b/test/automated/displayless/test-utilities.h @@ -0,0 +1,34 @@ +#include <gio/gio.h> +#include <src/nautilus-file-utilities.h> +#include <src/nautilus-global-preferences.h> +#include <src/nautilus-search-engine.h> +#include <tracker-sparql.h> +#include <locale.h> +#include <src/nautilus-file-undo-manager.h> +#include <src/nautilus-file-operations.h> +#include <gio/gio.h> + +#pragma once + +void empty_directory_by_prefix (GFile *parent, + gchar *prefix); + +void create_search_file_hierarchy (gchar *search_engine); +void delete_search_file_hierarchy (gchar *search_engine); + +void quit_loop_callback (NautilusFileUndoManager *undo_manager, + GMainLoop *loop); +void test_operation_undo_redo (void); +void test_operation_undo (void); + +void create_one_file (gchar *prefix); +void create_one_empty_directory (gchar *prefix); + +void create_multiple_files (gchar *prefix, gint number_of_files); +void create_multiple_directories (gchar *prefix, gint number_of_directories); +void create_multiple_full_directories (gchar *prefix, gint number_of_directories); + +void create_first_hierarchy (gchar *prefix); +void create_second_hierarchy (gchar *prefix); +void create_third_hierarchy (gchar *prefix); +void create_fourth_hierarchy (gchar *prefix);
\ No newline at end of file |