[gnome-builder] tests: specify unit testing as requiring 3.28
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] tests: specify unit testing as requiring 3.28
- Date: Wed, 8 Nov 2017 07:28:10 +0000 (UTC)
commit 75f15545cdd6e8c2108a64435fd41bd4ca40360f
Author: Christian Hergert <chergert redhat com>
Date: Tue Nov 7 23:25:21 2017 -0800
tests: specify unit testing as requiring 3.28
src/libide/ide.h | 1 +
src/libide/testing/ide-test-manager.h | 6 ++++++
src/libide/testing/ide-test-provider.h | 14 +++++++-------
src/libide/testing/ide-test.h | 20 ++++++++++----------
4 files changed, 24 insertions(+), 17 deletions(-)
---
diff --git a/src/libide/ide.h b/src/libide/ide.h
index ab134c8..c5ded99 100644
--- a/src/libide/ide.h
+++ b/src/libide/ide.h
@@ -166,6 +166,7 @@ G_BEGIN_DECLS
#include "template/ide-project-template.h"
#include "template/ide-template-provider.h"
#include "testing/ide-test.h"
+#include "testing/ide-test-manager.h"
#include "testing/ide-test-provider.h"
#include "threading/ide-thread-pool.h"
#include "transfers/ide-pkcon-transfer.h"
diff --git a/src/libide/testing/ide-test-manager.h b/src/libide/testing/ide-test-manager.h
index 5d3f583..d00d9a8 100644
--- a/src/libide/testing/ide-test-manager.h
+++ b/src/libide/testing/ide-test-manager.h
@@ -19,6 +19,7 @@
#pragma once
#include "ide-object.h"
+#include "ide-version-macros.h"
G_BEGIN_DECLS
@@ -26,19 +27,24 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (IdeTestManager, ide_test_manager, IDE, TEST_MANAGER, IdeObject)
+IDE_AVAILABLE_IN_3_28
gboolean ide_test_manager_get_loading (IdeTestManager *self);
+IDE_AVAILABLE_IN_3_28
void ide_test_manager_run_async (IdeTestManager *self,
IdeTest *test,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+IDE_AVAILABLE_IN_3_28
gboolean ide_test_manager_run_finish (IdeTestManager *self,
GAsyncResult *result,
GError **error);
+IDE_AVAILABLE_IN_3_28
void ide_test_manager_run_all_async (IdeTestManager *self,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
+IDE_AVAILABLE_IN_3_28
gboolean ide_test_manager_run_all_finish (IdeTestManager *self,
GAsyncResult *result,
GError **error);
diff --git a/src/libide/testing/ide-test-provider.h b/src/libide/testing/ide-test-provider.h
index 47eac49..8f613b5 100644
--- a/src/libide/testing/ide-test-provider.h
+++ b/src/libide/testing/ide-test-provider.h
@@ -56,27 +56,27 @@ struct _IdeTestProviderClass
gpointer _reserved8;
};
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
gboolean ide_test_provider_get_loading (IdeTestProvider *self);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
void ide_test_provider_set_loading (IdeTestProvider *self,
gboolean loading);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
void ide_test_provider_clear (IdeTestProvider *self);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
void ide_test_provider_add (IdeTestProvider *self,
IdeTest *test);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
void ide_test_provider_remove (IdeTestProvider *self,
IdeTest *test);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
void ide_test_provider_run_async (IdeTestProvider *self,
IdeTest *test,
IdeBuildPipeline *pipeline,
GCancellable *cancellable,
GAsyncReadyCallback callback,
gpointer user_data);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
gboolean ide_test_provider_run_finish (IdeTestProvider *self,
GAsyncResult *result,
GError **error);
diff --git a/src/libide/testing/ide-test.h b/src/libide/testing/ide-test.h
index 0fdf670..7f37973 100644
--- a/src/libide/testing/ide-test.h
+++ b/src/libide/testing/ide-test.h
@@ -51,28 +51,28 @@ struct _IdeTestClass
gpointer _reserved8;
};
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
IdeTest *ide_test_new (void);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
const gchar *ide_test_get_display_name (IdeTest *self);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
void ide_test_set_display_name (IdeTest *self,
const gchar *display_name);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
const gchar *ide_test_get_group (IdeTest *self);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
void ide_test_set_group (IdeTest *self,
const gchar *group);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
const gchar *ide_test_get_icon_name (IdeTest *self);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
const gchar *ide_test_get_id (IdeTest *self);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
void ide_test_set_id (IdeTest *self,
const gchar *id);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
IdeTestStatus ide_test_get_status (IdeTest *self);
-IDE_AVAILABLE_IN_ALL
+IDE_AVAILABLE_IN_3_28
void ide_test_set_status (IdeTest *self,
IdeTestStatus status);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]