+
Skip to content

Enhance migration utility #41058

Open
Open
@vaceksimon

Description

@vaceksimon

Description

Taken from: #37283 (comment)

  • Junit 4 Assert static import is not migrated and recognized
  • Junit 4 Assert static import with a message is not recognized, and hence it's not switched to the last place as in Junit5
  • Rule AdminAssertEvent must be removed and replaced by @InjectAdminEvent. In the code, AdminEventAssertion must be used
  • Rule AssertEvent must be removed and replaced by @InjectEvent. In the code simple Junit5 Assertion must be used
  • Remove multiple extends abstract classes from the class description
  • Add @InjectRunOnServer when fetch or run appears in code. Remove related testing client class call and replace it with the runOnServer part of Add support for run on server to migration tool #37284
  • Replace Junit 4 Before, After, BeforeClass, AfterClass for Junit5 equivalents: BeforeEach, AfterEach, BeforeAll, AfterAll
  • Rule GreenMail must be removed and replaced by @InjectMailServer
  • If oauth call is recognized it must be replaced with the @InjectOauthClient from the framework and not taking it from AbstractKeycloakTest
  • Remove Arquillian @Pages annotation and replace it by @InjectPage from the framework and also add new import path
  • Remove @ArquillianResource for the Webdriver and add @InjectWebDriver

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载