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

Move test class for ctor and assignment operators to hoofs testing #2041

Closed
2 tasks done
elBoberido opened this issue Oct 15, 2023 · 1 comment · Fixed by #2042 or #2058
Closed
2 tasks done

Move test class for ctor and assignment operators to hoofs testing #2041

elBoberido opened this issue Oct 15, 2023 · 1 comment · Fixed by #2042 or #2058
Assignees
Labels
technical debt unclean code and design flaws test A module/integration/stress/etc test for a component

Comments

@elBoberido
Copy link
Member

elBoberido commented Oct 15, 2023

Brief feature description

The test class from the iox::vector was duplicated for the iox::list and iox::forward_list. In order to remove the code duplication and make it available for other tests the class should be refactored out into a separate file in hoofs testing.

Tasks

  • Make test class to separate file
  • Find a better name
@elBoberido elBoberido added test A module/integration/stress/etc test for a component technical debt unclean code and design flaws labels Oct 15, 2023
@elBoberido elBoberido self-assigned this Oct 15, 2023
elBoberido added a commit that referenced this issue Oct 15, 2023
elBoberido added a commit that referenced this issue Oct 15, 2023
elBoberido added a commit that referenced this issue Oct 15, 2023
elBoberido added a commit that referenced this issue Oct 15, 2023
elBoberido added a commit that referenced this issue Oct 24, 2023
elBoberido added a commit that referenced this issue Oct 24, 2023
@elBoberido
Copy link
Member Author

@mossmaurice let's continue #2042 (comment) here

Your suggestions for a name are

  • LifetimeVerificator
  • LifetimeTracker
  • CTorAndAssignmentCounterClass
  • StatisticalObjectMonitor
  • ObjectLifetimeInspector
  • LifetimeRecorder

My counter proposal is

  • LifetimeAndAssignmentTracker

elBoberido added a commit that referenced this issue Oct 24, 2023
…s-for-ctor-and-assignment-operator-to-hoofs-testing

iox-#2041 Move test class for ctor and assignment operator to hoofs testing
elBoberido added a commit that referenced this issue Oct 24, 2023
elBoberido added a commit that referenced this issue Oct 25, 2023
elBoberido added a commit that referenced this issue Oct 25, 2023
elBoberido added a commit that referenced this issue Oct 30, 2023
iox-#2041 Rename 'CTorAndAssignmentOperatorTestClass' to 'LifetimeAndAssignmentTracker'
elBoberido added a commit that referenced this issue Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
technical debt unclean code and design flaws test A module/integration/stress/etc test for a component
Projects
None yet
1 participant