Stuff
This commit is contained in:
parent
9ac56d0d0b
commit
750868c63f
4 changed files with 119 additions and 16 deletions
|
|
@ -728,7 +728,7 @@ TEST_CASE("ghost connections preserved when node becomes ghost") {
|
|||
model.refreshFromClient();
|
||||
|
||||
REQUIRE(model.isGhost(appQt));
|
||||
REQUIRE(model.connectionExists(
|
||||
REQUIRE(model.ghostConnectionExists(
|
||||
QtNodes::ConnectionId{appQt, 0, sinkQt, 0}));
|
||||
}
|
||||
|
||||
|
|
@ -782,7 +782,7 @@ TEST_CASE("ghost connections survive save/load round-trip") {
|
|||
REQUIRE(appQt2 != 0);
|
||||
REQUIRE(model2.isGhost(appQt2));
|
||||
|
||||
auto conns = model2.allConnectionIds(appQt2);
|
||||
auto conns = model2.allGhostConnectionIds(appQt2);
|
||||
REQUIRE(conns.size() == 1);
|
||||
auto conn = *conns.begin();
|
||||
REQUIRE(conn.outNodeId == appQt2);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue