Beispiel #1
0
int main(int argc, char* argv[]) {
    const UnitTest tests[] = {
        unit_test(apply_actions),
        unit_test(write_actions),
        unit_test(merge_action_set),
    };
    return run_tests(tests);
}
Beispiel #2
0
int
main() {
  const UnitTest tests[] = {
    unit_test( test_multiply_5x2 ),
    unit_test( test_multiply_5x3 ),
    unit_test( test_equal ),
  };
  return run_tests( tests );
}
Beispiel #3
0
int torture_run_tests(void)
{
    const UnitTest tests[] = {
        unit_test(check_csync_destroy_null),
        unit_test(check_csync_create),
    };

    return run_tests(tests);
}
Beispiel #4
0
int main(int argc, char *argv[])
{
    const UnitTest tests[] = {
        unit_test(get_status_code_string_test),
        unit_test(string_to_status_code_test),
    };

    return run_tests(tests);
}
Beispiel #5
0
int torture_run_tests(void)
{
    const UnitTest tests[] = {
        unit_test(check_csync_instruction_str),
        unit_test(check_csync_memstat),
    };

    return run_tests(tests);
}
int main(int argc, char *argv[]) {
    const UnitTest tests[] = {
        unit_test(test_create1),
        unit_test(test_create2),
        unit_test(test_append1),
    };

    return run_tests(tests);
}
int main(int argc, char* argv[]) {
	cmockery_parse_arguments(argc, argv);

	const UnitTest tests[] = {
			unit_test(test__BufferedReadUseBeforeBuffer__IsNextReadLenZero),
			unit_test(test__BufferedReadInit__IsConsistent)
	};
	return run_tests(tests);
}
Beispiel #8
0
int main(void) {
    const UnitTest tests[] = {
        unit_test(null_test_success),
        unit_test(test_hbf_splitlist_odd),
        unit_test(test_hbf_init_transfer),
        unit_test(test_get_transfer_url)
    };
    return run_tests(tests);
}
Beispiel #9
0
int
main(void)
{
	const UnitTest tests[] = {
		unit_test(test_read_nonbinary_file),
		unit_test(test_unicode),
	};
	return run_tests(tests);
}
Beispiel #10
0
int main()
{
    PRINT_TEST_BANNER();
    const UnitTest tests[] =
    {
        unit_test(test_validation),
        unit_test(test_mode)
    };
    return run_tests(tests);
}
Beispiel #11
0
int main()
{
    const UnitTest tests[] =
{
        unit_test(test_create_destroy),
        unit_test(test_copy)
    };

    return run_tests(tests);
}
Beispiel #12
0
int main()
{
    const UnitTest tests[] =
    {
        unit_test(ui_layout_save_load),
        unit_test(ui_session_layout),
    };

    return run_tests(tests);
}
int main(void)
{
	const UnitTest tests[] = {
	        unit_test(test_zonecut_params),
	        unit_test(test_zonecut_filter),
	        unit_test(test_zonecut_copy)
	};

	return run_tests(tests);
}
Beispiel #14
0
int TestCoreRts(int argc, char* argv[])
{
	const UnitTest tests[] =
	{
		unit_test(test_rts_generate_cookie),
		unit_test(test_rpc_in_write),
	};

	return run_tests(tests);
}
Beispiel #15
0
int torture_run_tests(void)
{
    const UnitTest tests[] = {
        unit_test(check_set_log_level),
        unit_test(check_set_auth_callback),
        unit_test_setup_teardown(check_logging, setup, teardown),
    };

    return run_tests(tests);
}
Beispiel #16
0
int main()
{
    const UnitTest tests[] =
        {
            unit_test(test_first_file_separator),
            unit_test(test_get_parent_directory_copy)
        };

    return run_tests(tests);
}
Beispiel #17
0
int
main() {
  const UnitTest tests[] = {
    unit_test( test_multiply_dollar_5x2 ),
    unit_test( test_multiply_dollar_5x3 ),
    unit_test( test_equal ),
    unit_test( test_simple_addition ),
  };
  return run_tests( tests );
}
Beispiel #18
0
int main()
{
    const UnitTest tests[] =
    {
        unit_test(test_hostinnetgroup_found),
        unit_test(test_hostinnetgroup_not_found),
    };

    return run_tests(tests);
}
Beispiel #19
0
int main(int argc, char *argv[])
{
    const UnitTest tests[] = {
        unit_test(leak_memory_test),
        unit_test(buffer_overflow_test),
        unit_test(buffer_underflow_test),
    };
    
    return run_tests(tests);
}
Beispiel #20
0
int main(int argc, char* argv[])
{
    const UnitTest tests[] = {
        unit_test( test_parse_position ),
        unit_test( test_parse_chr ),
        unit_test( test_parse_multiple_loci ),
    };

    return run_tests( tests );
}
Beispiel #21
0
int
main() {
  UnitTest tests[] = {
    unit_test( test_fill_ether_padding_succeeds_if_length_is_ETH_MINIMUM_LENGTH ),
    unit_test( test_fill_ether_padding_succeeds_if_length_is_less_than_ETH_MINIMUM_LENGTH ),
    unit_test_setup_teardown( test_fill_ether_padding_fails_if_buffer_is_NULL,
                              setup, teardown ),
  };
  return run_tests( tests );
}
Beispiel #22
0
int main()
{
    const UnitTest tests[] =
{
        unit_test(test_set_port),
        unit_test(test_set_host),
    };

    return run_tests(tests);
}
Beispiel #23
0
int main()
{
    PRINT_TEST_BANNER();
    const UnitTest tests[] =
    {
        unit_test(test_basics),
        unit_test(test_destroy)
    };
    return run_tests(tests);
}
Beispiel #24
0
int
main(void)
{    
    const UnitTest tests[] = {
        unit_test(test_array_length),
        unit_test(test_parse_version_word),
        unit_test(test_sort),
        unit_test(benchmark_sort),
    };
    return run_tests(tests);
}
Beispiel #25
0
int main()
{
    PRINT_TEST_BANNER();
    const UnitTest tests[] =
    {
        unit_test(test_str_to_service_policy),
        unit_test(test_double_from_string),
    };

    return run_tests(tests);
}
Beispiel #26
0
int main()
{
    const UnitTest tests[] = {
        unit_test(test_init_destroy_RefCount)
        , unit_test(test_attach_detach_RefCount)
        , unit_test(test_isSharedRefCount)
        , unit_test(test_isEqualRefCount)
    };

    return run_tests(tests);
}
Beispiel #27
0
int
main(int argc, char* argv[])
{
	cmockery_parse_arguments(argc, argv);

	const UnitTest tests[] = {
			unit_test(test__set_ps_display),
			unit_test(test__set_ps_display__real_act_prefix_size)
	};
	return run_tests(tests);
}
Beispiel #28
0
int main()
{
    const UnitTest tests[] =
{
        unit_test(test_name_split),
        unit_test(test_name_join),
    };

    PRINT_TEST_BANNER();
    return run_tests(tests);
}
Beispiel #29
0
int torture_run_tests(void)
{
  const UnitTest tests[] = {
      unit_test(check_c_malloc),
      unit_test(check_c_malloc_zero),
      unit_test(check_c_strdup),
      unit_test(check_c_strndup),
  };

  return run_tests(tests);
}
Beispiel #30
0
int main()
{
    PRINT_TEST_BANNER();
    const UnitTest tests[] =
    {
        unit_test(test_creation_destruction)
        , unit_test(test_comparison)
    };

    return run_tests(tests);
}