From e2f3342c8de18c5197b8af2b6c77bf3d16764613 Mon Sep 17 00:00:00 2001 From: Martin Molnar Date: Fri, 27 Jun 2008 14:58:07 +0200 Subject: [PATCH] Added comments to fwp_tests --- fwp/tests/fwp_prototest/fwp_sendrecv_test1.c | 12 ++++++++++++ fwp/tests/fwp_prototest/fwp_sendrecv_test2.c | 12 ++++++++++++ fwp/tests/fwp_vrestest/fwp_vrestest1.c | 12 ++++++++++++ fwp/tests/fwp_vrestest/fwp_vrestest2.c | 13 +++++++++++++ 4 files changed, 49 insertions(+) diff --git a/fwp/tests/fwp_prototest/fwp_sendrecv_test1.c b/fwp/tests/fwp_prototest/fwp_sendrecv_test1.c index 4b9e07c..1bbe9c0 100644 --- a/fwp/tests/fwp_prototest/fwp_sendrecv_test1.c +++ b/fwp/tests/fwp_prototest/fwp_sendrecv_test1.c @@ -1,3 +1,15 @@ +/** + * \file fwp_sendrecv_test1.c + * + * This a test application that: + * - creates two vres without negotiation + * - creates send and receive endpoint + * - binds that endpoint to vres + * - sends two messages + * - receives messages + * - destroys vres + * + */ #define CONFIGURE_FWP_MNGT 0 #include "fwp_confdefs.h" #include "fwp.h" diff --git a/fwp/tests/fwp_prototest/fwp_sendrecv_test2.c b/fwp/tests/fwp_prototest/fwp_sendrecv_test2.c index c95d3d0..233f4d0 100644 --- a/fwp/tests/fwp_prototest/fwp_sendrecv_test2.c +++ b/fwp/tests/fwp_prototest/fwp_sendrecv_test2.c @@ -1,3 +1,15 @@ +/** + * \file fwp_sendrecv_test1.c + * + * This a test application that: + * - creates vres without negotiation + * - creates reliable send endpoint + * - cretaes receiver thread and receive endpoint within it + * - binds that endpoint to vres + * - sends two messages + * - receives messages + * + */ #define CONFIGURE_FWP_MNGT 0 #include "fwp_confdefs.h" #include "fwp.h" diff --git a/fwp/tests/fwp_vrestest/fwp_vrestest1.c b/fwp/tests/fwp_vrestest/fwp_vrestest1.c index dc9029a..8882f36 100644 --- a/fwp/tests/fwp_vrestest/fwp_vrestest1.c +++ b/fwp/tests/fwp_vrestest/fwp_vrestest1.c @@ -1,3 +1,15 @@ +/** + * \file fwp_vrestest1.c + * + * This a test application that: + * - creates vres without negotiation + * - creates send and receive endpoint + * - binds that endpoint to vres + * - in cycle (NUM loops) sends messages and prints send time + * - receives messages + * - destroys vres + * + */ #define CONFIGURE_FWP_MNGT 0 #include "fwp_confdefs.h" #include "fwp.h" diff --git a/fwp/tests/fwp_vrestest/fwp_vrestest2.c b/fwp/tests/fwp_vrestest/fwp_vrestest2.c index 1aed0e7..e8520a1 100644 --- a/fwp/tests/fwp_vrestest/fwp_vrestest2.c +++ b/fwp/tests/fwp_vrestest/fwp_vrestest2.c @@ -1,3 +1,16 @@ +/** + * \file fwp_vrestest2.c + * + * This a test application that: + * - creates vres without negotiation + * - creates send and receive endpoint + * - binds that endpoint to vres + * - in cycle (NUM loops) sends messages in separate thread and + * prints send time + * - receives messages in separate receiver thread + * - destroys vres + * + */ #define CONFIGURE_FWP_MNGT 0 #include "fwp_confdefs.h" #include "fwp.h" -- 2.39.2