File: progress.c

package info (click to toggle)
vifm 0.14.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,252 kB
  • sloc: ansic: 179,567; sh: 5,445; makefile: 723; perl: 347; python: 76; xml: 26
file content (22 lines) | stat: -rw-r--r-- 508 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <stic.h>

#include "../../src/io/private/ionotif.h"
#include "../../src/fops_common.h"

SETUP_ONCE()
{
	/* To register I/O notification callback. */
	fops_init(NULL, NULL);
}

TEST(empty_estimation_is_ok_for_progress_handler)
{
	ops_t *ops = fops_get_ops(OP_NONE, "descr", "/base/dir", "/target/dir");

	ionotif_notify(IO_PS_ESTIMATING, ops->estim);

	fops_free_ops(ops);
}

/* vim: set tabstop=2 softtabstop=2 shiftwidth=2 noexpandtab cinoptions-=(0 : */
/* vim: set cinoptions+=t0 filetype=c : */