-
Notifications
You must be signed in to change notification settings - Fork 36
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
Issue381 - Automated test case implementation - hover support for server.xml Liberty Server Feature #427
Issue381 - Automated test case implementation - hover support for server.xml Liberty Server Feature #427
Conversation
editor = await new EditorView().openEditor('server.xml') as TextEditor; | ||
|
||
const hverExpectdOutcome = `'wrong' is not a valid value of union type 'booleanType'.`; | ||
const testHverTarget = '<logging appsWriteJson = \"wrong\" />'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move all the hardcoded strings to a constants file.
src/test/GradleSingleModLCLSTest.ts
Outdated
await VSBrowser.instance.openResources(path.join(utils.getGradleProjectPath(), 'src', 'main', 'liberty', 'config2', 'server.xml')); | ||
|
||
editor = await new EditorView().openEditor('server.xml') as TextEditor; | ||
const stanzaSnipet = "<logging appsWriteJson = \"wrong\" />"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move the duplicate code to testutils.
…om/SuparnaSuresh/liberty-tools-vscode into issue381-ServerFeatureHoverSupport
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Please move all the hardcoded strings to a constants file.
- Please check the linux build failure.
Closing this as the test cases added in this PR now covered by PR #430 |
No description provided.