예제 #1
0
파일: test-slist.c 프로젝트: vdt/libcore
void test_fixture_slist_index(void)
{
    test_fixture_start();
    fixture_setup(slist_setup_ints);
    fixture_teardown(slist_teardown);
    run_test(test_slist_index);
    test_fixture_end();
}
예제 #2
0
파일: test-slist.c 프로젝트: vdt/libcore
void test_fixture_slist_insert(void)
{
    test_fixture_start();
    fixture_setup(slist_setup_ints);
    fixture_teardown(slist_teardown);
    run_test(test_slist_insert_at_front);
    run_test(test_slist_insert_at_back);
    run_test(test_slist_insert_in_middle);
    test_fixture_end();
}
예제 #3
0
void
format_edit_selection_cmd_tests(void)
{
	test_fixture_start();

	fixture_setup(setup);
	fixture_teardown(teardown);

	run_test(test_selection);

	test_fixture_end();
}
예제 #4
0
void
def_keys_and_user_mappings(void)
{
	test_fixture_start();

	fixture_setup(add_custom_keys);
	fixture_teardown(teardown);

	run_test(cmd_line_tst);

	test_fixture_end();
}
예제 #5
0
파일: builtin.c 프로젝트: sklnd/vifm
void
builtin_tests(void)
{
	test_fixture_start();

	fixture_setup(setup);
	fixture_teardown(teardown);

	run_test(test_empty_line_completion);
	run_test(test_set);

	test_fixture_end();
}
예제 #6
0
파일: test-slist.c 프로젝트: vdt/libcore
void test_fixture_slist_reverse(void)
{
    test_fixture_start();

    run_test(test_slist_reverse_empty);

    fixture_setup(slist_setup_ints);
    fixture_teardown(slist_teardown);

    run_test(test_slist_reverse_existing);

    test_fixture_end();
}
예제 #7
0
파일: test-dlist.c 프로젝트: vdt/libcore
void test_fixture_dlist_mergesort(void)
{
    test_fixture_start();

    run_test(test_dlist_mergesort_empty);

    fixture_setup(dlist_setup_ints_random);
    fixture_teardown(dlist_teardown);

    run_test(test_dlist_mergesort_existing);

    test_fixture_end();
}
예제 #8
0
파일: test-dlist.c 프로젝트: vdt/libcore
void test_fixture_dlist_prepend(void)
{
    test_fixture_start();

    run_test(test_dlist_prepend_to_empty);

    fixture_setup(dlist_setup_ints);
    fixture_teardown(dlist_teardown);

    run_test(test_dlist_prepend_to_existing);

    test_fixture_end();
}
예제 #9
0
파일: test-slist.c 프로젝트: vdt/libcore
void test_fixture_slist_remove_data(void)
{
    test_fixture_start();

    run_test(test_slist_remove_data_from_empty);

    fixture_setup(slist_setup_ints);
    fixture_teardown(slist_teardown);

    run_test(test_slist_remove_data_from_existing);
    run_test(test_slist_remove_data_from_existing_until_empty);

    test_fixture_end();
}
예제 #10
0
void test_fixture_file()
{
	test_fixture_start();

	fixture_setup (setup);
	fixture_teardown (teardown);

	run_test (test_open_file);
	run_test (test_thumbnails);
	run_test (test_write_file);
	run_test (test_defaults);

	test_fixture_end();
}
예제 #11
0
파일: history.c 프로젝트: ackeack/workenv
void
history_tests(void)
{
	test_fixture_start();

	fixture_setup(setup);
	fixture_teardown(teardown);

	run_test(test_view_history_after_reset_contains_valid_data);
	run_test(test_view_history_avoids_duplicates);
	run_test(test_after_history_reset_ok);
	run_test(test_add_after_decreasing_ok);
	run_test(test_add_after_increasing_ok);

	test_fixture_end();
}
예제 #12
0
void
completion_tests(void)
{
	test_fixture_start();

	fixture_setup(setup);
	fixture_teardown(teardown);

	run_test(test_skip_goto);
	run_test(test_skip_abbreviations);
	run_test(test_dont_remove_range);
	run_test(test_dont_remove_cmd);
	run_test(test_skip_complete_args);
	run_test(test_com_completion);
	run_test(test_delc_completion);

	test_fixture_end();
}