Skip to content

KF-27 Add tests for LinkedTreeMap#60

Merged
SergiusTheBest merged 9 commits intomainfrom
KF-27-test-linked-tree-map
Jan 14, 2026
Merged

KF-27 Add tests for LinkedTreeMap#60
SergiusTheBest merged 9 commits intomainfrom
KF-27-test-linked-tree-map

Conversation

@belyshevdenis
Copy link
Collaborator

@belyshevdenis belyshevdenis commented Aug 13, 2025

This PR have changes from this one with a fix for DoubleLinkedList: #57

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds comprehensive test coverage for the LinkedTreeMap container class, which provides a map implementation with predictable iteration order for the NT kernel environment.

  • Adds extensive unit tests covering all public methods of LinkedTreeMap
  • Tests ordering behavior including insertion order preservation and update semantics
  • Includes edge cases and move semantics validation

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
test/LinkedTreeMapTest.cpp New comprehensive test suite for LinkedTreeMap covering all public methods and ordering behaviors
test/CMakeLists.txt Adds the new test file to the build configuration
include/kf/LinkedTreeMap.h Code cleanup including constructor improvements and bug fixes in remove method
include/kf/GenericTableAvl.h Suppresses deprecation warning for ExAllocatePoolWithTag
include/kf/DoubleLinkedList.h Fixes move assignment operator to properly clear existing list

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@SergiusTheBest SergiusTheBest merged commit 02b0bf0 into main Jan 14, 2026
2 checks passed
@SergiusTheBest SergiusTheBest deleted the KF-27-test-linked-tree-map branch January 14, 2026 18:40
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.

3 participants