assertj / assertj/assertj-swing

Where is the source code used in the examples, please?

Offen
#263 3 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
121
Forks
52
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

### 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](https://docs.oracle.com/javase/tutorial/uiswing/components/button.html) links to [this demo](https://docs.oracle.com/javase/tutorial/displayCode.html?code=https://docs.oracle.com/javase/tutorial/uiswing/examples/components/ButtonDemoProject/src/components/ButtonDemo.java).

### 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?

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne mit dem AssertJ Swing-Eingabehandbuch und dem einminütigen Schnellstart, und untersuche anschließend, wie der dokumentierte Ablauf mit application.start() verwendet wird. Ermittle, ob ein ausführbares Beispiel hinzugefügt werden kann, und bewerte separat die Anfrage, den Root-Frame zurückzugeben; als erledigt gilt die Aufgabe, wenn sie ein ausführbares Beispiel und eine klar dokumentierte API-Semantik enthält.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
desktop, documentation
Issue-Typ
Dokumentation
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.