Added team-port setting according to:
Those defines are already in NM 1.10
set it to TRUE, otherwise it will fail once you fix the test
This is weird, this way only link-watchers should be compared, the rest should be identical to other unit tests.
Still weird, why don't you put link-watchers to the same map as above. You can then skip comparison if the key is "link-watchers" as you saw in ipv6settingtest for example.
Here you compare whether the maps have identical keys, which is correct, but you also have to compare the values.
Default property initialization is missing.
This is wrong, default value is FALSE, which means you would skip this property if it's set.
Why don't you skip this and just use NMVariantMapList list = map.value(QLatin1String(NM_SETTING_TEAM_PORT_LINK_WATCHERS).value<NMVariantMapList>()? same for the second one. You don't need to go through the map to get "link-watchers" property.
I lived in assumption that "link-watchers" is NMVariantMapMap and not NMVariantMapList, that's why I suggested those changes. I'm sorry for that. I'll fix it locally here, you were correct before. The rest looks good.