enso/lib/rust/ensogl/component
Ilya Bogdanov e9f3b2327e
GraphEditor Unit Tests (#3352)
[ci no changelog needed]

This PR adds a few simple unit tests for GraphEditor, that can be used as an example of native Unit Tests.

Covered:
1. Creating nodes
- By internal API
- By using a TAB shortcut
- By using (+) button
- By dropping edge
2. Connecting two nodes with an edge

Some APIs were extended to allow their testing.

Usage of `glyph::System` in `text/component/area` was disabled by conditional compilation, as this code can't be used in native code due to JS dependencies.
2022-03-30 12:49:07 +00:00
..
button Return creating node with (+) button & fix a regression (#3338) 2022-03-16 21:02:47 +03:00
drop-down-menu Linting codebase 2022-03-10 05:32:33 +01:00
drop-manager Linting codebase 2022-03-10 05:32:33 +01:00
file-browser Linting codebase 2022-03-10 05:32:33 +01:00
flame-graph Frp profiling stats (#3323) 2022-03-23 12:06:25 +01:00
gui Frp profiling stats (#3323) 2022-03-23 12:06:25 +01:00
label Linting codebase 2022-03-10 05:32:33 +01:00
list-view Linting codebase 2022-03-10 05:32:33 +01:00
scroll-area Linting codebase 2022-03-10 05:32:33 +01:00
scrollbar Linting codebase 2022-03-10 05:32:33 +01:00
selector Allowing EnsoGL mouse to interact with more than 4096 sprites (#3369) 2022-03-30 04:50:55 +02:00
shadow Linting codebase 2022-03-10 05:32:33 +01:00
src Return creating node with (+) button & fix a regression (#3338) 2022-03-16 21:02:47 +03:00
text GraphEditor Unit Tests (#3352) 2022-03-30 12:49:07 +00:00
toggle-button Allowing EnsoGL mouse to interact with more than 4096 sprites (#3369) 2022-03-30 04:50:55 +02:00
Cargo.toml Return creating node with (+) button & fix a regression (#3338) 2022-03-16 21:02:47 +03:00