mirror of
https://github.com/mutouyun/cpp-ipc.git
synced 2026-02-06 01:39:47 +08:00
Add comprehensive test cases demonstrating the correct way to format hexadecimal values using ipc::fmt and ipc::spec, addressing the MinGW compilation failure reported in issue #171. The tests cover: - Basic hex formatting (lowercase/uppercase) - Hex formatting with 0x prefix - Mixed decimal and hex output patterns (like the problematic log calls) - Various integer types with hex formatting - Width and padding options Note: ipc::spec format strings should NOT include length modifiers (like "ll"). The to_string function automatically adds the correct length modifier based on the argument type. Refs: #171 |
||
|---|---|---|
| .. | ||
| test_imp_byte.cpp | ||
| test_imp_codecvt.cpp | ||
| test_imp_detect_plat.cpp | ||
| test_imp_error.cpp | ||
| test_imp_expected.cpp | ||
| test_imp_fmt.cpp | ||
| test_imp_generic.cpp | ||
| test_imp_log.cpp | ||
| test_imp_result.cpp | ||
| test_imp_span.cpp | ||
| test_imp_system.cpp | ||
| test_imp_uninitialized.cpp | ||