enso/app/gui/view/graph-editor/src
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
..
builtin Linting codebase 2022-03-10 05:32:33 +01:00
component GraphEditor Unit Tests (#3352) 2022-03-30 12:49:07 +00:00
selection Linting codebase 2022-03-10 05:32:33 +01:00
builtin.rs Linting codebase 2022-03-10 05:32:33 +01:00
component.rs Return creating node with (+) button & fix a regression (#3338) 2022-03-16 21:02:47 +03:00
data.rs Linting codebase 2022-03-10 05:32:33 +01:00
free_place_finder.rs Return creating node with (+) button & fix a regression (#3338) 2022-03-16 21:02:47 +03:00
lib.rs GraphEditor Unit Tests (#3352) 2022-03-30 12:49:07 +00:00
profiling.rs Refactor gui/src/rust/ide to two app/gui and app/ide-desktop (#3157) 2021-11-16 10:04:56 +01:00
selection.rs Frp profiling stats (#3323) 2022-03-23 12:06:25 +01:00
view.rs Refactor gui/src/rust/ide to two app/gui and app/ide-desktop (#3157) 2021-11-16 10:04:56 +01:00