Skip to content
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

Add Perfumes for Testing and the Java Swing library #2

Merged
merged 15 commits into from
Oct 10, 2024
Merged

Conversation

chrisknedl
Copy link
Collaborator

This PR adds 6 new Perfumes:

Testing

Assert all

Detects usages of the JUnit 5 Assertions.assertAll method.

Parameterized test

Detects @ParameterizedTest annotations from JUnit 5.

Setup and teardown method

Detects either of the @BeforeEach, @BeforeAll, @AfterEach and @AfterAll annotations from JUnit 5.

Java Swing

JFrame dispose

Detects usages of the javax.swing.JFrame.dispose method.

Swing timer

Detects creations of the javax.swing.Timer object.

Thread safe swing

Detects usages of the javax.swing.SwingUtilities.invokeLater and javax.swing.SwingUtilities.invokeAndWait methods.

pom.xml Outdated Show resolved Hide resolved
@chrisknedl chrisknedl merged commit 62461b2 into main Oct 10, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants