Skip to content

Release/1.0.11#59

Closed
apatel859 wants to merge 151 commits into
mainfrom
release/1.0.11
Closed

Release/1.0.11#59
apatel859 wants to merge 151 commits into
mainfrom
release/1.0.11

Conversation

@apatel859
Copy link
Copy Markdown
Contributor

No description provided.

anand-ky and others added 30 commits February 11, 2026 14:49
Implemented comprehensive L1 unit test framework for hdmicec library:

Features:
- Google Test/GMock framework integration
- 10 test suites covering CCEC and OSAL libraries
- 20+ test cases for core functionality
- Conditional build support (--enable-l1tests)
- Backward compatible with existing test applications

Test Coverage:
CCEC Library (7 test files):
- CECFrame: Constructor, copy, hex dump functionality
- Connection: Object creation, open/close operations
- LibCCEC: Singleton pattern, initialization
- MessageEncoder: CEC message encoding (ImageViewOn, TextViewOn, ActiveSource)
- MessageDecoder: CEC frame decoding
- OpCode: Constants validation, string conversion
- Operands: PhysicalAddress and LogicalAddress creation

OSAL Library (3 test files):
- Mutex: Lock/unlock, concurrency protection
- Thread: Creation, execution with Runnable
- ConditionVariable: Notify/wait patterns

Build System Changes:
- configure.ac: Added --enable-l1tests option and gtest dependency check
- Makefile.am: Added tests to DIST_SUBDIRS
- tests/Makefile.am: Conditional L1Tests subdirectory inclusion
- tests/L1Tests/Makefile.am: Test build configuration

Documentation:
- UNIT_TEST_SETUP.md: Complete setup guide with CI/CD integration examples
- tests/L1Tests/README.md: Test documentation and usage guide
- tests/L1Tests/QUICK_START.md: Quick reference for developers

Usage:
  ./configure --enable-l1tests
  make check

Test Execution:
  ./tests/L1Tests/run_L1Tests
  ./tests/L1Tests/run_L1Tests --gtest_filter="CECFrameTest.*"
Copilot AI review requested due to automatic review settings June 2, 2026 19:18
@apatel859 apatel859 requested a review from a team as a code owner June 2, 2026 19:18
@apatel859 apatel859 closed this Jun 2, 2026
@apatel859 apatel859 deleted the release/1.0.11 branch June 2, 2026 19:18
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants