StarAlliance (experience from a total of three rtw trips in 12 months):
LH miles&more program: all (including the "newbies" AN and NZ) but UA-flights are credited not longer than a week after the flight. UA flights very irregular.
UA mileage-plus-program: all but UA-code-share flights (with LH as carrier, but on a UA-flight number) post now fast (2-3 days). Those UA-code-share-flights post never or false (as LH-flight numbers missing then falsly the UA status-bonus).