HelenOS sources

test             1383 kernel/generic/src/console/cmd.c static bool run_test(const test_t *test)
test             1385 kernel/generic/src/console/cmd.c 	printf("%s (%s)\n", test->name, test->desc);
test             1398 kernel/generic/src/console/cmd.c 	const char *ret = test->entry();
test             1423 kernel/generic/src/console/cmd.c static bool run_bench(const test_t *test, const uint32_t cnt)
test             1440 kernel/generic/src/console/cmd.c 		printf("%s (%u/%u) ... ", test->name, i + 1, cnt);
test             1453 kernel/generic/src/console/cmd.c 		const char *test_ret = test->entry();
test             1495 kernel/generic/src/console/cmd.c 	test_t *test;
test             1497 kernel/generic/src/console/cmd.c 	for (test = tests; test->name != NULL; test++) {
test             1498 kernel/generic/src/console/cmd.c 		if (str_length(test->name) > len)
test             1499 kernel/generic/src/console/cmd.c 			len = str_length(test->name);
test             1508 kernel/generic/src/console/cmd.c 	for (test = tests; test->name != NULL; test++)
test             1509 kernel/generic/src/console/cmd.c 		printf("%-*s %s%s\n", _len, test->name, test->desc,
test             1510 kernel/generic/src/console/cmd.c 		    (test->safe ? "" : " (unsafe)"));
test             1524 kernel/generic/src/console/cmd.c 	test_t *test;
test             1527 kernel/generic/src/console/cmd.c 		for (test = tests; test->name != NULL; test++) {
test             1528 kernel/generic/src/console/cmd.c 			if (test->safe) {
test             1530 kernel/generic/src/console/cmd.c 				if (!run_test(test))
test             1537 kernel/generic/src/console/cmd.c 		for (test = tests; test->name != NULL; test++) {
test             1538 kernel/generic/src/console/cmd.c 			if (str_cmp(test->name, (char *) argv->buffer) == 0) {
test             1540 kernel/generic/src/console/cmd.c 				run_test(test);
test             1561 kernel/generic/src/console/cmd.c 	test_t *test;
test             1565 kernel/generic/src/console/cmd.c 		for (test = tests; test->name != NULL; test++) {
test             1566 kernel/generic/src/console/cmd.c 			if (test->safe) {
test             1567 kernel/generic/src/console/cmd.c 				if (!run_bench(test, cnt))
test             1574 kernel/generic/src/console/cmd.c 		for (test = tests; test->name != NULL; test++) {
test             1575 kernel/generic/src/console/cmd.c 			if (str_cmp(test->name, (char *) argv->buffer) == 0) {
test             1578 kernel/generic/src/console/cmd.c 				if (test->safe)
test             1579 kernel/generic/src/console/cmd.c 					run_bench(test, cnt);
test               69 kernel/test/test.c 	test_t **test = (test_t **) ctx;
test               71 kernel/test/test.c 	if (*test == NULL)
test               72 kernel/test/test.c 		*test = tests;
test               74 kernel/test/test.c 	for (; (*test)->name; (*test)++) {
test               75 kernel/test/test.c 		const char *curname = (*test)->name;
test               81 kernel/test/test.c 			(*test)++;
test               83 kernel/test/test.c 				*help = (*test)->desc;
test              105 uspace/app/cpptest/main.cpp     std::test::test_set ts{};
test              106 uspace/app/cpptest/main.cpp     ts.add<std::test::vector_test>();
test              107 uspace/app/cpptest/main.cpp     ts.add<std::test::string_test>();
test              108 uspace/app/cpptest/main.cpp     ts.add<std::test::array_test>();
test              109 uspace/app/cpptest/main.cpp     ts.add<std::test::bitset_test>();
test              110 uspace/app/cpptest/main.cpp     ts.add<std::test::deque_test>();
test              111 uspace/app/cpptest/main.cpp     ts.add<std::test::tuple_test>();
test              112 uspace/app/cpptest/main.cpp     ts.add<std::test::map_test>();
test              113 uspace/app/cpptest/main.cpp     ts.add<std::test::set_test>();
test              114 uspace/app/cpptest/main.cpp     ts.add<std::test::unordered_map_test>();
test              115 uspace/app/cpptest/main.cpp     ts.add<std::test::unordered_set_test>();
test              116 uspace/app/cpptest/main.cpp     ts.add<std::test::numeric_test>();
test              117 uspace/app/cpptest/main.cpp     ts.add<std::test::adaptors_test>();
test              118 uspace/app/cpptest/main.cpp     ts.add<std::test::memory_test>();
test              119 uspace/app/cpptest/main.cpp     ts.add<std::test::list_test>();
test              120 uspace/app/cpptest/main.cpp     ts.add<std::test::ratio_test>();
test              121 uspace/app/cpptest/main.cpp     ts.add<std::test::functional_test>();
test              122 uspace/app/cpptest/main.cpp     ts.add<std::test::algorithm_test>();
test              123 uspace/app/cpptest/main.cpp     ts.add<std::test::future_test>();
test               40 uspace/app/hbench/ipc/ping_pong.c static ipc_test_t *test = NULL;
test               44 uspace/app/hbench/ipc/ping_pong.c 	errno_t rc = ipc_test_create(&test);
test               56 uspace/app/hbench/ipc/ping_pong.c 	ipc_test_destroy(test);
test               65 uspace/app/hbench/ipc/ping_pong.c 		errno_t rc = ipc_test_ping(test);
test               44 uspace/app/hbench/ipc/read1k.c static ipc_test_t *test = NULL;
test               51 uspace/app/hbench/ipc/read1k.c 	rc = ipc_test_create(&test);
test               58 uspace/app/hbench/ipc/read1k.c 	rc = ipc_test_set_rw_buf_size(test, rw_buf_size);
test               69 uspace/app/hbench/ipc/read1k.c 	ipc_test_destroy(test);
test               80 uspace/app/hbench/ipc/read1k.c 		rc = ipc_test_read(test, rw_buf, rw_buf_size);
test               44 uspace/app/hbench/ipc/write1k.c static ipc_test_t *test = NULL;
test               51 uspace/app/hbench/ipc/write1k.c 	rc = ipc_test_create(&test);
test               58 uspace/app/hbench/ipc/write1k.c 	rc = ipc_test_set_rw_buf_size(test, rw_buf_size);
test               69 uspace/app/hbench/ipc/write1k.c 	ipc_test_destroy(test);
test               80 uspace/app/hbench/ipc/write1k.c 		rc = ipc_test_write(test, rw_buf, rw_buf_size);
test               46 uspace/app/tester/ipc/readwrite.c 	ipc_test_t *test = NULL;
test               50 uspace/app/tester/ipc/readwrite.c 	rc = ipc_test_create(&test);
test               54 uspace/app/tester/ipc/readwrite.c 	rc = ipc_test_set_rw_buf_size(test, rw_buf_size);
test               62 uspace/app/tester/ipc/readwrite.c 	rc = ipc_test_write(test, rw_buf, rw_buf_size);
test               77 uspace/app/tester/ipc/readwrite.c 	rc = ipc_test_read(test, rw_buf, rw_buf_size);
test               95 uspace/app/tester/ipc/readwrite.c 	rc = ipc_test_write(test, rw_buf, rw_buf_size);
test              110 uspace/app/tester/ipc/readwrite.c 	rc = ipc_test_read(test, rw_buf, rw_buf_size);
test              124 uspace/app/tester/ipc/readwrite.c 	ipc_test_destroy(test);
test               39 uspace/app/tester/ipc/sharein.c 	ipc_test_t *test = NULL;
test               46 uspace/app/tester/ipc/sharein.c 	rc = ipc_test_create(&test);
test               50 uspace/app/tester/ipc/sharein.c 	rc = ipc_test_get_ro_area_size(test, &ro_size);
test               54 uspace/app/tester/ipc/sharein.c 	rc = ipc_test_share_in_ro(test, ro_size, &ro_ptr);
test               64 uspace/app/tester/ipc/sharein.c 	rc = ipc_test_get_rw_area_size(test, &rw_size);
test               68 uspace/app/tester/ipc/sharein.c 	rc = ipc_test_share_in_rw(test, rw_size, &rw_ptr);
test               76 uspace/app/tester/ipc/sharein.c 	ipc_test_destroy(test);
test               84 uspace/app/tester/tester.c static bool run_test(test_t *test)
test               87 uspace/app/tester/tester.c 	const char *ret = test->entry();
test              100 uspace/app/tester/tester.c 	test_t *test;
test              108 uspace/app/tester/tester.c 	for (test = tests; test->name != NULL; test++) {
test              109 uspace/app/tester/tester.c 		if (!test->safe)
test              112 uspace/app/tester/tester.c 		printf("%s (%s)\n", test->name, test->desc);
test              113 uspace/app/tester/tester.c 		if (run_test(test)) {
test              119 uspace/app/tester/tester.c 			failed_names = str_dup(test->name);
test              122 uspace/app/tester/tester.c 			asprintf(&f, "%s, %s", failed_names, test->name);
test              143 uspace/app/tester/tester.c 	test_t *test;
test              144 uspace/app/tester/tester.c 	for (test = tests; test->name != NULL; test++) {
test              145 uspace/app/tester/tester.c 		if (str_length(test->name) > len)
test              146 uspace/app/tester/tester.c 			len = str_length(test->name);
test              151 uspace/app/tester/tester.c 	for (test = tests; test->name != NULL; test++)
test              152 uspace/app/tester/tester.c 		printf("%-*s %s%s\n", (int) len, test->name, test->desc,
test              153 uspace/app/tester/tester.c 		    (test->safe ? "" : " (unsafe)"));
test              177 uspace/app/tester/tester.c 	test_t *test;
test              178 uspace/app/tester/tester.c 	for (test = tests; test->name != NULL; test++) {
test              179 uspace/app/tester/tester.c 		if (str_cmp(argv[1], test->name) == 0) {
test              180 uspace/app/tester/tester.c 			return (run_test(test) ? 0 : -1);
test              184 uspace/lib/cpp/include/__bits/adt/bitset.hpp                         set(i - 1, test(i - 1 - pos));
test              197 uspace/lib/cpp/include/__bits/adt/bitset.hpp                         set(i, test(i + pos));
test              251 uspace/lib/cpp/include/__bits/adt/bitset.hpp                 return set(pos, !test(pos));
test              293 uspace/lib/cpp/include/__bits/adt/bitset.hpp                     if (test(i - 1))
test              307 uspace/lib/cpp/include/__bits/adt/bitset.hpp                     if (test(i))
test               55 uspace/lib/cpp/include/__bits/test/tests.hpp                 for (auto test: tests_)
test               57 uspace/lib/cpp/include/__bits/test/tests.hpp                     res &= test->run(report);
test               58 uspace/lib/cpp/include/__bits/test/tests.hpp                     succeeded += test->get_succeeded();
test               59 uspace/lib/cpp/include/__bits/test/tests.hpp                     failed += test->get_failed();
test               65 uspace/lib/cpp/src/__bits/test/algorithm.cpp         test("all_of pt1", res1);
test               66 uspace/lib/cpp/src/__bits/test/algorithm.cpp         test("all_of pt2", !res2);
test               77 uspace/lib/cpp/src/__bits/test/algorithm.cpp         test("any_of pt1", res3);
test               78 uspace/lib/cpp/src/__bits/test/algorithm.cpp         test("any_of pt2", !res4);
test               89 uspace/lib/cpp/src/__bits/test/algorithm.cpp         test("none_of pt1", res5);
test               90 uspace/lib/cpp/src/__bits/test/algorithm.cpp         test("none_of pt2", !res6);
test              161 uspace/lib/cpp/src/__bits/test/algorithm.cpp         test("equal pt1", res15);
test              167 uspace/lib/cpp/src/__bits/test/algorithm.cpp         test("equal pt2", !res16);
test              176 uspace/lib/cpp/src/__bits/test/algorithm.cpp         test("equal pt3", res17);
test              185 uspace/lib/cpp/src/__bits/test/algorithm.cpp         test("equal pt4", !res18);
test              252 uspace/lib/cpp/src/__bits/test/algorithm.cpp         test(
test               89 uspace/lib/cpp/src/__bits/test/functional.cpp         test("reference_wrapper equivalence after construction (cast)", (ref == x));
test               90 uspace/lib/cpp/src/__bits/test/functional.cpp         test("reference_wrapper equivalence after construction (get)", (ref.get() == x));
test              121 uspace/lib/cpp/src/__bits/test/functional.cpp         test("function operator bool", (bool)f2);
test              123 uspace/lib/cpp/src/__bits/test/functional.cpp         test("function nullptr assignment", !f2);
test               81 uspace/lib/cpp/src/__bits/test/future.cpp         test("default constructed invalid", !f1.valid());
test               84 uspace/lib/cpp/src/__bits/test/future.cpp         test("state constructed valid", f2.valid());
test               87 uspace/lib/cpp/src/__bits/test/future.cpp         test("move assignment source invalid", !f2.valid());
test               88 uspace/lib/cpp/src/__bits/test/future.cpp         test("move assignment destination valid", f1.valid());
test               91 uspace/lib/cpp/src/__bits/test/future.cpp         test("move construction source invalid", !f1.valid());
test               92 uspace/lib/cpp/src/__bits/test/future.cpp         test("move construction destination valid", f3.valid());
test               98 uspace/lib/cpp/src/__bits/test/future.cpp         test("default constructed promise has state", p1.__state());
test              118 uspace/lib/cpp/src/__bits/test/future.cpp         test("set_value marks state as ready", s1->is_set());
test              135 uspace/lib/cpp/src/__bits/test/future.cpp         test("simple case valid", f1.valid());
test              157 uspace/lib/cpp/src/__bits/test/future.cpp         test("after wait value is set", s3->is_set());
test              173 uspace/lib/cpp/src/__bits/test/future.cpp         std::aux::shared_state<std::test::mock>* s5{};
test              175 uspace/lib/cpp/src/__bits/test/future.cpp             std::promise<std::test::mock> p5{};
test              189 uspace/lib/cpp/src/__bits/test/future.cpp             std::aux::shared_state<std::test::mock>* s6{};
test              190 uspace/lib/cpp/src/__bits/test/future.cpp             std::future<std::test::mock> f6{};
test              192 uspace/lib/cpp/src/__bits/test/future.cpp                 std::promise<std::test::mock> p6{};
test              283 uspace/lib/cpp/src/__bits/test/future.cpp         test("default constructed packaged_task not valid", !pt1.valid());
test              290 uspace/lib/cpp/src/__bits/test/future.cpp         test("packaged_task default constructed and move assigned valid", pt1.valid());
test              293 uspace/lib/cpp/src/__bits/test/future.cpp         test("future from valid packaged_task valid", f1.valid());
test              313 uspace/lib/cpp/src/__bits/test/future.cpp         test("reset recreates state", (f2.__state() != f3.__state()));
test              321 uspace/lib/cpp/src/__bits/test/future.cpp         test("future invalid after share", !f1.valid());
test              214 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              218 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              222 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              226 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              230 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              234 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              238 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              242 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              246 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              250 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              259 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              263 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              267 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              271 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              275 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              279 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              283 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              287 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              291 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              295 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              307 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              311 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              315 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              319 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              324 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              328 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              332 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              336 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              341 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              345 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              349 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test              353 uspace/lib/cpp/src/__bits/test/memory.cpp         test(
test               52 uspace/lib/ipctest/src/ipc_test.c 	ipc_test_t *test;
test               56 uspace/lib/ipctest/src/ipc_test.c 	test = calloc(1, sizeof(ipc_test_t));
test               57 uspace/lib/ipctest/src/ipc_test.c 	if (test == NULL) {
test               68 uspace/lib/ipctest/src/ipc_test.c 	test->sess = loc_service_connect(test_svcid, INTERFACE_IPC_TEST, 0);
test               69 uspace/lib/ipctest/src/ipc_test.c 	if (test->sess == NULL) {
test               74 uspace/lib/ipctest/src/ipc_test.c 	*rtest = test;
test               77 uspace/lib/ipctest/src/ipc_test.c 	free(test);
test               85 uspace/lib/ipctest/src/ipc_test.c void ipc_test_destroy(ipc_test_t *test)
test               87 uspace/lib/ipctest/src/ipc_test.c 	if (test == NULL)
test               90 uspace/lib/ipctest/src/ipc_test.c 	async_hangup(test->sess);
test               91 uspace/lib/ipctest/src/ipc_test.c 	free(test);
test               99 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_ping(ipc_test_t *test)
test              104 uspace/lib/ipctest/src/ipc_test.c 	exch = async_exchange_begin(test->sess);
test              120 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_get_ro_area_size(ipc_test_t *test, size_t *rsize)
test              126 uspace/lib/ipctest/src/ipc_test.c 	exch = async_exchange_begin(test->sess);
test              143 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_get_rw_area_size(ipc_test_t *test, size_t *rsize)
test              149 uspace/lib/ipctest/src/ipc_test.c 	exch = async_exchange_begin(test->sess);
test              167 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_share_in_ro(ipc_test_t *test, size_t size, const void **rptr)
test              175 uspace/lib/ipctest/src/ipc_test.c 	exch = async_exchange_begin(test->sess);
test              199 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_share_in_rw(ipc_test_t *test, size_t size, void **rptr)
test              207 uspace/lib/ipctest/src/ipc_test.c 	exch = async_exchange_begin(test->sess);
test              229 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_set_rw_buf_size(ipc_test_t *test, size_t size)
test              234 uspace/lib/ipctest/src/ipc_test.c 	exch = async_exchange_begin(test->sess);
test              251 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_read(ipc_test_t *test, void *dest, size_t size)
test              258 uspace/lib/ipctest/src/ipc_test.c 	exch = async_exchange_begin(test->sess);
test              280 uspace/lib/ipctest/src/ipc_test.c errno_t ipc_test_write(ipc_test_t *test, const void *data, size_t size)
test              287 uspace/lib/ipctest/src/ipc_test.c 	exch = async_exchange_begin(test->sess);
test               98 uspace/lib/pcut/src/internal.h int pcut_run_test_forking(const char *self_path, pcut_item_t *test);
test               99 uspace/lib/pcut/src/internal.h int pcut_run_test_forked(pcut_item_t *test);
test              100 uspace/lib/pcut/src/internal.h int pcut_run_test_single(pcut_item_t *test);
test              102 uspace/lib/pcut/src/internal.h int pcut_get_test_timeout(pcut_item_t *test);
test              132 uspace/lib/pcut/src/internal.h void pcut_report_test_start(pcut_item_t *test);
test              133 uspace/lib/pcut/src/internal.h void pcut_report_test_done(pcut_item_t *test, int outcome,
test              136 uspace/lib/pcut/src/internal.h void pcut_report_test_done_unparsed(pcut_item_t *test, int outcome,
test              152 uspace/lib/pcut/src/internal.h void pcut_hook_before_test(pcut_item_t *test);
test              272 uspace/lib/pcut/src/main.c 		pcut_item_t *test = pcut_find_by_id(items, run_only_test);
test              273 uspace/lib/pcut/src/main.c 		if (test == NULL) {
test              277 uspace/lib/pcut/src/main.c 		if (test->kind != PCUT_KIND_TEST) {
test              283 uspace/lib/pcut/src/main.c 			rc = pcut_run_test_single(test);
test              285 uspace/lib/pcut/src/main.c 			rc = pcut_run_test_forked(test);
test               85 uspace/lib/pcut/src/os/generic.c static void before_test_start(pcut_item_t *test) {
test               86 uspace/lib/pcut/src/os/generic.c 	pcut_report_test_start(test);
test              112 uspace/lib/pcut/src/os/generic.c int pcut_run_test_forking(const char *self_path, pcut_item_t *test) {
test              118 uspace/lib/pcut/src/os/generic.c 	before_test_start(test);
test              122 uspace/lib/pcut/src/os/generic.c 		self_path, (test)->id, tempfile_name);
test              135 uspace/lib/pcut/src/os/generic.c 		pcut_report_test_done(test, TEST_OUTCOME_ERROR, "Failed to open temporary file.", NULL, NULL);
test              143 uspace/lib/pcut/src/os/generic.c 	pcut_report_test_done_unparsed(test, outcome, extra_output_buffer, OUTPUT_BUFFER_SIZE);
test              148 uspace/lib/pcut/src/os/generic.c void pcut_hook_before_test(pcut_item_t *test) {
test              149 uspace/lib/pcut/src/os/generic.c 	PCUT_UNUSED(test);
test              103 uspace/lib/pcut/src/os/helenos.c static void before_test_start(pcut_item_t *test) {
test              104 uspace/lib/pcut/src/os/helenos.c 	pcut_report_test_start(test);
test              131 uspace/lib/pcut/src/os/helenos.c 	pcut_item_t *test = arg;
test              132 uspace/lib/pcut/src/os/helenos.c 	int timeout_sec = pcut_get_test_timeout(test);
test              154 uspace/lib/pcut/src/os/helenos.c int pcut_run_test_forking(const char *self_path, pcut_item_t *test) {
test              155 uspace/lib/pcut/src/os/helenos.c 	before_test_start(test);
test              162 uspace/lib/pcut/src/os/helenos.c 		pcut_report_test_done(test, PCUT_OUTCOME_INTERNAL_ERROR, "Failed to create temporary file.", NULL, NULL);
test              167 uspace/lib/pcut/src/os/helenos.c 	snprintf(test_number_argument, MAX_TEST_NUMBER_WIDTH, "-t%d", test->id);
test              187 uspace/lib/pcut/src/os/helenos.c 	fid_t killer_fibril = fibril_create(test_timeout_handler_fibril, test);
test              221 uspace/lib/pcut/src/os/helenos.c 	pcut_report_test_done_unparsed(test, status, extra_output_buffer, OUTPUT_BUFFER_SIZE);
test              226 uspace/lib/pcut/src/os/helenos.c void pcut_hook_before_test(pcut_item_t *test) {
test              227 uspace/lib/pcut/src/os/helenos.c 	PCUT_UNUSED(test);
test               66 uspace/lib/pcut/src/os/unix.c static void before_test_start(pcut_item_t *test) {
test               67 uspace/lib/pcut/src/os/unix.c 	pcut_report_test_start(test);
test              144 uspace/lib/pcut/src/os/unix.c int pcut_run_test_forking(const char *self_path, pcut_item_t *test) {
test              151 uspace/lib/pcut/src/os/unix.c 	before_test_start(test);
test              158 uspace/lib/pcut/src/os/unix.c 		pcut_report_test_done(test, PCUT_OUTCOME_INTERNAL_ERROR, error_message_buffer, NULL, NULL);
test              165 uspace/lib/pcut/src/os/unix.c 		pcut_report_test_done(test, PCUT_OUTCOME_INTERNAL_ERROR, error_message_buffer, NULL, NULL);
test              184 uspace/lib/pcut/src/os/unix.c 		outcome = pcut_run_test_forked(test);
test              193 uspace/lib/pcut/src/os/unix.c 	alarm(pcut_get_test_timeout(test));
test              212 uspace/lib/pcut/src/os/unix.c 	pcut_report_test_done_unparsed(test, outcome, extra_output_buffer, OUTPUT_BUFFER_SIZE);
test              217 uspace/lib/pcut/src/os/unix.c void pcut_hook_before_test(pcut_item_t *test) {
test              218 uspace/lib/pcut/src/os/unix.c 	PCUT_UNUSED(test);
test               66 uspace/lib/pcut/src/os/windows.c static void before_test_start(pcut_item_t *test) {
test               67 uspace/lib/pcut/src/os/windows.c 	pcut_report_test_start(test);
test               78 uspace/lib/pcut/src/os/windows.c static void report_func_fail(pcut_item_t *test, const char *failed_function_name) {
test               82 uspace/lib/pcut/src/os/windows.c 	pcut_report_test_done(test, PCUT_OUTCOME_INTERNAL_ERROR, error_message_buffer, NULL, NULL);
test              149 uspace/lib/pcut/src/os/windows.c int pcut_run_test_forking(const char *self_path, pcut_item_t *test) {
test              167 uspace/lib/pcut/src/os/windows.c 	before_test_start(test);
test              177 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "CreatePipe(/* stdout */)");
test              182 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "SetHandleInformation(/* stdout */)");
test              189 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "CreatePipe(/* stderr */)");
test              194 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "SetHandleInformation(/* stderr */)");
test              201 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "CreatePipe(/* stdin */)");
test              206 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "SetHandleInformation(/* stdin */)");
test              221 uspace/lib/pcut/src/os/windows.c 		"\"%s\" -t%d", self_path, test->id);
test              228 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "CreateProcess()");
test              240 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "CloseHandle(/* stdout */)");
test              245 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "CloseHandle(/* stderr */)");
test              250 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "CloseHandle(/* stdin */)");
test              271 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "CreateThread(/* read test stdout */)");
test              277 uspace/lib/pcut/src/os/windows.c 	time_out_millis = pcut_get_test_timeout(test) * 1000;
test              279 uspace/lib/pcut/src/os/windows.c 	PCUT_DEBUG("Waiting for test %s (%dms) returned %d.", test->name, time_out_millis, rc);
test              285 uspace/lib/pcut/src/os/windows.c 			report_func_fail(test, "TerminateProcess(/* PROCESS_INFORMATION.hProcess */)");
test              291 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "WaitForSingleObject(/* PROCESS_INFORMATION.hProcess */)");
test              298 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "GetExitCodeProcess()");
test              313 uspace/lib/pcut/src/os/windows.c 		report_func_fail(test, "WaitForSingleObject(/* stdout reader thread */)");
test              317 uspace/lib/pcut/src/os/windows.c 	pcut_report_test_done_unparsed(test, outcome, extra_output_buffer, OUTPUT_BUFFER_SIZE);
test              322 uspace/lib/pcut/src/os/windows.c void pcut_hook_before_test(pcut_item_t *test) {
test              323 uspace/lib/pcut/src/os/windows.c 	PCUT_UNUSED(test);
test              195 uspace/lib/pcut/src/report/report.c void pcut_report_test_start(pcut_item_t *test) {
test              196 uspace/lib/pcut/src/report/report.c 	REPORT_CALL(test_start, test);
test              207 uspace/lib/pcut/src/report/report.c void pcut_report_test_done(pcut_item_t *test, int outcome,
test              210 uspace/lib/pcut/src/report/report.c 	REPORT_CALL(test_done, test, outcome, error_message, teardown_error_message,
test              221 uspace/lib/pcut/src/report/report.c void pcut_report_test_done_unparsed(pcut_item_t *test, int outcome,
test              228 uspace/lib/pcut/src/report/report.c 	pcut_report_test_done(test, outcome, buffer_for_error_messages, NULL, buffer_for_extra_output);
test              105 uspace/lib/pcut/src/report/tap.c static void tap_test_start(pcut_item_t *test) {
test              106 uspace/lib/pcut/src/report/tap.c 	PCUT_UNUSED(test);
test              142 uspace/lib/pcut/src/report/tap.c static void tap_test_done(pcut_item_t *test, int outcome,
test              145 uspace/lib/pcut/src/report/tap.c 	const char *test_name = test->name;
test               95 uspace/lib/pcut/src/report/xml.c static void xml_test_start(pcut_item_t *test) {
test               96 uspace/lib/pcut/src/report/xml.c 	PCUT_UNUSED(test);
test              138 uspace/lib/pcut/src/report/xml.c static void xml_test_done(pcut_item_t *test, int outcome,
test              141 uspace/lib/pcut/src/report/xml.c 	const char *test_name = test->name;
test              181 uspace/lib/pcut/src/run.c static int run_test(pcut_item_t *test) {
test              195 uspace/lib/pcut/src/run.c 		pcut_report_test_start(test);
test              198 uspace/lib/pcut/src/run.c 	current_suite = pcut_find_parent_suite(test);
test              199 uspace/lib/pcut/src/run.c 	current_test = test;
test              201 uspace/lib/pcut/src/run.c 	pcut_hook_before_test(test);
test              218 uspace/lib/pcut/src/run.c 	test->test_func();
test              247 uspace/lib/pcut/src/run.c int pcut_run_test_forked(pcut_item_t *test) {
test              254 uspace/lib/pcut/src/run.c 	rc = run_test(test);
test              270 uspace/lib/pcut/src/run.c int pcut_run_test_single(pcut_item_t *test) {
test              277 uspace/lib/pcut/src/run.c 	rc = run_test(test);
test              290 uspace/lib/pcut/src/run.c int pcut_get_test_timeout(pcut_item_t *test) {
test              292 uspace/lib/pcut/src/run.c 	pcut_extra_t *extras = test->extras;
test              117 uspace/lib/ui/src/testctl.c 	ui_test_ctl_t *test;
test              120 uspace/lib/ui/src/testctl.c 	test = calloc(1, sizeof(ui_test_ctl_t));
test              121 uspace/lib/ui/src/testctl.c 	if (test == NULL)
test              124 uspace/lib/ui/src/testctl.c 	rc = ui_control_new(&ui_test_ctl_ops, (void *)test, &test->control);
test              126 uspace/lib/ui/src/testctl.c 		free(test);
test              130 uspace/lib/ui/src/testctl.c 	test->resp = resp;
test              131 uspace/lib/ui/src/testctl.c 	*rtest = test;
test              139 uspace/lib/ui/src/testctl.c void ui_test_ctl_destroy(ui_test_ctl_t *test)
test              141 uspace/lib/ui/src/testctl.c 	if (test == NULL)
test              144 uspace/lib/ui/src/testctl.c 	ui_control_delete(test->control);
test              145 uspace/lib/ui/src/testctl.c 	free(test);
test              153 uspace/lib/ui/src/testctl.c ui_control_t *ui_test_ctl_ctl(ui_test_ctl_t *test)
test              155 uspace/lib/ui/src/testctl.c 	return test->control;
HelenOS homepage, sources at GitHub