Skip to content

Conversation

@DoublesunRUS
Copy link
Contributor

  • Для того чтобы убрать дублирование метода updateCommonModule, он вынесен в отдельный тестовый абстрактный класс. Все тестовые классы, которые используют этот метод, сделаны его наследниками.
  • В названии пакета тестового класса было пропущено слово check.

String fqn = "CommonModule.CommonServerCall";

updateCommonModule(dtProject, fqn, CommonModuleType.TYPE_SERVER_CALL);
updateCommonModule(dtProject, fqn, CommonModuleType.TYPE_SERVER_CALL, null, null);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Вызов выглядит очень непонятно! Почему тут можно null и почему нужно столько null указывать?

@marmyshev marmyshev marked this pull request as draft July 14, 2022 07:30
@marmyshev marmyshev marked this pull request as draft July 14, 2022 07:30
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