From: <kt...@us...> - 2008-05-30 00:44:16
|
Revision: 1989 http://cutter.svn.sourceforge.net/cutter/?rev=1989&view=rev Author: ktou Date: 2008-05-29 17:44:13 -0700 (Thu, 29 May 2008) Log Message: ----------- * cutter/cut-run-context.c: cleanup. Modified Paths: -------------- trunk/ChangeLog trunk/cutter/cut-run-context.c Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2008-05-29 06:41:33 UTC (rev 1988) +++ trunk/ChangeLog 2008-05-30 00:44:13 UTC (rev 1989) @@ -1,3 +1,7 @@ +2008-05-30 Kouhei Sutou <ko...@co...> + + * cutter/cut-run-context.c: cleanup. + 2008-05-28 Kouhei Sutou <ko...@co...> * gst-plugins/gst-cutter-test-runner.c: use stream-function. Modified: trunk/cutter/cut-run-context.c =================================================================== --- trunk/cutter/cut-run-context.c 2008-05-29 06:41:33 UTC (rev 1988) +++ trunk/cutter/cut-run-context.c 2008-05-30 00:44:13 UTC (rev 1989) @@ -913,9 +913,9 @@ static void notification_test (CutRunContext *context, - CutTest *test, - CutTestContext *test_context, - CutTestResult *result) + CutTest *test, + CutTestContext *test_context, + CutTestResult *result) { CutRunContextPrivate *priv; @@ -966,7 +966,8 @@ } void -cut_run_context_set_test_directory (CutRunContext *context, const gchar *directory) +cut_run_context_set_test_directory (CutRunContext *context, + const gchar *directory) { CutRunContextPrivate *priv = CUT_RUN_CONTEXT_GET_PRIVATE(context); @@ -981,7 +982,8 @@ } void -cut_run_context_set_source_directory (CutRunContext *context, const gchar *directory) +cut_run_context_set_source_directory (CutRunContext *context, + const gchar *directory) { CutRunContextPrivate *priv = CUT_RUN_CONTEXT_GET_PRIVATE(context); @@ -996,7 +998,8 @@ } void -cut_run_context_set_multi_thread (CutRunContext *context, gboolean use_multi_thread) +cut_run_context_set_multi_thread (CutRunContext *context, + gboolean use_multi_thread) { CutRunContextPrivate *priv = CUT_RUN_CONTEXT_GET_PRIVATE(context); @@ -1053,7 +1056,8 @@ } void -cut_run_context_set_target_test_case_names (CutRunContext *context, gchar **names) +cut_run_context_set_target_test_case_names (CutRunContext *context, + gchar **names) { CutRunContextPrivate *priv = CUT_RUN_CONTEXT_GET_PRIVATE(context); @@ -1243,11 +1247,14 @@ CutRunContextPrivate *priv; CutRepository *repository; CutTestSuite *suite; + const gchar **exclude_files, **exclude_directories; priv = CUT_RUN_CONTEXT_GET_PRIVATE(context); repository = cut_repository_new(priv->test_directory); - cut_repository_set_exclude_files(repository, (const gchar **)priv->exclude_files); - cut_repository_set_exclude_directories(repository, (const gchar **)priv->exclude_directories); + exclude_files = (const gchar **)priv->exclude_files; + cut_repository_set_exclude_files(repository, exclude_files); + exclude_directories = (const gchar **)priv->exclude_directories; + cut_repository_set_exclude_directories(repository, exclude_directories); suite = cut_repository_create_test_suite(repository); g_object_unref(repository); @@ -1326,7 +1333,8 @@ } gchar * -cut_run_context_build_source_filename (CutRunContext *context, const gchar *filename) +cut_run_context_build_source_filename (CutRunContext *context, + const gchar *filename) { const gchar *source_directory; gchar *source_filename; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |