Hi all,

I have a question of secondary importance:

I recently asked the question whether we do unit tests in gnunet. Looking
at the examples pointed to in reply, I realize that I probably didn't
ask for what I meant. What I meant was:

Do we write tests for functions that are not exposed via API? And if so:
How do we?

The example at hand:
I think the pattern matching function of GNUNET_DISK_glob() has a bug
and I would like to test the pattern matching function without actually
interacting with the file system, without calling GNUNET_DISK_glob().

If there's no proper way, I'll simply go ahead and expand the
test_disk.c to cover GNUNET_DISK_glob() via the exposed API call.

Thanks in advance
julius/ch3


Attachment: binLMxupjVDWS.bin
Description: PGP Key 0xF97F2DA52C3A6F0EAE471A71D4E5F972B413F3B3.

Attachment: signature.asc
Description: PGP signature

Reply via email to