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

Create a new test case for Run/Debug Configurations #1239

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

turkeylurkey
Copy link
Member

@turkeylurkey turkeylurkey commented Jan 21, 2025

In order to trigger the bug the Liberty project must not have been loaded by a previous test case. Also the Liberty dashboard must not have been opened since IntelliJ started up. The state of the project will even be persisted if you close the workspace and go back to the Welcome screen and open a different project or the same project.

So this test case copies an existing project into a new location so that the project will be treated as unique. This is similar to the GradleSingleModMPSIDProjectTest project which makes a copy. This test case also does not open the Liberty dashboard like all the other UI test cases do. Finally there is just one test in this environment. I tested that it fails for 24.0.12 but it passes with the fix for #1202.

I updated some comments in GradleSingleModMPSIDProjectTest in order to clarify where some of the names come from i.e. they must match.

Fixes #1236

…a Run/Debug config

Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Signed-off-by: Paul Gooderham <turkeyonmarblerye@gmail.com>
Copy link
Contributor

@vaisakhkannan vaisakhkannan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me , Thanks

Copy link
Contributor

@anusreelakshmi934 anusreelakshmi934 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

Create a test case that detects NPE when you create a Run/Debug Configuration
3 participants