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

Finished Dot11 taged option getters/unit tests. Added Dot11Disassoc tests.

This commit is contained in:
Matias Fontanini
2012-08-23 00:20:22 -03:00
parent 23076df07a
commit 9cd0e40600
6 changed files with 594 additions and 220 deletions

View File

@@ -55,7 +55,7 @@ TEST_F(Dot11Test, CopyAssignmentOperator) {
test_equals(dot1, dot2);
}
//type="Control", subtype=3, proto=1, FCfield="to-DS", ID=0x234f, addr1="00:01:02:03:04:05")
// type="Control", subtype=3, proto=1, FCfield="to-DS", ID=0x234f, addr1="00:01:02:03:04:05"
TEST_F(Dot11Test, ConstructorFromBuffer) {
Dot11 dot11(expected_packet, sizeof(expected_packet));
EXPECT_EQ(dot11.protocol(), 1);