Go to the source code of this file.
Macros | |
#define | CREATE_TIMEOUT 1 |
Functions | |
static void | close_cb (uv_handle_t *handle) |
static void | create_dir (const char *name) |
static void | create_file (const char *name) |
static void | fail_cb (uv_fs_event_t *handle, const char *path, int events, int status) |
static void | fs_event_cb_close (uv_fs_event_t *handle, const char *filename, int events, int status) |
static void | fs_event_cb_dir (uv_fs_event_t *handle, const char *filename, int events, int status) |
static void | fs_event_cb_dir_multi_file (uv_fs_event_t *handle, const char *filename, int events, int status) |
static void | fs_event_cb_file (uv_fs_event_t *handle, const char *filename, int events, int status) |
static void | fs_event_cb_file_current_dir (uv_fs_event_t *handle, const char *filename, int events, int status) |
static void | fs_event_create_files (uv_timer_t *handle) |
static void | fs_event_fail (uv_fs_event_t *handle, const char *filename, int events, int status) |
static const char * | fs_event_get_filename (int i) |
static void | fs_event_unlink_files (uv_timer_t *handle) |
TEST_IMPL (fs_event_close_in_callback) | |
TEST_IMPL (fs_event_close_with_pending_event) | |
TEST_IMPL (fs_event_error_reporting) | |
TEST_IMPL (fs_event_getpath) | |
TEST_IMPL (fs_event_immediate_close) | |
TEST_IMPL (fs_event_no_callback_after_close) | |
TEST_IMPL (fs_event_no_callback_on_close) | |
TEST_IMPL (fs_event_start_and_close) | |
TEST_IMPL (fs_event_watch_dir) | |
TEST_IMPL (fs_event_watch_dir_recursive) | |
TEST_IMPL (fs_event_watch_file) | |
TEST_IMPL (fs_event_watch_file_current_dir) | |
TEST_IMPL (fs_event_watch_file_exact_path) | |
TEST_IMPL (fs_event_watch_file_twice) | |
TEST_IMPL (fs_event_watch_invalid_path) | |
static void | timer_cb (uv_timer_t *handle) |
static void | timer_cb_close_handle (uv_timer_t *timer) |
static void | timer_cb_exact (uv_timer_t *handle) |
static void | timer_cb_file (uv_timer_t *handle) |
static void | timer_cb_touch (uv_timer_t *timer) |
static void | timer_cb_watch_twice (uv_timer_t *handle) |
static void | touch_file (const char *name) |
Variables | |
static int | close_cb_called |
static const char | file_prefix [] = "fsevent-" |
static uv_fs_event_t | fs_event |
static int | fs_event_cb_called |
static int | fs_event_created |
static const int | fs_event_file_count = 16 |
static char | fs_event_filename [1024] |
static int | fs_event_removed |
static uv_timer_t | timer |
static int | timer_cb_called |
static int | timer_cb_exact_called |
static int | timer_cb_touch_called |
#define CREATE_TIMEOUT 1 |
Definition at line 46 of file test-fs-event.c.
|
static |
Definition at line 120 of file test-fs-event.c.
|
static |
Definition at line 77 of file test-fs-event.c.
|
static |
Definition at line 85 of file test-fs-event.c.
|
static |
Definition at line 125 of file test-fs-event.c.
|
static |
Definition at line 409 of file test-fs-event.c.
|
static |
Definition at line 132 of file test-fs-event.c.
|
static |
Definition at line 200 of file test-fs-event.c.
|
static |
Definition at line 322 of file test-fs-event.c.
|
static |
Definition at line 347 of file test-fs-event.c.
|
static |
Definition at line 156 of file test-fs-event.c.
|
static |
Definition at line 70 of file test-fs-event.c.
Definition at line 147 of file test-fs-event.c.
|
static |
Definition at line 173 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_close_in_callback | ) |
Definition at line 925 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_close_with_pending_event | ) |
Definition at line 891 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_error_reporting | ) |
Definition at line 1145 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_getpath | ) |
Definition at line 1001 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_immediate_close | ) |
Definition at line 866 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_no_callback_after_close | ) |
Definition at line 777 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_no_callback_on_close | ) |
Definition at line 815 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_start_and_close | ) |
Definition at line 966 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_watch_dir | ) |
Definition at line 424 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_watch_dir_recursive | ) |
Definition at line 466 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_watch_file | ) |
Definition at line 580 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_watch_file_current_dir | ) |
Definition at line 697 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_watch_file_exact_path | ) |
Definition at line 620 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_watch_file_twice | ) |
Definition at line 673 of file test-fs-event.c.
TEST_IMPL | ( | fs_event_watch_invalid_path | ) |
Definition at line 1154 of file test-fs-event.c.
|
static |
Definition at line 853 of file test-fs-event.c.
|
static |
Definition at line 337 of file test-fs-event.c.
|
static |
Definition at line 387 of file test-fs-event.c.
|
static |
Definition at line 370 of file test-fs-event.c.
|
static |
Definition at line 381 of file test-fs-event.c.
|
static |
Definition at line 402 of file test-fs-event.c.
|
static |
Definition at line 99 of file test-fs-event.c.
|
static |
Definition at line 58 of file test-fs-event.c.
|
static |
Definition at line 50 of file test-fs-event.c.
|
static |
Definition at line 49 of file test-fs-event.c.
|
static |
Definition at line 61 of file test-fs-event.c.
|
static |
Definition at line 59 of file test-fs-event.c.
Definition at line 51 of file test-fs-event.c.
|
static |
Definition at line 65 of file test-fs-event.c.
|
static |
Definition at line 60 of file test-fs-event.c.
|
static |
Definition at line 56 of file test-fs-event.c.
|
static |
Definition at line 57 of file test-fs-event.c.
|
static |
Definition at line 68 of file test-fs-event.c.
|
static |
Definition at line 67 of file test-fs-event.c.