Skip to content

Commit

Permalink
rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jpeletier committed Dec 5, 2024
1 parent 376a82b commit 0e4687b
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
14 changes: 7 additions & 7 deletions test/meta/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -432,14 +432,14 @@
"array_move_primitive",
"array_move_struct",
"array_move_out_of_range",
"opaque_set_bool",
"opaque_set_char",
"opaque_set_int",
"opaque_set_uint",
"opaque_set_float",
"opaque_get_set_bool",
"opaque_get_set_char",
"opaque_get_set_int",
"opaque_get_set_uint",
"opaque_get_set_float",
"opaque_get_set_string",
"opaque_set_entity",
"opaque_set_id",
"opaque_get_set_entity",
"opaque_get_set_id",
"opaque_set_int_vec",
"opaque_set_int_vec_empty",
"opaque_set_int_vec_resize_smaller",
Expand Down
14 changes: 7 additions & 7 deletions test/meta/src/Cursor.c
Original file line number Diff line number Diff line change
Expand Up @@ -2843,7 +2843,7 @@ static ecs_entity_t Opaque_id_get(const void *ptr, const ecs_world_t *world) {
return ((Opaque_id*)ptr)->value;
}

void Cursor_opaque_set_bool(void) {
void Cursor_opaque_get_set_bool(void) {
ecs_world_t *world = ecs_init();

ECS_COMPONENT(world, Opaque_bool);
Expand All @@ -2868,7 +2868,7 @@ void Cursor_opaque_set_bool(void) {
ecs_fini(world);
}

void Cursor_opaque_set_char(void) {
void Cursor_opaque_get_set_char(void) {
ecs_world_t *world = ecs_init();

ECS_COMPONENT(world, Opaque_char);
Expand All @@ -2893,7 +2893,7 @@ void Cursor_opaque_set_char(void) {
ecs_fini(world);
}

void Cursor_opaque_set_int(void) {
void Cursor_opaque_get_set_int(void) {
ecs_world_t *world = ecs_init();

ECS_COMPONENT(world, Opaque_int64_t);
Expand All @@ -2918,7 +2918,7 @@ void Cursor_opaque_set_int(void) {
ecs_fini(world);
}

void Cursor_opaque_set_uint(void) {
void Cursor_opaque_get_set_uint(void) {
ecs_world_t *world = ecs_init();

ECS_COMPONENT(world, Opaque_uint64_t);
Expand All @@ -2943,7 +2943,7 @@ void Cursor_opaque_set_uint(void) {
ecs_fini(world);
}

void Cursor_opaque_set_float(void) {
void Cursor_opaque_get_set_float(void) {
ecs_world_t *world = ecs_init();

ECS_COMPONENT(world, Opaque_double);
Expand Down Expand Up @@ -2992,7 +2992,7 @@ void Cursor_opaque_get_set_string(void) {
ecs_fini(world);
}

void Cursor_opaque_set_entity(void) {
void Cursor_opaque_get_set_entity(void) {
ecs_world_t *world = ecs_init();

ECS_COMPONENT(world, Opaque_entity);
Expand All @@ -3019,7 +3019,7 @@ void Cursor_opaque_set_entity(void) {
ecs_fini(world);
}

void Cursor_opaque_set_id(void) {
void Cursor_opaque_get_set_id(void) {
ecs_world_t *world = ecs_init();

ECS_COMPONENT(world, Opaque_id);
Expand Down
42 changes: 21 additions & 21 deletions test/meta/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -407,14 +407,14 @@ void Cursor_array_struct_3(void);
void Cursor_array_move_primitive(void);
void Cursor_array_move_struct(void);
void Cursor_array_move_out_of_range(void);
void Cursor_opaque_set_bool(void);
void Cursor_opaque_set_char(void);
void Cursor_opaque_set_int(void);
void Cursor_opaque_set_uint(void);
void Cursor_opaque_set_float(void);
void Cursor_opaque_get_set_bool(void);
void Cursor_opaque_get_set_char(void);
void Cursor_opaque_get_set_int(void);
void Cursor_opaque_get_set_uint(void);
void Cursor_opaque_get_set_float(void);
void Cursor_opaque_get_set_string(void);
void Cursor_opaque_set_entity(void);
void Cursor_opaque_set_id(void);
void Cursor_opaque_get_set_entity(void);
void Cursor_opaque_get_set_id(void);
void Cursor_opaque_set_int_vec(void);
void Cursor_opaque_set_int_vec_empty(void);
void Cursor_opaque_set_int_vec_resize_smaller(void);
Expand Down Expand Up @@ -2554,36 +2554,36 @@ bake_test_case Cursor_testcases[] = {
Cursor_array_move_out_of_range
},
{
"opaque_set_bool",
Cursor_opaque_set_bool
"opaque_get_set_bool",
Cursor_opaque_get_set_bool
},
{
"opaque_set_char",
Cursor_opaque_set_char
"opaque_get_set_char",
Cursor_opaque_get_set_char
},
{
"opaque_set_int",
Cursor_opaque_set_int
"opaque_get_set_int",
Cursor_opaque_get_set_int
},
{
"opaque_set_uint",
Cursor_opaque_set_uint
"opaque_get_set_uint",
Cursor_opaque_get_set_uint
},
{
"opaque_set_float",
Cursor_opaque_set_float
"opaque_get_set_float",
Cursor_opaque_get_set_float
},
{
"opaque_get_set_string",
Cursor_opaque_get_set_string
},
{
"opaque_set_entity",
Cursor_opaque_set_entity
"opaque_get_set_entity",
Cursor_opaque_get_set_entity
},
{
"opaque_set_id",
Cursor_opaque_set_id
"opaque_get_set_id",
Cursor_opaque_get_set_id
},
{
"opaque_set_int_vec",
Expand Down

0 comments on commit 0e4687b

Please sign in to comment.