polserver/docs/docs.polserver.com/pol100/objref.dot
turleypol 6d73472029
Testsuite reorganization, new feature to call exported functions (#237)
* restructured pol testscripts
pkg based (dedicated pkgroot)
runs per pkg:
setup.ecl if exists
all scripts starting with "test"
cleanup.ecl if exists

return 1 for success everything else is an error

* Scripts can now be loaded and exported functions called
adapted testscripts to use this feature
critical script handling missing

* added support for used in critical scripts

* use weakptr instead of pid
moved keep_alive flag to uoexecutor

* Function and nethod accept now a argument list

* added docs

* missing docs

* faster shutdown time

* fixed typo

* fixed weird cornercase

* shorter test functions names, the length is limited, renamed
loadexported test script to have a dedicated testscript

* generate tiledata/multi for small boat
added generate scripts for generation..
adapted testdata set

* boat tests

* extended scripttests
scheduler will now always know about the loaded script
secured scheduler api

* cleanuo scripts for boat and npc

* shorter function for error return
fixed cleanup: npcs have gravestones, chars was one off and scripted
create of a char made it permanent logged in (until next restart),
which also means that it cannot be deleted

* bypass windows specific ecompile.cfg logic

* fix for parallel execution

* on windows its called .exe ..

* use target binary directly, so cmake can replace it with the actual path
use absolute path to testsuite
disabled temporary the copy of ecompile

* configure ecompile.cfg to add absolute path

* early sleepms calls can lead to endless waiting

* Code coverage (#260)

* play with coverage reports

* fix yml

* use 0 as default for gcov cmake var

* fixed used cov version, hopefully fixed now cmake

* demangle function names

* removed debug msg

* added a few polcore tests (basically just for coverage)
first set executor to noncritical before blocking

* added https://coveralls.io/github/polserver/polserver

* added a stackable item
added a few backpack insert tests
do coverage build only on push events not also for PR merge builds

* added storage tests..
docs need fixes, the Imps are not working at all

* fixed storage test to really move items

* added a house
corrected static/dynamic flag
created a few house tests

* updated yml file to new github api

* corrected coverage discord job name

* always put to runlist even if not necessary

* extended aos prop tests

* equip/unequip aos mod

* extra ci step for shard test fixtures and activated verbose shard test

* use extra ci step for all build configs, sorted testscripts for
execution

* fixed sorting

* added param to syslog to not print the context (cleaner testscript
visualization)

* added build targets for tests

* sleep api cleanup

* more aos property tests

* build for coveralls also on pullrequest

* readded debug state reset on schedule

* updated checkout ci action

* updated checkout in all ci runs
2020-12-16 18:56:10 +01:00

108 lines
3.8 KiB
Text

//To generate:
// dot -Kneato -Tsvg -o objref.svg objref.dot
// and remove DOCTYPE line at the beginning!
graph {
bgcolor="transparent"
node [shape=plain fontname="monospace" fontsize=12 fontcolor="blue" target="_top"]
splines=line
uobject [label="UObject" href="#UObject" pos="2.05,10!"]
char [label="Character" href="#Character" pos="1.35,9.4!"]
item [label="Item" href="#Item" pos="2.75,9.4!"]
npc [label="NPC" href="#NPC" pos="1.35,8.8!"]
equipment [label="Equipment" href="#Equipment" pos="0.65,8.2!"]
lockable [label="Lockable" href="#Lockable" pos="2.05,8.2!"]
map [label="Map" href="#Map" pos="3.45,8.2!"]
multi [label="Multi" href="#Multi" pos="4.85,8.2!"]
armor [label="Armor" href="#Armor" pos="0.3,7.6!"]
weapon [label="Weapon" href="#Weapon" pos="1.0,7.6!"]
door [label="Door" href="#Door" pos="1.7,7.6!"]
container [label="Container" href="#Container" pos="2.4,7.6!"]
boat [label="Boat" href="#Boat" pos="4.5,7.6!"]
house [label="House" href="#House" pos="5.2,7.6!"]
spellbook [label="Spellbook" href="#Spellbook" pos="2.00,7!"]
corpse [label="Corpse" href="#Corpse" pos="2.8,7!"]
// standalone
account [label="Account" href="#Account" pos="4.85,10!"]
array [label="Array" href="#Array" pos="4.85,9.7!"]
auxconnection [label="AuxConnection" href="#AuxConnection" pos="4.85,9.4!"]
binaryfile [label="BinaryFile" href="#BinaryFile" pos="4.85,9.1!"]
boolean [label="Boolean" href="#Boolean" pos="4.85,8.8!"]
client [label="Client" href="#Client" pos="6.35,10!"]
datafile [label="Datafile" href="#Datafile" pos="6.35,9.7!"]
datafileelement [label="DataFileElement" href="#DataFileElement" pos="6.35,9.4!"]
dictionary [label="Dictionary" href="#Dictionary" pos="6.35,9.1!"]
error [label="Error" href="#Error" pos="6.35,8.8!"]
functionobject [label="FunctionObject" href="#FunctionObject" pos="6.35,8.5!"]
guild [label="Guild" href="#Guild" pos="6.35,8.2!"]
package [label="Package" href="#Package" pos="6.35,7.9!"]
packet [label="Packet" href="#Packet" pos="6.35,7.6!"]
party [label="Party" href="#Party" pos="6.35,7.3!"]
polcore [label="PolCore" href="#Polcore" pos="6.35,7!"]
script [label="Script" href="#Script" pos="7.85,10!"]
struct [label="Struct" href="#Struct" pos="7.85,9.7!"]
string [label="String" href="#String" pos="7.85,9.4!"]
storageareas [label="StorageAreas" href="#StorageAreas" pos="7.85,9.1!"]
storagearea [label="StorageArea" href="#StorageArea" pos="7.85,8.8!"]
xmlfile [label="XMLFile" href="#XMLFile" pos="7.85,8.5!"]
xmlnode [label="XMLNode" href="#XMLNode" pos="7.85,8.2!"]
xmlattributes [label="XMLAttributes" href="#XMLAttributes" pos="7.85,7.9!"]
exportedscript [label="ExportedScript" href="#ExportedScript" pos="7.85,7.6!"]
{
node [width=0, shape=point, style=invis];
0 [pos="2.05,9.7!"] // uobject
1 [pos="1.35,9.7!"]
2 [pos="2.75,9.7!"]
3 [pos="2.75,8.5!"] // item
4 [pos="0.65,8.5!"]
5 [pos="2.05,8.5!"]
6 [pos="3.45,8.5!"]
7 [pos="4.85,8.5!"]
8 [pos="0.65,7.9!"] // equipment
9 [pos="0.3,7.9!"]
10 [pos="1,7.9!"]
11 [pos="2.05,7.9!"] //lockable
12 [pos="1.7,7.9!"]
13 [pos="2.4,7.9!"]
14 [pos="4.85,7.9!"] //multi
15 [pos="4.5,7.9!"]
16 [pos="5.2,7.9!"]
17 [pos="2.4,7.3!"] //container
18 [pos="2,7.3!"]
19 [pos="2.8,7.3!"]
}
uobject:s -- 0 -- {1,2}
1 -- char:n
2 -- item:n
char -- npc
item -- 3
3 -- {5,6}
5 -- 4
6 -- 7
4 -- equipment
5 -- lockable
6 -- map
7 -- multi
equipment -- 8 -- {9,10}
9 -- armor
10 -- weapon
lockable -- 11 -- {12,13}
12 -- door
13 -- container
multi -- 14 -- {15,16}
15 -- boat
16 -- house
container -- 17 -- {18,19}
18 -- spellbook
19 -- corpse
}