1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-30 05:24:26 +01:00

Fixed lots of warnings in test cases, due to narrowing conversions.

This commit is contained in:
Matias Fontanini
2013-03-18 11:32:34 -03:00
parent a8edc2af74
commit 0f27b04a92
37 changed files with 216 additions and 305 deletions

View File

@@ -14,12 +14,9 @@ public:
};
const uint8_t DHCPv6Test::expected_packet[] = {
'\x01', '\xe8', '(', '\xb9', '\x00', '\x01', '\x00', '\n', '\x00',
'\x03', '\x00', '\x01', '\x00', '\x01', '\x02', '\x03', '\x04',
'\x05', '\x00', '\x03', '\x00', '\x0c', '\x00', '\x00', '\x00',
'\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00', '\x00',
'\x00', '\x00', '\x08', '\x00', '\x02', '\x00', '\x00', '\x00',
'\x06', '\x00', '\x02', '\x00', '\x03'
1, 232, 40, 185, 0, 1, 0, 10, 0, 3, 0, 1, 0, 1, 2, 3, 4, 5, 0, 3, 0,
12, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8, 0, 2, 0, 0, 0, 6, 0,
2, 0, 3
};
TEST_F(DHCPv6Test, DefaultConstructor) {