summaryrefslogtreecommitdiff
path: root/unit/test-ippool.c
AgeCommit message (Collapse)AuthorFilesLines
2014-10-29Imported Upstream version 1.26upstream/1.26Zhang zhengguang1-1/+1
2014-07-17Imported Upstream version 1.24upstream/1.24Zhang zhengguang1-3/+3
2013-06-12unit: Multiple collisions with different poolsJukka Rissanen1-0/+97
Existing tests did not test this scenario: * new address is registered to 192.168.0.2 * new address is registered to 192.168.1.2 * ippool is created to 192.168.2.1 (no collision) * ippool is created to 192.168.3.1 (no collision) * new address is registered to 192.168.3.1 (collision detected)
2013-06-12unit: Test ippool collision differentlyJukka Rissanen1-0/+87
Existing tests did not test this scenario: * new address is registered to 192.168.1.2 * ippool is created to 192.168.0.1 (no collision) * ippool is created to 192.168.2.1 (there is a collision and the code should skip the 192.168.1.1 range)
2013-05-29test-ippool: Shortcut exhausting allocation testDaniel Wagner1-3/+9
Instead really trying to allocate all possible 69888 blocks, let's reserve the first two IP pools and then we only need to allocate 255 blocks. That should bring down the runtime considerable.
2013-03-19test-ippool: Update unit test printoutsDaniel Wagner1-8/+8
2012-02-13test-ippool: Test overlapping rangesDaniel Wagner1-1/+29
2012-02-13test-ippool: Rename basic2 to exhaust0Daniel Wagner1-2/+2
2012-02-13test-ippool: Reinit ippool for each testDaniel Wagner1-9/+19
2012-02-13test-ippool: Split basic0 testDaniel Wagner1-5/+15
Do not test two things in the same function.
2012-02-13ippool: Add prefixlen argument to __connman_ippool_new/deladdr()Daniel Wagner1-2/+2
2012-02-01tethering: Add notification callback implementationGuillaume Zajac1-1/+1
2012-02-01test-ippool: Add collision unit testDaniel Wagner1-0/+56
2012-02-01ippool: Add API to notify when IP is externally assignedDaniel Wagner1-3/+3
2012-02-01test-ippool: Add unit test for ippoolDaniel Wagner1-0/+154