/* we prefer the highly accurate performance counters on windows */
QueryPerformanceCounter (&now);
- return ((now.QuadPart - sysclock->priv->start.QuadPart) * sysclock->priv->ratio);
+ return ((now.QuadPart -
+ sysclock->priv->start.QuadPart) * sysclock->priv->ratio);
} else
#endif /* G_OS_WIN32 */
#if !defined HAVE_POSIX_TIMERS || !defined HAVE_CLOCK_GETTIME
int check_minor_version = CHECK_MINOR_VERSION;
int check_micro_version = CHECK_MICRO_VERSION;
-const char* current_test_name = NULL;
+const char *current_test_name = NULL;
static int non_pass (int val);
static Fixture *fixture_create (SFun fun, int ischecked);
{
send_ctx_info (CK_CTX_TEST);
send_loc_info (file, line);
-
+
current_test_name = fname;
}
main (gint argc, gchar * argv[])
{
/* default parameters */
- gchar *flavour_str = g_strdup("audio");
+ gchar *flavour_str = g_strdup ("audio");
gint flavour = FLAVOUR_AUDIO;
gint children = 3;
gint depth = 4;
GOptionContext *ctx;
GOptionEntry options[] = {
{"children", 'c', 0, G_OPTION_ARG_INT, &children,
- "Number of children (branches on each level) (default: 3)", NULL},
+ "Number of children (branches on each level) (default: 3)", NULL}
+ ,
{"depth", 'd', 0, G_OPTION_ARG_INT, &depth,
- "Depth of pipeline hierarchy tree (default: 4)", NULL},
+ "Depth of pipeline hierarchy tree (default: 4)", NULL}
+ ,
{"flavour", 'f', 0, G_OPTION_ARG_STRING, &flavour_str,
"Flavour (video|audio) controlling the kind of elements used "
- "(default: audio)", NULL},
+ "(default: audio)", NULL}
+ ,
{"loops", 'l', 0, G_OPTION_ARG_INT, &loops,
- "How many loops to run (default: 50)", NULL},
+ "How many loops to run (default: 50)", NULL}
+ ,
{NULL}
};
GError *err = NULL;
tmp_str = gst_uri_to_string (url);
#if GLIB_CHECK_VERSION(2, 59, 0)
fail_unless_equals_string (tmp_str,
- "//example.com/path/to/file/there/segment?key=value&query#fragment");
+ "//example.com/path/to/file/there/segment?key=value&query#fragment");
#else
fail_unless_equals_string (tmp_str,
- "//example.com/path/to/file/there/segment?query&key=value#fragment");
+ "//example.com/path/to/file/there/segment?query&key=value#fragment");
#endif
g_free (tmp_str);