Skip to content

Sprint 8 solution time and duration#5

Merged
dendzim merged 8 commits intomainfrom
sprint_8-solution-time-and-duration
Sep 19, 2025
Merged

Sprint 8 solution time and duration#5
dendzim merged 8 commits intomainfrom
sprint_8-solution-time-and-duration

Conversation

@dendzim
Copy link
Owner

@dendzim dendzim commented Sep 16, 2025

Добавлена возможность создавать Задачи и Подзадачи с Датой и Временем.
Предусмотрена невозможность коллизии по дате при создании и добавлении задач.
Некоторые методы переписаны с учетом ФП и новой функциональности.
Добавлены новые тесты и переписаны некоторые старые под новую функциональность.

public ArrayList<Subtask> getEpicSubtask(Integer epicId) { //Выводит список подзадач эпика
ArrayList<Subtask> currentEpic = new ArrayList<>();
public List<Subtask> getEpicSubtask(Integer epicId) { //Выводит список подзадач эпика
/*List<Subtask> currentEpic = new ArrayList<>();

Choose a reason for hiding this comment

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

Закомментированный код убираем из работы на проверку

@@ -59,7 +68,7 @@ public void deleteAllSubtask() {
}

Choose a reason for hiding this comment

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

Также удалить из prioritizedTasks. Аналогично для deleteTaskList

}

@Test
void createTask() {
Copy link

@VadimZharkov VadimZharkov Sep 17, 2025

Choose a reason for hiding this comment

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

В юнит тестах есть несколько соглашений по именованию методов. Предлагаю воспользоваться одним из них
https://gist.github.com/badarahmed/ef020400467d9bb61e31

Copy link

@VadimZharkov VadimZharkov left a comment

Choose a reason for hiding this comment

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

В целом подход к реализации верный. Нужно исправить замечания, также оставил одну рекомендацию.

@dendzim dendzim merged commit 3229582 into main Sep 19, 2025
1 check passed
@dendzim dendzim deleted the sprint_8-solution-time-and-duration branch September 19, 2025 08:26
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

Comments