Sync to released Jecs 0.5.5-nightly.20250413T001101Z (#32)
Reviewed-on: #32
This commit is contained in:
parent
f41558cadc
commit
024bb62b3b
10 changed files with 121 additions and 179 deletions
|
@ -1,77 +1,39 @@
|
|||
*created [32;1me271[0m[33;1mv0[0m
|
||||
*created [32;1me272[0m[33;1mv0[0m
|
||||
*created [32;1me273[0m[33;1mv0[0m
|
||||
*created [32;1me274[0m[33;1mv0[0m
|
||||
*created [32;1me275[0m[33;1mv0[0m
|
||||
*created [32;1me276[0m[33;1mv0[0m
|
||||
*created [32;1me277[0m[33;1mv0[0m
|
||||
*created [32;1me278[0m[33;1mv0[0m
|
||||
*created [32;1me279[0m[33;1mv0[0m
|
||||
*created [32;1me280[0m[33;1mv0[0m
|
||||
|-alive--|
|
||||
| [32;1me271[0m[33;1mv0[0m |
|
||||
|--------|
|
||||
| [32;1me272[0m[33;1mv0[0m |
|
||||
|--------|
|
||||
| [32;1me273[0m[33;1mv0[0m |
|
||||
|--------|
|
||||
| [32;1me274[0m[33;1mv0[0m |
|
||||
|--------|
|
||||
| [32;1me275[0m[33;1mv0[0m |
|
||||
|--------|
|
||||
| [32;1me276[0m[33;1mv0[0m |
|
||||
|--------|
|
||||
| [32;1me277[0m[33;1mv0[0m |
|
||||
|--------|
|
||||
| [32;1me278[0m[33;1mv0[0m |
|
||||
|--------|
|
||||
| [32;1me279[0m[33;1mv0[0m |
|
||||
|--------|
|
||||
| [32;1me280[0m[33;1mv0[0m |
|
||||
|--------|
|
||||
|
||||
|
||||
*deleted [32;1me270[0m[33;1mv0[0m
|
||||
*deleted [32;1me271[0m[33;1mv0[0m
|
||||
*deleted [32;1me272[0m[33;1mv0[0m
|
||||
*deleted [32;1me273[0m[33;1mv0[0m
|
||||
*deleted [32;1me274[0m[33;1mv0[0m
|
||||
*deleted [32;1me275[0m[33;1mv0[0m
|
||||
*deleted [32;1me274[0m[33;1mv1[0m
|
||||
*deleted [32;1me273[0m[33;1mv1[0m
|
||||
*deleted [32;1me272[0m[33;1mv1[0m
|
||||
*deleted [32;1me271[0m[33;1mv1[0m
|
||||
*deleted [32;1me270[0m[33;1mv1[0m
|
||||
----idempotent
|
||||
1_2
|
||||
1_2
|
||||
[38;1m7.1[0m [33;1mus[0m [38;1m 1[0m [33;1mkB[0m[38;1m│[0m [38;1mdelete children of entity[0m
|
||||
[38;1m9.2[0m [33;1mus[0m [38;1m 1[0m [33;1mkB[0m[38;1m│[0m [38;1mremove friends of entity[0m
|
||||
[38;1m346[0m [32;1mns[0m [38;1m 0[0m [32;1m B[0m[38;1m│[0m [38;1msimple deletion of entity[0m
|
||||
[37;1mthe great reset[0m
|
||||
[38;1m7.4[0m [33;1mus[0m [38;1m 2[0m [33;1mkB[0m[38;1m│[0m [38;1mdelete children of entity[0m
|
||||
[38;1m9.5[0m [33;1mus[0m [38;1m 1[0m [33;1mkB[0m[38;1m│[0m [38;1mremove friends of entity[0m
|
||||
[38;1m352[0m [32;1mns[0m [38;1m 0[0m [32;1m B[0m[38;1m│[0m [38;1msimple deletion of entity[0m
|
||||
[37;1mworld:add()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1midempotent[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1marchetype move[0m
|
||||
|
||||
[37;1mworld:children()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
|
||||
[37;1m#repro3[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould add the correct ModelBase for parts[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould add the correct ModelBase for parts[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
[37;1mworld:clear()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould remove its components[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mremove cleared ID from entities[0m
|
||||
|
||||
[37;1m#adding a recycled target[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
[37;1mworld:component()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1monly components should have EcsComponent trait[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mtag[0m
|
||||
|
||||
[37;1m#repro2[0m
|
||||
[37;1mworld:contains()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould not exist after delete[0m
|
||||
|
||||
[37;1manother[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
[37;1mworld:delete()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1minvoke OnRemove hooks[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mdelete recycled entity id used as component[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mbug: Empty entity does not respect cleanup policy[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow deleting components[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mdelete entities using another Entity as component with Delete cleanup action[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mdelete children[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mremove deleted ID from entities[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mfast delete[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mcycle[0m
|
||||
|
||||
[37;1m#repro[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
|
||||
[37;1marchetype[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
|
||||
[37;1mworld:cleanup()[0m
|
||||
[37;1mworld:each()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
|
||||
[37;1mworld:entity()[0m
|
||||
|
@ -81,16 +43,9 @@
|
|||
[32;1mPASS[0m[38;1m│[0m [38;1mRecycling[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mRecycling max generation[0m
|
||||
|
||||
[37;1mworld:set()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1marchetype move[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mpairs[0m
|
||||
|
||||
[37;1mworld:remove()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow remove a component that doesn't exist on entity[0m
|
||||
|
||||
[37;1mworld:add()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1midempotent[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1marchetype move[0m
|
||||
[37;1mworld:has()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould find Tag on entity[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould return false when missing one tag[0m
|
||||
|
||||
[37;1mworld:query()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mcached[0m
|
||||
|
@ -110,49 +65,32 @@
|
|||
[32;1mPASS[0m[38;1m│[0m [38;1mshould error when setting invalid pair[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould find target for ChildOf[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mdespawning while iterating[0m
|
||||
[38;5;208mNONE[0m[38;1m│[0m [38;1miterator invalidation[0m
|
||||
[33;1mSKIP[0m[38;1m│[0m [38;1madding[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mspawning[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould not find any entities[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mwithout[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mworld:query():without()[0m
|
||||
|
||||
[37;1mworld:each[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
[37;1mworld:remove()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow remove a component that doesn't exist on entity[0m
|
||||
|
||||
[37;1mworld:children[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
|
||||
[37;1mworld:clear()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould remove its components[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mremove cleared ID from entities[0m
|
||||
|
||||
[37;1mworld:has()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould find Tag on entity[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould return false when missing one tag[0m
|
||||
|
||||
[37;1mworld:component()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1monly components should have EcsComponent trait[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mtag[0m
|
||||
|
||||
[37;1mworld:delete[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1minvoke OnRemove hooks[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mdelete recycled entity id used as component[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mbug: Empty entity does not respect cleanup policy[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould allow deleting components[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mdelete entities using another Entity as component with Delete cleanup action[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mdelete children[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mremove deleted ID from entities[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mfast delete[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mcycle[0m
|
||||
[37;1mworld:set()[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1marchetype move[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mpairs[0m
|
||||
|
||||
[37;1mworld:target[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mnth index[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1minfer index when unspecified[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mloop until no target[0m
|
||||
|
||||
[37;1mworld:contains[0m
|
||||
[37;1m#adding a recycled target[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
|
||||
[37;1m#repro2[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
|
||||
[37;1manother[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
|
||||
[37;1m#repro[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mshould not exist after delete[0m
|
||||
|
||||
[37;1mHooks[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1mOnAdd[0m
|
||||
|
@ -177,5 +115,5 @@
|
|||
[32;1mPASS[0m[38;1m│[0m [38;1m#2[0m
|
||||
[32;1mPASS[0m[38;1m│[0m [38;1m#3[0m
|
||||
|
||||
[38;1m77/77 test cases passed in 29.411 ms.[0m
|
||||
[38;1m68/68 test cases passed in 29.621 ms.[0m
|
||||
[32;1m0 fails[0m
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue