This function doesn't follow our convention of naming functions.
do { \
data1.props = PROPS; \
data1.expectprops = EXPECT; \
- if (virTestRun(virtTestCounterNext(), \
+ if (virTestRun(virTestCounterNext(), \
testQemuCommandBuildObjectFromJSON, \
&data1) < 0) \
ret = -1; \
* @prefix: name of the test group
*
* Resets the counter and sets up the test group name to use with
- * virtTestCounterNext(). This function is not thread safe.
+ * virTestCounterNext(). This function is not thread safe.
*
* Note: The buffer for the assembled message is 128 bytes long. Longer test
* case names (including the number index) will be silently truncated.
/**
- * virtTestCounterNext:
+ * virTestCounterNext:
*
* This function is designed to ease test creation and reordering by adding
* a way to do automagic test case numbering.
* case names (including the number index) will be silently truncated.
*/
const char
-*virtTestCounterNext(void)
+*virTestCounterNext(void)
{
size_t len = ARRAY_CARDINALITY(virtTestCounterStr);
void virTestQuiesceLibvirtErrors(bool always);
void virTestCounterReset(const char *prefix);
-const char *virtTestCounterNext(void);
+const char *virTestCounterNext(void);
int virtTestMain(int argc,
char **argv,
testBinaryOpData.a = A; \
testBinaryOpData.b = B; \
testBinaryOpData.res = RES; \
- if (virTestRun(virtTestCounterNext(), FUNC, &testBinaryOpData) < 0) \
+ if (virTestRun(virTestCounterNext(), FUNC, &testBinaryOpData) < 0) \
ret = -1;
static int
do { \
data1.path = PATH; \
data1.expect = EXPECT; \
- if (virTestRun(virtTestCounterNext(), testFileSanitizePath, \
+ if (virTestRun(virTestCounterNext(), testFileSanitizePath, \
&data1) < 0) \
ret = -1; \
} while (0)
for (i = 0; i < ARRAY_CARDINALITY(data.files); i++) \
if (data.files[i]) \
data.nfiles++; \
- if (virTestRun(virtTestCounterNext(), \
+ if (virTestRun(virTestCounterNext(), \
testStorageChain, &data) < 0) \
ret = -1; \
} while (0)