From 4d12bb90c046272b27fe59888616c29cf49bc307 Mon Sep 17 00:00:00 2001 From: Salanto <62221668+Salanto@users.noreply.github.com> Date: Sun, 8 Jan 2023 20:01:35 +0100 Subject: [PATCH] Add test --- tests/unittest_aopacket/tst_unittest_aopacket.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/unittest_aopacket/tst_unittest_aopacket.cpp b/tests/unittest_aopacket/tst_unittest_aopacket.cpp index e8d7743..d42a543 100644 --- a/tests/unittest_aopacket/tst_unittest_aopacket.cpp +++ b/tests/unittest_aopacket/tst_unittest_aopacket.cpp @@ -166,6 +166,9 @@ void Packet::createPacketFromString_data() QTest::newRow("Empty packet") << "" << "Unknown" << QStringList{"Unknown"}; + QTest::newRow("Bogus Packet - PR 328") << "ZZ#%@%#@^#@&^#@$^@&$^*@&$*@^$&*@$@^$&*@^$&#^&#@$#%" + << "Unknown" + << QStringList{"Unknown"}; } void Packet::createPacketFromString()