Skip to content

Testing backend #2297

Dec 24, 2023 · 1 comments · 5 replies
Discussion options

You must be logged in to vote

We can only test the features that the underlying toolkit allows us to test. If GTK doesn't provide a way to evaluate if the dialog has been displayed, then there's not much we can do. As long as we can retain code coverage, exercising all possible code paths, that's sufficient. We definitely don't want to get into the game of re-implementing core GTK features - at some level, we have to be able to assume that that "gtk_show_dialog()" will, in fact, show a dialog :-)

That said - one thing that might be worth investigating is whether you can get an indirect signal from the window. The dialog is attached to the window, which suggests there might be some property on the window that has one m…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@MuhammadMuradG
Comment options

@freakboy3742
Comment options

@MuhammadMuradG
Comment options

@freakboy3742
Comment options

Answer selected by MuhammadMuradG
@MuhammadMuradG
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants