Skip to content

test: verify WebListener is initialized after migration - #1070

Open
SwatiKumari250 wants to merge 1 commit into
spring-projects-experimental:mainfrom
SwatiKumari250:issue-50-web-listener
Open

SwatiKumari250 wants to merge 1 commit into
spring-projects-experimental:mainfrom
SwatiKumari250:issue-50-web-listener

Conversation

@SwatiKumari250

Copy link
Copy Markdown

Fixes #50

This adds coverage for JEE applications containing a @weblistener.

The integration test:

  • adds a ServletContextListener annotated with @weblistener
  • applies the migrate-annotated-servlets recipe
  • verifies the migrated application contains the listener
  • verifies the listener is initialized at runtime through a servlet response

The change is test-only.

This branch has not been deployed

No deployments
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.

Add support for classes annotated with @WebListener

1 participant