This function doesn't follow our convention of naming functions.
return EXIT_AM_SKIP;
#endif
- virtTestCounterReset("testQemuCommandBuildObjectFromJSON");
+ virTestCounterReset("testQemuCommandBuildObjectFromJSON");
#define DO_TEST_COMMAND_OBJECT_FROM_JSON(PROPS, EXPECT) \
do { \
/**
- * virtTestCounterReset:
+ * virTestCounterReset:
* @prefix: name of the test group
*
* Resets the counter and sets up the test group name to use with
* case names (including the number index) will be silently truncated.
*/
void
-virtTestCounterReset(const char *prefix)
+virTestCounterReset(const char *prefix)
{
virtTestCounter = 0;
* a way to do automagic test case numbering.
*
* Returns string consisting of test name prefix configured via
- * virtTestCounterReset() and a number that increments in every call of this
+ * virTestCounterReset() and a number that increments in every call of this
* function. This function is not thread safe.
*
* Note: The buffer for the assembled message is 128 bytes long. Longer test
void virtTestQuiesceLibvirtErrors(bool always);
-void virtTestCounterReset(const char *prefix);
+void virTestCounterReset(const char *prefix);
const char *virtTestCounterNext(void);
int virtTestMain(int argc,
if (virTestRun("test10", test10, NULL) < 0)
ret = -1;
- virtTestCounterReset("test11-");
+ virTestCounterReset("test11-");
TESTBINARYOP("0", "0", "0,^0", test11);
TESTBINARYOP("0-3", "0", "1-3", test11);
TESTBINARYOP("0-3", "0,3", "1-2", test11);
#define DO_TEST_SANITIZE_PATH_SAME(PATH) DO_TEST_SANITIZE_PATH(PATH, PATH)
- virtTestCounterReset("testFileSanitizePath ");
+ virTestCounterReset("testFileSanitizePath ");
DO_TEST_SANITIZE_PATH("", "");
DO_TEST_SANITIZE_PATH("/", "/");
DO_TEST_SANITIZE_PATH("/path", "/path");
} while (0)
/* The actual tests, in several groups. */
- virtTestCounterReset("Storage backing chain ");
+ virTestCounterReset("Storage backing chain ");
/* Missing file */
TEST_ONE_CHAIN("bogus", VIR_STORAGE_FILE_RAW, EXP_FAIL);