-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Where is the source code used in the examples, please? #263
Comments
Maybe my assumptions are way off. i'm slowly realizing all classes that are testable in the demos create their own jframes in the default constructor? is that right? How Do I test a class that creates a single jpanel? |
@i-make-robots have you tried looking at the Swing examples at https://github.com/assertj/assertj-examples? |
No. I didn't mention them in "what I found/tried" in OP. The link to those source files was not obvious to me. |
What I found/tried:
I am new to AssertJ. I'm reading https://joel-costigliola.github.io/assertj/assertj-swing-input.html
There's a few lines of code pointing me in a good direction. They assume I already know how to import everything needed. The one minute quick-start doesn't have a runable demo.
I looked in various sub-folders for examples with no luck.
What I expect:
A working example I can run locally to see these things in action for myself? Same way a "how to use [swing feature x]" would have run-able source code. Example, JButton links to this demo.
separately:
the quick-start code assumes I know the title of my frame. As my app is multilingual I can't be sure what translation is running or the name of the frame around the panel I want to test. Can application.start() return the root frame?
The text was updated successfully, but these errors were encountered: