Commit e499aa8 1 parent cbc1ecf commit e499aa8 Copy full SHA for e499aa8
File tree 5 files changed +20
-2
lines changed
5 files changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -18805,6 +18805,8 @@ void insert_select_or_with(
18805
18805
eval_subject_supersets = true;
18806
18806
18807
18807
} else if (ecs_id_is_wildcard(term->id)) {
18808
+ ecs_assert(subj != NULL, ECS_INTERNAL_ERROR, NULL);
18809
+
18808
18810
op = insert_operation(rule, -1, written);
18809
18811
18810
18812
if (!is_known(subj, written)) {
@@ -20155,6 +20157,8 @@ bool eval_superset(
20155
20157
return false;
20156
20158
}
20157
20159
20160
+ ecs_assert(table->type != NULL, ECS_INTERNAL_ERROR, NULL);
20161
+
20158
20162
ecs_entity_t col_entity = rule_get_column(table->type, column);
20159
20163
ecs_entity_t col_obj = ecs_entity_t_lo(col_entity);
20160
20164
Original file line number Diff line number Diff line change @@ -2074,6 +2074,8 @@ void insert_select_or_with(
2074
2074
eval_subject_supersets = true;
2075
2075
2076
2076
} else if (ecs_id_is_wildcard (term -> id )) {
2077
+ ecs_assert (subj != NULL , ECS_INTERNAL_ERROR , NULL );
2078
+
2077
2079
op = insert_operation (rule , -1 , written );
2078
2080
2079
2081
if (!is_known (subj , written )) {
@@ -3424,6 +3426,8 @@ bool eval_superset(
3424
3426
return false;
3425
3427
}
3426
3428
3429
+ ecs_assert (table -> type != NULL , ECS_INTERNAL_ERROR , NULL );
3430
+
3427
3431
ecs_entity_t col_entity = rule_get_column (table -> type , column );
3428
3432
ecs_entity_t col_obj = ecs_entity_t_lo (col_entity );
3429
3433
Original file line number Diff line number Diff line change 1621
1621
" test_subj_w_pair_wildcard_w_isa_2_lvls" ,
1622
1622
" test_this_w_wildcard_w_isa" ,
1623
1623
" test_this_w_wildcard_w_isa_2_lvls" ,
1624
- " test_this_w_wildcard_w_2_isa"
1624
+ " test_this_w_wildcard_w_2_isa" ,
1625
+ " test_this_w_wildcard_w_isa_no_owned"
1625
1626
]
1626
1627
}, {
1627
1628
"id" : " TransitiveRules" ,
Original file line number Diff line number Diff line change @@ -6226,3 +6226,7 @@ void Rules_test_this_w_wildcard_w_2_isa() {
6226
6226
6227
6227
ecs_fini (world );
6228
6228
}
6229
+
6230
+ void Rules_test_this_w_wildcard_w_isa_no_owned () {
6231
+ // Implement testcase
6232
+ }
Original file line number Diff line number Diff line change @@ -1554,6 +1554,7 @@ void Rules_test_subj_w_pair_wildcard_w_isa_2_lvls(void);
1554
1554
void Rules_test_this_w_wildcard_w_isa (void );
1555
1555
void Rules_test_this_w_wildcard_w_isa_2_lvls (void );
1556
1556
void Rules_test_this_w_wildcard_w_2_isa (void );
1557
+ void Rules_test_this_w_wildcard_w_isa_no_owned (void );
1557
1558
1558
1559
// Testsuite 'TransitiveRules'
1559
1560
void TransitiveRules_trans_X_X (void );
@@ -8482,6 +8483,10 @@ bake_test_case Rules_testcases[] = {
8482
8483
{
8483
8484
"test_this_w_wildcard_w_2_isa" ,
8484
8485
Rules_test_this_w_wildcard_w_2_isa
8486
+ },
8487
+ {
8488
+ "test_this_w_wildcard_w_isa_no_owned" ,
8489
+ Rules_test_this_w_wildcard_w_isa_no_owned
8485
8490
}
8486
8491
};
8487
8492
@@ -12222,7 +12227,7 @@ static bake_test_suite suites[] = {
12222
12227
"Rules" ,
12223
12228
NULL ,
12224
12229
NULL ,
12225
- 152 ,
12230
+ 153 ,
12226
12231
Rules_testcases
12227
12232
},
12228
12233
{
You can’t perform that action at this time.
0 commit comments