MCPcopy Create free account
hub / github.com/IChooseYou/Reclass / testWorkspace_emptyTree

Method testWorkspace_emptyTree

tests/test_new_features.cpp:652–659  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

650 }
651
652 void testWorkspace_emptyTree() {
653 NodeTree tree;
654 QStandardItemModel model;
655 buildWorkspaceModel(&model, tree, "Empty.rcx");
656
657 QCOMPARE(model.rowCount(), 1);
658 QCOMPARE(model.item(0)->rowCount(), 0);
659 }
660
661 void testWorkspace_structIdRole() {
662 auto tree = makeSimpleTree();

Callers

nothing calls this directly

Calls 1

buildWorkspaceModelFunction · 0.85

Tested by

no test coverage detected