eolian: remove test for generated Eina_Promise.
This commit is contained in:
parent
e03c8957cd
commit
8a3e745e1a
|
@ -108,15 +108,12 @@ tests/eolian/eolian_suite
|
|||
tests_eolian_eolian_suite_SOURCES = \
|
||||
tests/eolian/eolian_parsing.c \
|
||||
tests/eolian/eolian_generation.c \
|
||||
tests/eolian/eolian_generated_promise.c \
|
||||
tests/eolian/eolian_generated_future.c \
|
||||
tests/eolian/eolian_suite.c \
|
||||
tests/eolian/eolian_suite.h
|
||||
|
||||
tests/eolian/tests_eolian_eolian_suite-eolian_generated_promise.$(OBJEXT): tests/eolian/generated_promise.eo.h tests/eolian/generated_promise.eo.c
|
||||
tests/eolian/tests_eolian_eolian_suite-eolian_generated_future.$(OBJEXT): tests/eolian/generated_future.eo.h tests/eolian/generated_future.eo.c
|
||||
|
||||
CLEANFILES += tests/eolian/generated_promise.eo.h tests/eolian/generated_promise.eo.c
|
||||
CLEANFILES += tests/eolian/generated_future.eo.h tests/eolian/generated_future.eo.c
|
||||
|
||||
tests_eolian_eolian_suite_CPPFLAGS = -I$(top_builddir)/src/lib/efl -I$(top_builddir)/src/tests/eolian \
|
||||
|
@ -147,6 +144,5 @@ tests/eolian/data/class_simple_ref_legacy.h \
|
|||
tests/eolian/data/import_types_ref.h \
|
||||
tests/eolian/data/docs_ref.h \
|
||||
tests/eolian/data/docs_ref_legacy.h \
|
||||
tests/eolian/generated_promise.eo \
|
||||
tests/eolian/generated_future.eo \
|
||||
$(EOLIAN_TESTS_EOS)
|
||||
|
|
|
@ -1,61 +0,0 @@
|
|||
|
||||
#ifdef HAVE_CONFIG_H
|
||||
#include "config.h"
|
||||
#endif
|
||||
|
||||
#include <Eina.h>
|
||||
#include <Eo.h>
|
||||
|
||||
#include <check.h>
|
||||
|
||||
struct Generated_Promise_Data {};
|
||||
typedef struct Generated_Promise_Data Generated_Promise_Data;
|
||||
|
||||
static void _generated_promise_method_progress_type(Eo *obj EINA_UNUSED, Generated_Promise_Data *pd EINA_UNUSED,
|
||||
Eina_Promise_Owner *promise1 EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
static Eina_Promise * _generated_promise_prop1_get(Eo *obj EINA_UNUSED, Generated_Promise_Data *pd EINA_UNUSED)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
||||
static void _generated_promise_prop2_get(Eo *obj EINA_UNUSED, Generated_Promise_Data *pd EINA_UNUSED, int *i EINA_UNUSED,
|
||||
Eina_Promise **promise1 EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
static void _generated_promise_prop3_set(Eo *obj EINA_UNUSED, Generated_Promise_Data *pd EINA_UNUSED,
|
||||
Eina_Promise *promise1 EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
static void _generated_promise_method1(Eo *obj EINA_UNUSED, Generated_Promise_Data *pd EINA_UNUSED,
|
||||
Eina_Promise_Owner *promise1 EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
static void _generated_promise_method2(Eo *obj EINA_UNUSED, Generated_Promise_Data *pd EINA_UNUSED,
|
||||
Eina_Promise **promise1 EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
static void _generated_promise_method3(Eo *obj EINA_UNUSED, Generated_Promise_Data *pd EINA_UNUSED,
|
||||
Eina_Promise *promise1 EINA_UNUSED)
|
||||
{
|
||||
ck_assert(promise1 != NULL);
|
||||
}
|
||||
|
||||
static void _generated_promise_method_multiple_args_1(Eo *obj EINA_UNUSED, Generated_Promise_Data *pd EINA_UNUSED,
|
||||
Eina_Promise_Owner *promise1 EINA_UNUSED, void *data EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
static void _generated_promise_method_multiple_args_2(Eo *obj EINA_UNUSED, Generated_Promise_Data *pd EINA_UNUSED,
|
||||
void *data EINA_UNUSED, Eina_Promise_Owner *promise1 EINA_UNUSED)
|
||||
{
|
||||
}
|
||||
|
||||
#include "generated_promise.eo.h"
|
||||
#include "generated_promise.eo.c"
|
|
@ -1,58 +0,0 @@
|
|||
class Generated_Promise (Efl.Object)
|
||||
{
|
||||
methods {
|
||||
method1 {
|
||||
params {
|
||||
@inout promise1: promise<int>;
|
||||
}
|
||||
}
|
||||
method_progress_type {
|
||||
params {
|
||||
@inout promise1: promise<int, double>;
|
||||
}
|
||||
}
|
||||
method_multiple_args_1 {
|
||||
params {
|
||||
@inout promise1: promise<int>;
|
||||
@in data: void_ptr;
|
||||
}
|
||||
}
|
||||
method_multiple_args_2 {
|
||||
params {
|
||||
@in data: void_ptr;
|
||||
@inout promise1: promise<int>;
|
||||
}
|
||||
}
|
||||
method2 {
|
||||
params {
|
||||
@out promise1: promise<int>;
|
||||
}
|
||||
}
|
||||
method3 {
|
||||
params {
|
||||
@in promise1: promise<int>;
|
||||
}
|
||||
}
|
||||
@property prop1 {
|
||||
get {}
|
||||
values {
|
||||
promise1: promise<int>;
|
||||
}
|
||||
}
|
||||
@property prop2 {
|
||||
get {}
|
||||
values {
|
||||
i: int;
|
||||
promise1: promise<int>;
|
||||
}
|
||||
}
|
||||
@property prop3 {
|
||||
set {}
|
||||
values {
|
||||
promise1: promise<int>;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue