1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2026-05-02 07:07:32 +02:00

changelog update; fixed unit test ObjectMatcherTest

This commit is contained in:
Vadim Kurland 2011-08-01 13:00:31 -07:00
parent 84a6dcbdf7
commit 9a2a1d6e83
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,13 @@
2011-08-01 Vadim Kurland <vadim@netcitadel.com>
* unit_tests/ObjectMatcherTest/ObjectMatcherTest.cpp (matchTest):
fixed unit test (ObjectMatcher matches ipv6 only when internal
flag is set accordingly)
2011-07-28 vadim <vadim@netcitadel.com>
* version 5.0.0. release
2011-07-22 vadim <vadim@netcitadel.com>
* ObjectManipulator.h (QWidget): see #2622 "Remove Back and

View File

@ -121,7 +121,11 @@ void ObjectMatcherTest::matchTest()
CPPUNIT_ASSERT(om.dispatch(fw1_eth1, fw1));
CPPUNIT_ASSERT(om.dispatch(fw1_eth0, fw1_eth0));
CPPUNIT_ASSERT(om.dispatch(fw1_eth2_ipv6, fw1));
CPPUNIT_ASSERT( ! om.dispatch(fw1_eth2_ipv6, fw1));
om.setIPV6(true);
CPPUNIT_ASSERT( om.dispatch(fw1_eth2_ipv6, fw1));
om.setIPV6(false);
CPPUNIT_ASSERT(om.dispatch(fw1_eth2_mac, fw1));
CPPUNIT_ASSERT(om.dispatch(host1_eth0, fw1));