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

Association demo #28

Merged
merged 13 commits into from
Mar 15, 2024
Merged

Association demo #28

merged 13 commits into from
Mar 15, 2024

Conversation

BaqWin
Copy link
Collaborator

@BaqWin BaqWin commented Mar 13, 2024

Implemented the initial framework for the Person, Doctor, and Visit classes.
Added association between the Doctor and Visit classes.
Integrated an extent feature into the Visit class.
Made simple and introductory tests for associations and extent.
#16
#17
#18

BaqWin and others added 10 commits March 11, 2024 23:35
* resolve #11: phisically remove bin directory

* resolve #11: add bin to .gitignore

* resolve #11: update Dockefile

Updated dockerfile to copy UT target as well.
Needed in order to pass CI after phisical UT binary removal

* resolve #11: update CI

As desktop-business-app-ut target is removed,
removed one step - direct call of unit tests run.
Rationale: unit tests are run already during docker-build step.
Therefore CI .yaml file name was updated
@ziobron ziobron added the Standard The user has Standard course option label Mar 13, 2024
src/app/doctor/doctor.cpp Outdated Show resolved Hide resolved
src/app/doctor/doctor.cpp Outdated Show resolved Hide resolved
src/app/doctor/doctor.hpp Outdated Show resolved Hide resolved
src/app/doctor/doctor.hpp Outdated Show resolved Hide resolved
src/app/doctor/doctor.hpp Outdated Show resolved Hide resolved
src/app/visit/visit.hpp Outdated Show resolved Hide resolved
src/tests/CMakeLists.txt Show resolved Hide resolved
src/tests/CMakeLists.txt Outdated Show resolved Hide resolved
src/tests/unit-tests.cpp Show resolved Hide resolved
src/tests/unit-tests.cpp Show resolved Hide resolved
@ziobron
Copy link
Contributor

ziobron commented Mar 13, 2024

Thanks @fbtom for Code Review.
🏅 1 XP granted

@ziobron
Copy link
Contributor

ziobron commented Mar 13, 2024

Thanks @Aleksiiej for Code Review.
🏅 1 XP granted

src/app/person/person.hpp Outdated Show resolved Hide resolved
@ziobron
Copy link
Contributor

ziobron commented Mar 13, 2024

Thanks @fbtom for Code Review.
🏅 1 XP granted

@ziobron
Copy link
Contributor

ziobron commented Mar 13, 2024

Thanks @Aleksiiej for Code Review.
🏅 1 XP granted

Copy link
Contributor

@mBialczak mBialczak left a comment

Choose a reason for hiding this comment

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

I think, you have done plenty of work. Congrats!
Still some things require polishing.
Some design questions arose during review, which perhaps could be discussed in wider meeting with the team.

src/app/doctor/doctor.cpp Outdated Show resolved Hide resolved
src/app/doctor/doctor.cpp Outdated Show resolved Hide resolved
src/app/doctor/doctor.hpp Outdated Show resolved Hide resolved
src/app/person/person.cpp Outdated Show resolved Hide resolved
src/app/doctor/doctor.hpp Show resolved Hide resolved
src/tests/CMakeLists.txt Outdated Show resolved Hide resolved
src/tests/CMakeLists.txt Show resolved Hide resolved
src/tests/unit-tests.cpp Show resolved Hide resolved
src/tests/unit-tests.cpp Show resolved Hide resolved
src/tests/unit-tests.cpp Show resolved Hide resolved
@ziobron
Copy link
Contributor

ziobron commented Mar 13, 2024

Thanks @mBialczak for Code Review.
🏅 1 XP granted

Copy link
Contributor

@fbtom fbtom left a comment

Choose a reason for hiding this comment

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

Lgfm.
In next changes please separate CMakeLists.txt as @mBialczak mentioned
Each directory should have it's own
/src/app/doctor/CMakeLists.txt
then tests for each class
/src/app/doctor/test/CMakeLists.txt

@ziobron
Copy link
Contributor

ziobron commented Mar 14, 2024

Thanks @fbtom for Code Review.
🏅 1 XP granted

@ziobron
Copy link
Contributor

ziobron commented Mar 14, 2024

Thanks @mBialczak for Code Review.
🏅 1 XP granted

@fbtom fbtom dismissed mBialczak’s stale review March 15, 2024 07:33

Let's merge this code and provide apropiate changes with next PRs

@fbtom fbtom merged commit 8c64893 into main Mar 15, 2024
2 checks passed
@fbtom fbtom deleted the association-demo branch March 15, 2024 07:34
@ziobron
Copy link
Contributor

ziobron commented Mar 15, 2024

Your PR was merged!
🏅 2 XP granted. Thanks @BaqWin for making course materials better!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Standard The user has Standard course option
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants