Pyro Quarkus Backend
Test-Cases
Use the described test-cases to extend an ongoing test example.
1) Empty Graphmodel
2) Node Hierarchy
- Node Types inheriting from node types A->B, B->C, D->B
- Embed Attributes into A, B, C and D
- Container Types inheriting from node types
- Container Types inheriting from container types
- Embed abstract nodes and containers in the hierarchy
3) Edge Hierarchy
- Edge Types inheriting from edge types A->B, B->C, D->B
- Embed Attributes into A, B, C and D
- Embed abstract edges in the hierarchy
4) UserType Hierarchy
- UserDefined Types inheriting from user defined types A->B, B->C, D->B
- Embed Attributes into A, B, C and D
5) Primitive Attributes
- Add String, Int, Double, File, Boolean, Color and Date to an Graphmodel Type (list and single)
- Add String, Int, Double, File, Boolean, Color and Date to an Edge Type (list and single)
- Add String, Int, Double, File, Boolean, Color and Date to an Node Type (list and single)
- Add String, Int, Double, File, Boolean, Color and Date to an Container Type (list and single)
- Add String, Int, Double, File, Boolean, Color and Date to an UserDefined Type (list and single)
6) Complex Attributes
- Add node refs, user-defined-type attribute to an Graphmodel (list and single)
- Add node refs, user-defined-type attribute to an Edge (list and single)
- Add node refs, user-defined-type attribute to an Node (list and single)
- Add node refs, user-defined-type attribute to an Container (list and single)
- Add node refs, user-defined-type attribute to an UserDefined Type (list and single)
7) Prime Ref
-
Add Node with Primeref to node
-
Add Node with Primeref to edge
-
Add Node with Primeref to container
-
Add Node with Primeref to graphmodel
-
Add Container with Primeref to node
-
Add Container with Primeref to edge
-
Add Container with Primeref to container
-
Add Container with Primeref to graphmodel
8) Hooks
- Add PostCreate, PostDelete, PreDelete to graphmodel
- Add PostCreate, PostDelete, PreDelete, PostMove, PostSelect, PostResize to node
- Add PostCreate, PostDelete, PreDelete, PostMove, PostSelect, PostResize to container
- Add PostCreate, PostSelect to edge
9) Actions
- Add ContextMenuAction, DoubleClickAction to graphmodel
- Add ContextMenuAction, DoubleClickAction to node
- Add ContextMenuAction, DoubleClickAction to edge
- Add ContextMenuAction, DoubleClickAction to container
10) Pyro Specific Annotations
- CPD
@pyroIncludeSources("path.to.project/src")
- Node, Edge, Container
@styleDefaults("value1",..)
- GraphModel
@mcam(“check”)
@pyroAdditionalJar("Path/to/Jar")
- Prime Node, Prime Container
@jumpToPrime()
Edited by Philip Zweihoff