Commit 5c27d3ae authored by Christian Hergert's avatar Christian Hergert
Browse files

tests: add some debug helpers for unit test

parent f0329a4b
......@@ -16,6 +16,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#define G_LOG_DOMAIN "test-ide-build-pipeline"
#include <ide.h>
#include "application/ide-application-tests.h"
......@@ -32,6 +34,8 @@ execute_cb (GObject *object,
g_assert (IDE_IS_BUILD_PIPELINE (pipeline));
g_debug ("Pipeline callback of completion");
r = ide_build_pipeline_execute_finish (pipeline, result, &error);
g_assert_no_error (error);
g_assert_cmpint (r, ==, TRUE);
......@@ -69,6 +73,8 @@ context_loaded (GObject *object,
ide_build_pipeline_request_phase (pipeline, IDE_BUILD_PHASE_BUILD);
g_debug ("Executing pipeline");
ide_build_pipeline_execute_async (pipeline,
NULL,
execute_cb,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment