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

Удалено дублирование тестового метода updateCommonModule, в пакет добавлено check #34

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

DoublesunRUS
Copy link
Contributor

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

@@ -110,7 +101,7 @@ public void testTypeServerCallCorrect() throws Exception

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.

None yet

2 participants