71 lines
2.6 KiB
Diff
71 lines
2.6 KiB
Diff
From 2e44434922f469eeb69f875f1168811f969d5902 Mon Sep 17 00:00:00 2001
|
|
From: Azat Khuzhin <a3at.mail@gmail.com>
|
|
Date: Mon, 7 Sep 2015 10:33:28 +0300
|
|
Subject: [PATCH] fix warnings in man
|
|
|
|
---
|
|
Man/man3/CUnit.3 | 20 ++++++++++----------
|
|
1 file changed, 10 insertions(+), 10 deletions(-)
|
|
|
|
diff --git a/Man/man3/CUnit.3 b/Man/man3/CUnit.3
|
|
index 6ea4e6d..ae50ddf 100644
|
|
--- a/Man/man3/CUnit.3
|
|
+++ b/Man/man3/CUnit.3
|
|
@@ -473,7 +473,7 @@ dynamically. The following functions are provided for this purpose, and should
|
|
be used instead of directly setting the value of the data structure members. All
|
|
return CUE_SUCCESS on success, and the indicated error code on failure.
|
|
.P
|
|
-.TP5
|
|
+.TP 5
|
|
.B "CU_ErrorCode CU_set_suite_name(CU_pSuite pSuite, const char *strNewName)"
|
|
.TP 5
|
|
.B "CU_ErrorCode CU_set_test_name(CU_pTest pTest, const char *strNewName)"
|
|
@@ -481,7 +481,7 @@ These functions change the name of registered suites and tests. The current nam
|
|
are available as the
|
|
.B pSuite->pName</I>
|
|
and
|
|
-.BpTest->pName
|
|
+.B pTest->pName
|
|
data structure members. If the suite or test is NULL, then CUE_NOSUITE or CUE_NOTEST
|
|
is returned, respectively. If strNewName is NULL, then CUE_NO_SUITENAME or
|
|
CUE_NO_TESTNAME is returned, respectively.
|
|
@@ -518,13 +518,13 @@ nothing is known about the suite or test, the client will need to iterate the in
|
|
data structures to enumerate the suites and tests. This is not directly supported in
|
|
the client API.
|
|
.P
|
|
-.TP5
|
|
+.TP 5
|
|
.B "CU_pSuite CU_get_suite(const char* strName)"
|
|
-.TP5
|
|
+.TP 5
|
|
.B "CU_pSuite CU_get_suite_at_pos(unsigned int pos)"
|
|
-.TP5
|
|
+.TP 5
|
|
.B "unsigned int CU_get_suite_pos(CU_pSuite pSuite)"
|
|
-.TP5
|
|
+.TP 5
|
|
.B "unsigned int CU_get_suite_pos_by_name(const char* strName)"
|
|
</P>
|
|
These functions facilitate lookup of suites registered in the active test registry.
|
|
@@ -539,13 +539,13 @@ These return 0 if the suite cannot be found. In addition, all these functions s
|
|
CUnit error state to CUE_NOREGISTRY> if the registry is not initialized. As appropriate,
|
|
CUE_NO_SUITENAME is set if strName is NULL, and CUE_NOSUITE is set if pSuite is NULL.
|
|
.P
|
|
-.TP5
|
|
+.TP 5
|
|
.B "CU_pTest CU_get_test(CU_pSuite pSuite, const char *strName)"
|
|
-.TP5
|
|
+.TP 5
|
|
.B "CU_pTest CU_get_test_at_pos<(CU_pSuite pSuite, unsigned int pos)"
|
|
-.TP5
|
|
+.TP 5
|
|
.B "unsigned int CU_get_test_pos<(CU_pSuite pSuite, CU_pTest pTest)"
|
|
-.TP5
|
|
+.TP 5
|
|
.B "unsigned int CU_get_test_pos_by_name(CU_pSuite pSuite, const char *strName)"
|
|
These functions facilitate lookup of tests registered in suites. The first
|
|
2 functions allow lookup of the test by name or position and return NULL if the
|
|
--
|
|
2.5.1
|
|
|