Files
Sourcetrail/testing/graph_view/data/overview_tests.cpp
T
Eberhard GrätherandGitHub d13c21f6f3 ui/test: Manual testing fixes (#949)
* Fixed tooltip list items not activated on click
* Fixed crash when clearing focused graph edges after displaying graph with no edges
* Updated and fixed manual graph view tests
* Fixed previous location refocused when activating local symbol
* Fixed crash in graph view after showing empty graph
2020-03-29 23:32:49 +02:00

48 lines
1.3 KiB
C++

#define OVERVIEW_TESTS
// TEST: activate overview
// START ----------------------------------------------------------------------
// ACTION 1: click on overview button
// RESULT 1: overview is activated
// ACTION 2: go back and use menu action "Edit -> To overview"
// RESULT 2: overview is activated
// END ------------------------------------------------------------------------
// TEST: overview bundles
// START ----------------------------------------------------------------------
// ACTION 1: activate overview
// RESULTS 1:
// - overview shows 10 bundles
// - Files, Macros, Namespaces, Classes, Structs, Unions, functions, global_variable, Typedefs, Enums
// END ------------------------------------------------------------------------
// TEST: overview bundle split
// START ----------------------------------------------------------------------
// ACTION 1: activate overview
// ACTION 2: Click on Classes bundle
// RESULTS 2:
// - all classes are displayed within a group frame
// - the nodes are alphabetically sorted by starting letter
// - the group frame does not react to clicks
// ACTION 3: Click on a class
// RESULT 3: the class is activated
// END ------------------------------------------------------------------------
union A_Union_Type {};
int global_variable;